Hi there,
I’ve used EE to create a Gallery page - this gallery has been created using a weblog with custom fields as opposed to using the Gallery module. I’ve used phpThumb to generate thumbnails and this works fine.
I have a Gallery Template Group, and the index page simply displays all the images in my gallery as thumbnails. Each thumbnail has a hyperlink to it’s single weblog entry, and this is where I’d like to display a larger version of the image together with some of the other custom weblog fields (description, captions, etc).
To link to the single image entry, I’m using the following code:
<a href="http://{title_permalink=gallery/index}">phpThumb/phpThumb.php?src=/images/uploads/gallery/{image_url}&h=70&fltr;[]=wmi|watermark.png|C|70“ height=</a>When I click the above link, it shows me the gallery page with just the thumbnail image shown above, and the URL changes from ../gallery/ to .../gallery/image_title/
My question is - how can I create the custom HTML for the above single image page so that it shows the larger version of the image and my custom fields? I know how to create the HTML, but I’m unsure where to put this information (and EE tags) in order to get it to display for the image weblog entries. Do I need to be creating another template to handle this? Or should the code be found in the same index page as the gallery (if so, under what tags?)?
Thanks for any advice with this - I’m just not getting my head around how it goes together.
Thanks,
Ste