For me a common use case for Insert is to insert a small thumbnail of a larger image. It would be great if Insert could be configured so that the inserted image is wrapped in a link to another style of that image, e.g., the original image.

As an example, instead of inserting

<img src="http://example.com/sites/default/files/styles/thumbnail/public/image.jpg" alt="" title="" class="image-thumbnail" />

the new "insert as link" option would insert

<a href="http://example.com/sites/default/files/image.jpg">
<img src="http://example.com/sites/default/files/styles/thumbnail/public/image.jpg" alt="" title="" class="image-thumbnail" />
</a>

Right now turning the inserted image into a link involves a lot of manual work, including fiddling with inscrutable image style URLs.

Comments

widhalmt’s picture

subscribe

Rameez’s picture

subscribe

quicksketch’s picture

Status: Active » Closed (duplicate)