I'm using up-to-date Imagecache, Imagefield (though not v2) and eCommerce modules to display products as thumbnails, then when you click on them they appear as larger Main images. When you click on those images, however, they don't link to the even larger 'original' size image (as expected), but instead link to...well, themselves. The page redraws as if nothing changed. The Main image imagefield says 'with link' but the link doesn't feed the original image. (The URL of the Main image does indicate that nothing should happen, so how do I change the URL to call the bigger original image? Shouldn't the original size images be stored as nodes?) Ideally, I would like the Main images to pop-up a new window with the original size image.

This should just work, shouldn't it? What could be screwing this up? Or do I need to do something with the node.tpl? I'm using a CSS-modified theme based off Blue Marine. Any help would be appreciated, as this is driving me nuts. Thanks in advance.

Comments

jhebel’s picture

Hi, I believe the default functionality of "as link" (we're talking about "Content Types > Product (or any content type) > display fields" right?) should link to the node which the image is attached to -- not a link to the original image in full size. The original size images are not stored as nodes.

What I might suggest is using Thickbox module, which will ultimately give you what you want but perhaps even better (a slick image layover/popup of the original size image). After installing the Thickbox module you'll get an alternative option to "as link" for your imagefield in your node in Full and Teaser modes, which says "Thickbox:(imagecache options for what size image you want popped up). If you are certain you want the image in it's original size, just make an imagecache preset called "original" that doesn't scale, resize or crop the image -- but I would recommend at least using a scale to about 900px wide so your popup/thickbox picture will fit on the screen.

Hope this helps :)

crozilla’s picture

That did help. It wasn't exactly what I was going for, but is, in fact, way better. I had read about Thickbox and thought it would be more involved than it was. Very nice module. Thanks a bunch.