After spending a while getting our website responsive, I have come across the issue with images that other employees are uploading and placing in page content of Rich Text Editors.
Those old height and width attributes are being used--is there anyway to prevent Umbraco from applying these attributes? My preferred method is to use width:100% for all images and then will explain that they need to start applying a max-width attribute inline on the page. Currently, the images get stretched and removing the height/width attributes from the WYSIWYG hides the image entirely.
Is there a way I can parse these in the XSLT? I may have just answered my own question...
Image Height/Width Attributes in Umbraco
After spending a while getting our website responsive, I have come across the issue with images that other employees are uploading and placing in page content of Rich Text Editors.
Those old height and width attributes are being used--is there anyway to prevent Umbraco from applying these attributes? My preferred method is to use width:100% for all images and then will explain that they need to start applying a max-width attribute inline on the page. Currently, the images get stretched and removing the height/width attributes from the WYSIWYG hides the image entirely.
Is there a way I can parse these in the XSLT? I may have just answered my own question...
Any other suggestions? Thanks in advance!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.