Copied to clipboard

Flag this post as spam?

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


  • David Armitage 505 posts 2073 karma points
    Aug 01, 2019 @ 16:06
    David Armitage
    0

    Umbraco RTE setting Images With and Height to 0

    Hi Guys and Gals,

    A strange one here that I cat figure out.

    I have a client having issues with the Rich Text Editor. Some some reason when they select an image within the RTE some style tags are added automatically added.

    EG.

    <p><img style="width: 0px; height: 0px;" src="/media/1020/blog-pic2.jpg?width=NaN&amp;height=NaN&amp;mode=max" alt="" data-udi="umb://media/64dbeaad4a7c4437b4c097a38ccdae18" /></p>
    

    This obviously hides the image we are trying to insert. style="width: 0px; height: 0px;"

    I cant see why this is happening and I have looked in the RTE config. A really strange one.

    Anyone got any ideas?

    Thanks in advanced.

    David

  • Marc Goodson 2141 posts 14344 karma points MVP 8x c-trib
    Aug 03, 2019 @ 19:45
    Marc Goodson
    0

    Hi David

    Which version of Umbraco and are the images in Azure blob storage or on disk?

    and is this in Safari?

    We had the same issue on 7.5 + Azure Blob Storage + Safari, the client switched to Chrome and all was ok - but it seemed associated to the length of time it took to read the dimensions of the image, in that if an image had been inserted before, or was inserted via chrome - or even 'really slowly' - all was ok... haven't seen it in any other version since, but never truly got to the bottom of it either.

    regards

    Marc

Please Sign in or register to post replies

Write your reply to:

Draft