Image slideshow
-
Hi,
Sorry I’ve had quite a few questions lately as I work on my new theme.
I’m using the following code to load my main product image, and the thumbnails.
Thumbnails
foxyshop_image_slideshow("thumbnail", false);
Main image
$mediumSRC = foxyshop_get_main_image("medium"); $mediumSRCtitle = foxyshop_get_main_image("title"); $fullSRC = foxyshop_get_main_image("full"); $imagecount = count($product['images']); if ($mediumSRC != $fullSRC || $imagecount > 1) echo '<a href="' . $fullSRC . '" rel="foxyshop_gallery' . ($imagecount > 1 ? '[fs_gall]' : '') . '">'; echo '<img src="' . $mediumSRC . '" alt="' . htmlspecialchars($mediumSRCtitle) . '" title="" /></a>'; if ($mediumSRC != $fullSRC) echo '</a>';
I’ve set it up so that the thumbnails appear vertically in a list to the left of the main image. Which is how I want it.
Keeping this layout, how do I then actually make the slideshow work?
Well it’s not a slideshow but you know what I mean i.e. click on a thumbnail and make it display in the main image area.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Image slideshow’ is closed to new replies.