Ben inşa basit bir php site var, ama nedense benim fotoğraf galerisi sayfanın yüklenmesi biraz uzun sürüyor. Birisi ne sorun olduğunu ve nasıl yükleme süresini hızlandırmak için söyleyebilir misiniz?
İşte php kodudur. Bu arada ben başka bir klasöre görüntülere sadece referans ile, bu bir dosya (photography.php) içinde her şeyi kodlu ...
<?php
$thisPage="Photographer, Caribbean, Jamaica, Bahamas - Cheryl Blackerby";
$thisDescription="";
$thisKeywords="Caribbean, Jamaica, Bahamas";
include("header.php");
//include("html/photography.html");
?>
<div id="photography">
<div id='coin-slider'>
<div id="photos">
<a href="#" target="_blank">
<img src='photography/img_01.jpg' alt="Staniel Cay Yacht Club in the Exumas, Bahamas" />
<span>Staniel Cay Yacht Club in the Exumas, Bahamas</span>
</a>
<a href="#" target="_blank">
<img src='photography/img_02.jpg' alt="Junkanoo dancer in Inagua, Bahamas" />
<span>Junkanoo dancer in Inagua, Bahamas</span>
</a>
<a href="#" target="_blank">
<img src='photography/img_03.jpg' alt="Doctor's Cave Beach in Montego Bay, Jamaica" />
<span>Doctor's Cave Beach in Montego Bay, Jamaica</span>
</a>
<a href="#" target="_blank">
<img src='photography/img_04.jpg' alt="Paella at the Beach House, Eleuthera, Bahamas" />
<span>Paella at the Beach House, Eleuthera, Bahamas</span>
</a>
<a href="#" target="_blank">
<img src='photography/img_05.jpg' alt="Opening of the Supreme Court, Nassau, Bahamas" />
<span>Opening of the Supreme Court, Nassau, Bahamas</span>
</a>
<a href="#">
<img src='photography/img_06.jpg' alt="Flamingos on Inagua, Bahamas" />
<span>Flamingos on Inagua, Bahamas</span>
</a>
</div><!-- end photos -->
</div>
<p id="right-description"><img src="images/side-descrip-photos.jpg" width="20" height="90" alt="Photo Description" /></p>
<script type="text/javascript">
$(document).ready(function() {
$('#coin-slider').coinslider({ width: 840, height: 520, navigation: true, delay: 5000, links : false, hoverPause: true, opacity: 0.7, effect: 'practice', sph: 1, spw: 1 });
});
</script>
</div><!-- end photography -->
<?php
include("footer.php");
?>
İşte siteye link: here
Ben sorunu ve yardımcı olacak herhangi bir kodlama teknikleri konusunda herhangi bir tavsiye seviniriz.
Teşekkürler,
Gary D.