Jump to content

Using more than one image manipulation Textformatter module on the same field


Tyssen
 Share

Recommended Posts

I'd like to be able to use both TextformatterImageInterceptor and Srcset Image Textformatter on the same CKEditor field.

If I have Srcset Image Textformatter first in the list of formatters on the field, it adjusts the <img> tag as expected, but the markup from TextformatterImageInterceptor doesn't get output.

If I have them the other way around, the markup for TextformatterImageInterceptor gets output, but Srcset Image Textformatter throws errors relating to the settings that you can turn off/on with checkboxes in the module's settings, generate HiDPI and LQPI images and width/height attributes.

If I turn those three settings off the <img> tags get output but the src and srcset attributes are blank.

Is this just a problem with these two modules not playing nicely together or can't you have two text formatters that alter image markup on the same field?

Link to comment
Share on other sites

3 hours ago, Tyssen said:

Is this just a problem with these two modules not playing nicely together or can't you have two text formatters that alter image markup on the same field?

It is just a problem with these two modules. You can have multiple formatters on one field.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...