• 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)
  • You have to use jQuery. Set a click event on the slideshow elements and then then set the element’s href value as the main product image’s src value.

    By the way, I’d recommend that you send a support request from https://www.foxy-shop.com/contact/ for faster, better results. I try to keep up on the forum here, but for some reason I can’t get regular alerts so sometimes a few weeks can go by before I notice a post.

Viewing 1 replies (of 1 total)
  • The topic ‘Image slideshow’ is closed to new replies.