Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By default, ICME adds a width and height to an inserted image using inline styles.
Whilst it's relatively easy to switch to the advanced tab and remove the inline style, it's pretty much a given my content managers are going to forget!
Inline width and height css with pixel values break responsive images, whereas standard width and height image tag attributes do not.
Could an option be added to either turn off the default behaviour, or better still, to allow for either inline styles or image tag attributes?
Comments
Comment #1
ufku CreditAttribution: ufku commentedIMCE is not responsible for the markup added to content. It just provides the filepath and the rest is done by your editor.
Comment #2
matthewtrow CreditAttribution: matthewtrow commentedAh yes, my bad. Thanks for the info!
Comment #3
matthewtrow CreditAttribution: matthewtrow commented