Follow up issue for #2829990: Image formatter does not support URL/Link options β
When using a responsive image field formatter and adding a link to a file or hosting entity, URL options are not handled by the native image formatter so it is impossible to add a class or other attributes to the generated link...
function : template_preprocess_responsive_image_formatter
template : responsive-image-formatter.html.twig
Use the link()
Twig method to render the linked responsive image, so URL options are output as expected.
None.
Linked responsive images can now render link attributes.
None.
Needs work
11.0 π₯
Last updated
Used to track the progress of issues reviewed by the Drupal Needs Review Queue Initiative.
A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.