|
Hey PN-Matt,
The designer has created individual images that are pulled in when the site loads. There isn't a database of pictures. The gallery page with the additional images works in the same way. If you wanted to load more images into the slider you would need to place the new photos in the images folder or access the gallery folder (images/galeri) and add/change some code:
Your Code:
<div><img src="http://www.webmaster-talk.com/images/Obraz1.jpg" alt="" width="410" height="264" /> </div>
<div><img src="http://www.webmaster-talk.com/images/Obraz2.jpg" alt="" /> </div>
<div><img src="http://www.webmaster-talk.com/images/Obraz3.jpg" alt="" /> </div>
<div><img src="http://www.webmaster-talk.com/images/Obraz4.jpg" alt="" /> </div>
<div><img src="http://www.webmaster-talk.com/images/Obraz5.jpg" alt="" /> </div>
<div><img src="http://www.webmaster-talk.com/images/Obraz6.jpg" alt="" /> </div>
you would add in extra code after the closing div:
...<div><img src="http://www.webmaster-talk.com/images/Obraz6.jpg" alt="" /> </div>
<div><img src="http://www.webmaster-talk.com/images/nextimage.jpg" alt="" /> </div>
The sliding image viewer has a viewport of W:410px H:264px but the current images are W:500px H:333px so ideally you would resize, using photoshop, the images to the viewport.
I imagine the designer has chosen to put just six images on the home page so not to slow it down. You have to consider what is more important to the end user a few more photos or a quick load time. Personally I think the site looks fine and I wouldn't advise adding more to the slider.
P.s If you add more photos to the slider you would naturally have to add more photos to the right hand side section as it wouldn't be consistent otherwise. Also it is good practice to add descriptive text for the images so that screen readers know a bit more about your site. To do this just fill in the alt, e.g alt="Villa oak wooden floor"
I hope that makes sense.
Last edited by Mug; 11-22-2010 at 11:45 AM..
|