With image attach, when you are viewing a full node the image can be clicked and it opens a page with the original sized image along with the filename above it, how can I stop this from happening? I don't want the image to be clickable on the full node.

Comments

joachim’s picture

Status: Active » Closed (fixed)

Override the theme function that creates the attached image.

Though I would warn you there is a patch pending to change image attach theme functions, and when this gets committed you'd have to redo your theming changes: #412288: restructure theme_image_attach_body/teaser . All it needs is someone to test it and I can commit it! hint hint ;)