Attached image module is a useful module to place inline images in the node. I have implemented it in some web projects to cover its requirements. Normally clicking the attched image previews its node view. Once I needed to enhance the module to extend node edit interface to define an optional URL field to make the image an anchor to external link. I was feeling that this feature should be included in the image_attach module. I can contribute this implementation if some maintainer guides me. Currently I did it in 5.x-1.9 but I can do for all other branches.

CommentFileSizeAuthor
image_attach.png10.5 KBshoaib.nawaz

Comments

justmagicmaria’s picture

I came to the issue queue looking to see if anyone had requested this feature. shoaib.nawaz, I, for one, would greatly appreciate this enhancement. I am using the 6.x version.

As a use case of this, I am making a simple Event Announcement content type and I want an editor to attach the logo for the event (usually a trade show) and link it to the event sponsor's website.

joachim’s picture

Status: Active » Closed (won't fix)

I would say you can do this by adding a CCK link field and using theming to wrap the attached image.
Except I think the attached image's theming is a bit rubbish... there is another issue open for this: #412288: restructure theme_image_attach_body/teaser .