Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Thomas Brinegar 84 posts 162 karma points
    Oct 09, 2013 @ 14:33
    Thomas Brinegar
    0

    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!

  • 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.

Please Sign in or register to post replies