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

ufku’s picture

IMCE is not responsible for the markup added to content. It just provides the filepath and the rest is done by your editor.

matthewtrow’s picture

Ah yes, my bad. Thanks for the info!

matthewtrow’s picture

Status: Active » Closed (works as designed)