Hello there, I was just thinking that it would be great if this module allowed to link the rendered picture elements not only to link to their original image but also to styled (either by reponsive style groups or a regular image style) versions of the image, much like the regular image formatter already does.
This would make it much easier to use lightboxes other than Colorbox.

Or maybe this is already possible and I've just missed it?

CommentFileSizeAuthor
#3 Screen Shot 2015-08-04 at 15.28.26.png41.39 KBJelle_S
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

attiks’s picture

Status: Active » Needs work

It isn't possible, but feel free to provide a patch.

espurnes’s picture

It will be great if you can choose an image_style instead of a picture_mapping when linking to colorbox.

Anyone wants/can do it?

Jelle_S’s picture

Issue summary: View changes
FileSize
41.39 KB

"much like the regular image formatter already does."

The regular image formatter only links to the File or the Content. Never to a styled image. But I'll see if I can add it.
image formatter

Jelle_S’s picture

Status: Needs work » Fixed

Fixed in latest dev.

  • Jelle_S committed c785859 on
    Issue #2467585: Link pictures to styled image
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.