Add ability to link to an Image Style instead of the original image
It would be super handy to be able to link this out to an image style rather than the original image so that slideshows and lightboxes could be just that much more flexible.
Proposed resolution
The best approach will be to add an item to the "Link image to" drop-down element to Link to: Image Style. When that has been selected, the target image styles are rendered below the "Link image to" drop-down and the administrator/site builder can select the appropriate image style.
Remaining tasks
Work in progress. Currently exploring the API and hook_field_formatter_third_party_settings_form(),
User interface changes
Will add Link to: Image Style to "Link image to" drop-down select element and then render select element for Image Styles.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | link_to_an_image_style-3374019-3.patch | 5.24 KB | awasson |
Comments
Comment #2
awasson commentedUpdating the Issue Summary.
Comment #3
awasson commentedPatch Attached to add checkbox and select with asset code for linking to alternate image style to image fields.
If anyone is following this issue, give it a spin. I'll apply it to the DEV and then tag a new release within the week.
Cheers,
Andrew
Comment #5
awasson commentedPatch has been applied to Dev and I'll tag a new release shortly.