Witam serdecznie. Jak mogę to poprawić? Proszę spojrzeć na tą stronę? http://szklo-lux.pl/sklep/realizacje.php
Dodałem galerie z tego forum. Zdjęcia z galeri waża ok 12 MB, niektórym może się ładować całą wieczność.
Szukałem i nie znalazłem jakiegoś gotowego skryptu aby z jednego folderu czerpać zdjęcia a z drugiego miniatury.

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" lang="pl">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="author" content="www.E-Projekty.com.pl Katarzyna Grondziewska" />
  6. <meta name="google-site-verification" content="roGf58jcOgkvmbASZfHDiD43JXyXYLGFZUTo4HJSz1Y" />
  7. <meta name="description" content="Lustra, Producent luster oferuje wyroby: stoły, blaty i półki szklane, oprawa obrazów, fazowanie i kinkiety do luster, lustraLustra, Producent luster oferuje wyroby: stoły, blaty i półki szklane, oprawa obrazów, fazowanie i kinkiety do luster, lustra" />
  8. <meta name="keywords" content="producent luster,zakład szklarski,szklarze, oprawa obrazów,półki szklane,fazowanie szkła i luster,ramy do obrazów,stoły szklane,blaty szklane,piaskowanie szkła,kinkiety do luster " />
  9. <title>Producent Luster SZKŁO-LUX Zakład Szklarski</title>
  10. <link rel="stylesheet" href="http://szklolux-lubin.pl/style_realizacje.css" type="text/css" media="screen" />
  11. <!--[if lt IE 8]><link rel="stylesheet" href="http://szklolux-lubin.pl/style-ie.css" type="text/css" media="screen" /><![endif]-->
  12. <!--[if gte IE 8]><link rel="stylesheet" href="http://szklolux-lubin.pl/style-ie8.css" type="text/css" media="screen" /><![endif]-->
  13. <script type="text/javascript" src="javascript/highslide-with-gallery.js"></script>
  14. <link rel="stylesheet" href="style_realizacje_galeria.css" type="text/css" media="screen" />
  15.  
  16.  
  17. <script type="text/javascript">
  18. hs.graphicsDir = 'javascript/images/';
  19. hs.align = 'center';
  20. hs.transitions = ['expand', 'crossfade'];
  21. hs.outlineType = 'rounded-white';
  22. hs.fadeInOut = true;
  23. //hs.dimmingOpacity = 0.75;
  24.  
  25. // Add the controlbar
  26. if (hs.addSlideshow) hs.addSlideshow({
  27. //slideshowGroup: 'group1',
  28. interval: 5000,
  29. repeat: false,
  30. useControls: true,
  31. fixedControls: 'fit',
  32. overlayOptions: {
  33. opacity: .75,
  34. position: 'bottom center',
  35. hideOnMouseOut: true
  36. }
  37. });
  38. </script>
  39.  
  40.  
  41.  
  42.  
  43. </head>
  44. <body>
  45. <div id="content">
  46. <div id="top-logo"></div>
  47.  
  48. <div id="top-flagi">
  49. <p>
  50. <img src="http://szklolux-lubin.pl/img/uk.gif" alt="English" />
  51. <img src="http://szklolux-lubin.pl/img/niemcy.gif" alt="Deutsch" />
  52. <img src="http://szklolux-lubin.pl/img/rosja.gif" alt="Russian" />
  53. </p>
  54. </div>
  55. <div class="clear"></div>
  56. <div id="menu" style="background-image: url('http://szklolux-lubin.pl/img/menu_n.jpg'); background-repeat: no-repeat;">
  57. <ul id="menu-lista">
  58. <li id="home"><a href="http://szklolux-lubin.pl/index.html" onMouseOver='rollover1.src="img/home.png"' onMouseOut='rollover1.src="img/home2.png"'><img src="img/home2.png" name="rollover1" alt="Strona główna"/></a></li>
  59. <li class="rest"><a href="http://szklolux-lubin.pl/o_firmie.html">O firmie</a></li>
  60. <li class="rest"><a href="http://szklolux-lubin.pl/oferta.html">Oferta</a></li>
  61. <li class="rest" style="width: 131px;"><a href="http://szklo-lux.pl/">Grafika na szkle</a></li>
  62. <li class="rest"><a href="http://szklo-lux.pl/sklep/realizacje.php">Realizacje</a></li>
  63. <li class="rest"><a href="http://szklo-lux.pl/sklep/" target="_blank">Sklep</a></li>
  64. <li class="rest"><a href="http://allegro.pl/listing.php/user?us_id=6234955" target="_blank">Allegro</a></li>
  65. <li class="rest"><a href="http://szklolux-lubin.pl/kontakt.html">Kontakt</a></li>
  66. </ul>
  67. </div>
  68. <div class="clear"></div>
  69. <div id="animacja">
  70. <div style="position: relative, width: 610px; height: 471px; background:url(images/loading.gif) no-repeat 50% 50%;">
  71.  
  72.  
  73. <div id="galeria">
  74. <ul>
  75. <?php
  76.  
  77. $rozszerzenia = Array("jpg", "png", "gif", "JPG");
  78. $i = 0;
  79. $z = opendir('images');
  80. while ( $file = readdir( $z ) )
  81. {
  82.  
  83. $parts = pathinfo( 'images/' . $file );
  84. if (in_array( $parts['extension'], $rozszerzenia ) )
  85. {
  86.  
  87. echo '<A target="_blank" href="images/'.$file.'"><img width="100" height="100" src="images/' . $file . '" /></a>';
  88. $i++;
  89. if ($i % 5 == 10) echo '<br />';
  90. }
  91.  
  92. }
  93.  
  94. ?>
  95. </div>
  96.  
  97.  
  98.  
  99. </div>
  100. </div>
  101. <div id="top-menu">
  102. <ul id="top-menu-lista">
  103. <li><a href="http://szklolux-lubin.pl/oferta.html#oferta-lustra">Lustra</a></li>
  104. <li><a href="http://szklolux-lubin.pl/szklo.html#oferta-szklo">Szkło</a></li>
  105. <li><a href="http://szklolux-lubin.pl/oprawa.html#oferta-oprawa">Oprawa obrazów</a></li>
  106. <li><a href="http://szklolux-lubin.pl/akcesoria.html#oferta-akcesoria">Akcesoria</a></li>
  107. <li><a href="http://szklolux-lubin.pl/uslugi.html#oferta-uslugi">Usługi</a></li>
  108. <li><a href="http://szklolux-lubin.pl/ekspozycje.html">Ekspozycje</a></li>
  109. </ul>
  110. </div>
  111. <div class="clear"></div>
  112. <div id="left">
  113. <div id="wysoka-jakosc">
  114. <p class="first">Firma SZKŁO LUX jest zakładem szklarskim z wieloletnią tradycją sięgającą 1962 roku. Specjalizujemy się w obróbce szkła płaskiego, oprawie obrazów<br />i produkcji luster łazienkowych, pokojowych, w oprawie i innych. Wszystkie proponowane przez nas wzory wykonywane są w wymiarach standardowych bądź na indywidualne życzenie klienta.</p>
  115. <p><a href="http://szklolux-lubin.pl/o_firmie.html">Więcej o firmie Szkło-Lux</a></p>
  116. </div>
  117. <div id="gdzie">
  118. <p class="first">Nasze produkty sprzedajemy za pośrednictwem aukcji Allegro.<br /><a href="http://allegro.pl/listing.php/user?us_id=6234955">Zobacz nasze aukcje.</a></p>
  119. <p>Realizujemy również indywidualne zamówienia. Skontaktuj się z nami,<br />a ustalimy szczegóły współpracy.</p>
  120. </div>
  121. </div>
  122. <div id="right-oferta">
  123. <a href="http://szklolux-lubin.pl/oferta.html#oferta-lustra"><img src="img/glowna-lustra.jpg" alt="Lustra" /></a>
  124. <a href="http://szklolux-lubin.pl/szklo.html#oferta-szklo"><img src="img/glowna-szklo.jpg" alt="Lustra" /></a>
  125. <a href="http://szklolux-lubin.pl/oprawa.html#oferta-oprawa"><img src="img/glowna-oprawa.jpg" alt="Lustra" /></a>
  126. <a href="http://szklolux-lubin.pl/akcesoria.html#oferta-akcesoria"><img src="img/glowna-akcesoria.jpg" alt="Lustra" /></a>
  127. <p><a href="http://szklolux-lubin.pl/oferta.html">Zobacz pełną ofertę</a></p>
  128. </div>
  129. <div class="clear"></div>
  130. </div>
  131. <!--[if IE]>
  132. <div id="stopka-ie"><![endif]--> <!--[if !IE]>-->
  133. <div id="stopka"><!--<![endif]-->
  134. <div id="tresc-stopki">
  135. <ul id="stopka-menu">
  136. <li><a href="o_firmie.html">O firmie</a></li>
  137. <li class="border"><a href="http://szklolux-lubin.pl/oferta.html">Oferta</a></li>
  138. <li class="border"><a href="http://szklolux-lubin.pl/ekspozycje.html">Ekspozycje</a></li>
  139. <li class="border"><a href="http://sklepszklolux.bestfirm.pl" target="_blank">Sklep</a></li>
  140. <li class="border"><a href="http://allegro.pl/listing.php/user?us_id=6234955" target="_blank">Allegro</a></li>
  141. <li class="border"><a href="http://szklolux-lubin.pl/kontakt.html">Kontakt</a></li>
  142. </ul>
  143. <p class="producent">Producent Luster Szkło-Lux Zakład Szklarski - A.B. Stysińscy</p>
  144. <p class="autor">Projekt i wykonanie: www.E-Projekty.com.pl Katarzyna Grondziewska</p>
  145. </div>
  146. </div>
  147. </body>
  148. </html>



Z góry DZIĘKUJE