Add comaptibility with Image Link Formatter

Created on 20 November 2024, about 1 month ago

Problem/Motivation

This module is very useful, but I see that it lacks compatibility with the following module:

https://www.drupal.org/project/image_link_formatter

Feature request
Status

Active

Version

3.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Nelo_Drup
  • 🇫🇷France mably

    As said on the image_link_formatter module's page:

    However, unless it becomes possible to dynamically extend formatter classes, unfortunately, at the moment, it doesn't seem possible to "combine" several formatters for a given field display.

    For example, it doesn't seem possible at the moment, to combine out-of-the-box the formatters from svg_image and image_link_formatter to wrap an SVG image within a link, in which case another formatter combining both would have to be implemented, see: enhanced_image_formatter.

    I think this should be done in its own module implementing a new formatter combining both svg_image and image_link_formatter.

  • #2 @mably This module enhancement_image_formatter did exactly what it hurts that they no longer maintain it.

  • 🇫🇷France mably

    Sent a message to the enhanced_image_formatter maintainer to see what could be done.

  • 🇭🇺Hungary tommychris Budapest

    Hi All,

    sadly the project I had to use has been finished - so ...

    If I remember well, I just copy-pasted 3 modules together. If anybody would like to continue, I will give the module ownership, just write to me.

  • 🇫🇷France mably

    @tommychris, feel free to add me as maintainer. I'll have a look at it and see what could be done.

  • 🇫🇷France mably

    @nelo_drup I have released a new version of the enhanced_image_formatter module compatible with Drupal 11.

    Could you give it a try tell me how it goes.

    And thanks to @tommychris for adding me as a maintainer of the module.

  • @mably Thank you, I will try the module immediately

Production build 0.71.5 2024