Hi,

i don't want insert to put dimensions on images. I don't want width and height.
How to turn them off ? Especially height!!!

When theme is responsive, heights stay the same and in tight resolutions images look terrible!

I'm sick of deleting all time heights from images when insert.

CommentFileSizeAuthor
#3 2203477-3.patch623 byteschegor
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Crisz’s picture

Could you elaborate better what is the issue?

chegor’s picture

Any news here?

chegor’s picture

Status: Needs work » Needs review
FileSize
623 bytes

Patch to remove width and height. I do not need them in my responsive theme.

Snater’s picture

The cleanest solution might be to create a subtheme of your admin theme, copy image-insert-image.tpl.php and insert-image.tpl.php to the templates folder of the subtheme and remove the height and width attributes there. I just tried that and it seems to work. Nothing to be changed in the module's source code. Will close as "works as designed" if no objections.

Snater’s picture

Status: Needs review » Closed (works as designed)