hi,
I’m having a problem getting the thumbnail images to show for a particular category.. I’ve had a good search around but i’m still missing something!
EE v 1.6.2
The problem is probably best illustrated by this link: (click ‘Portraits > One’ then click any thumbnail)
http://www.voodoo6.com/jo_metson_scott/index.php/
I have a list of gallery categories on the home page.
When a user clicks on a category name they are taken to a page showing the thumbnails for that particular category. (see the link above - please note only ‘portraits > one’ currently has entries, ‘portraits > two’ has a dummy entry to help debugging)
When a user then clicks on one of the thumbnail images they are taken to another template to show the large version of the image they selected.
My problem is that when a user has selected an image to view, the thumbnail area then only shows one image and not all the images from the category as the previous page.
I think the problem is linked to the fact that when a user selects a thumbnail image to view, the URL is passed using {id_path=image_display} - which doesn’t give the following page (‘image_display’) a category reference in the URL? Is it possible somehow to set {category_path} and {id_path} so the URL has all the info it needs?
I can get all the category images to show using dynamic=“off” and category=“3” but this is no longer dynamic and requires the category number to be hard coded which doesn’t meet the clients requirements.
here is my code i am using for my displaying the thumbnails:
<!-- Thumbnails -->
{exp:gallery:entries gallery="jo_metson_scott" orderby="entry_id" columns="3" rows="3"}
<div id="thumb_block">
{entries}
{row}
<a href="http://{id_path=image_display}">{thumb_url}</a>
{/row}
{/entries}
</div>
{/exp:gallery:entries}i have a feeling i just overlooking something obvious, been staring at the same problem for hours now!
many thanks
matt