I'm looking for a module or a way to automatically hyperlink my teaser images to the story node. Seems like this should be easy to do since it's a pretty common practice, but I have searched forums and google this but nothing came up.

Note: I have created a special content type called Articles with CCK and use Contemplate to display the page. Was thinking that maybe Views or the Contemplate would be the place to do this but don't know how.

Comments

matt_harrold’s picture

Edit your content type, go to "display fields" tab, and change the teaser and body display options there for your image field. I think you will need Imagefield and Imagecache modules installed and configured properly first.

Thomasr976’s picture

plus imageapi. I believe I have configured them properly. However, when I edit the content type and go to display field, I only have to two choices- default and hidden. I also created another image field but got the same result.

I really appreciate your input. Do you have any other suggestions.

matt_harrold’s picture

Maybe the features came from the Thickbox module, which I also use. Sorry I can't be more help, there are so many modules it's hard to keep track of which module provides features.

Also, remember to create some imagecache "presets" to scale/resize/crop your images. I usually set up "small" and "regular" sizes. Then I use the small image in the teaser (as a link), and the regular image (as Thickbox) in the node body.

Maybe it's gotta be a combination of the three (Imagefield, imagecache, and thickbox)? I hope this works for you.

Thomasr976’s picture

Going to to sleep on it and try it in the morning. thanks again for your help. Regards. Tom