Opened 14 years ago

Closed 13 years ago

#1294 closed bug (fixed)

Thumbnails of attached images in blog posts do not link to the actual image

Reported by: nielx Owned by: gavin
Priority: normal Milestone:
Component: Website/CMS Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All


I tried to attach an image to a blog post. The image is uploaded (, and there is a thumbnail in my blog post, however, clicking on the thumbnail will not link to the actual image, but merely the blog post itself (

It should link to the image instead.

Change History (4)

comment:1 by wkornewald, 14 years ago

Owner: changed from wkornewald to gavin

I'm sorry, I've left Haiku.

comment:2 by ar1000, 14 years ago

This is a known bug in image.module (actually its child, image_attach. The problem and solution is documented on I don't have ftp access to the site anymore, but those are the changes that should be made. This was fixed in drupal 5.0. In the mean time, use img_assist (the button in the bottom left of the text area), which discussion also at recommends over the existing image_* modules for flexibility and features. To fix that specific post, I re-attached the image using img_assist.

in reply to:  2 comment:3 by ar1000, 14 years ago

Replying to ar1000:

This is a known bug in image.module (actually its child, image_attach . . . .

P.S. — I created a revision of your post, not an edit. If/when img_attach is resolved, the post's changes can be easily reverted.

comment:4 by gavin, 13 years ago

Resolution: fixed
Status: newclosed

I've applied a slight modification of the fix supplied. Images attached using img_attach will now link directly to the image file (and will display sans website theming). The fix has been made in our theme's template.php so as not to have to modify Drupal or image.module itself.

Just another reason for us to upgrade to Drupal 5 as soon as possible. :\

Note: See TracTickets for help on using tickets.