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.
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.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2203477-3.patch | 623 bytes | chegor |
Comments
Comment #1
Crisz CreditAttribution: Crisz commentedCould you elaborate better what is the issue?
Comment #2
chegor CreditAttribution: chegor as a volunteer commentedAny news here?
Comment #3
chegor CreditAttribution: chegor as a volunteer commentedPatch to remove width and height. I do not need them in my responsive theme.
Comment #4
Snater CreditAttribution: Snater commentedThe cleanest solution might be to create a subtheme of your admin theme, copy
image-insert-image.tpl.php
andinsert-image.tpl.php
to thetemplates
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.Comment #5
Snater CreditAttribution: Snater commented