Copied to clipboard

Flag this post as spam?

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

  • Claus Jessing 9 posts 99 karma points
    Oct 01, 2021 @ 08:31
    Claus Jessing

    How do I get absolute urls when inserting images in TinyMCE?

    I have tried all combinations of

        <config key="convert_urls">true</config>
        <config key="relative_urls">false</config>
        <config key="remove_script_host">false</config>

    in tinyMceConfig.config but no matter what, all image sources are relative like this:

    <img src="/media/oejeu3gj/logo.png?width=246&amp;height=49"  width="246" height="49" data-udi="umb://media/744a1277a0c944e1bbf07b25b5ac74d1" />

    Those 3 switches seems to have no effect at all...

    Please advice :-)

  • Paulius Putna 87 posts 165 karma points
    Oct 01, 2021 @ 08:57
    Paulius Putna

    I believe you can set the urlProviderModel to Absolute in umbracoSettings.config file.

    Read more here:

  • Claus Jessing 9 posts 99 karma points
    Oct 01, 2021 @ 09:28
    Claus Jessing

    As it turns out the combination of



    <config key="convert_urls"></config>

    gives me the result I was after so THANK YOU! :-)

Please Sign in or register to post replies

Write your reply to: