I require CSS to display images on webpage for adverts. Each advert can have up to 5 images and there is a field called image_count telling you what the number of images stored for that ad. Images are already stored in the database and thumbnails are also stored.
I require code to read this number of images and display the main image and thumbs for the other images according to the number of images associated with that advert. So if there are no adverts nothing will be displayed, if there is 1 image 1 will be displayed. If there are 2, main image and thumbnail of 2nd image displayed etc...
The code should allow for main image to be switched with thumbnail when thumbnail is clicked so thumbnail becomes main image.
I also require implentation of jquery zoom code when main image has mouseover. I have the code for zoom which can be found at [url removed, login to view]
Must be completed today.