ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to create single weblog entry pages for a gallery weblog

July 08, 2007 10:19pm

Subscribe [1]
  • #1 / Jul 08, 2007 10:19pm

    sm9

    352 posts

    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

  • #2 / Jul 09, 2007 6:34pm

    sm9

    352 posts

    Hi there,

    Just a quick bump to see if there’s any advice here - I have previously used a separate template for displaying products in a product weblog, and then using the index page to display the product itself; but I worked the opposite way around on this other gallery weblog, so I’m still got getting my head around how I can create the single entry details within the index page that contains the gallery of entries.

    Thanks,

    Ste

  • #3 / Jul 11, 2007 6:44pm

    sm9

    352 posts

    Surely someone knows how to do this?  Or have I just not explained it clearly?

    I can provide screenshots or even a URL via PM if needed.

    Thanks,

    Ste

  • #4 / Jul 13, 2007 12:52pm

    sm9

    352 posts

    Hi there,

    Just another request for help on this please?

    Thanks,

    Ste

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases