Copied to clipboard

Flag this post as spam?

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


  • Mike 80 posts 101 karma points
    Dec 28, 2011 @ 10:26
    Mike
    0

    How to insert images from media library with full absolute url?

    Hi,

    I would like to insert an image I pick from the media library in the editor to have the full abslote url instead of the relative url to e.g. /media/image.jpg

    Because I feed my pages/blog to other sites and on these sites the images are not shown because of the relative url.

    I also believe when linking internal urls using the link icon in the toolbar the urls are inserted relative. 

    Is there any way to change this behaviour?

    I tried setting these in the tinyMCE config (and in the js config file): 

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

    This only makes sure tinymce does not remove the hostname from the url, but on publish (or save) Umbraco will strip the domain prefix. So it seems to be something in Umbraco. 

    When choosing (picking) the image from the media the url shown is also the relative url. Isn't there an option of any kind to get it to insert the full path to the image and/or internal linking page ?

     

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Dec 28, 2011 @ 10:38
  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Dec 28, 2011 @ 11:25
Please Sign in or register to post replies

Write your reply to:

Draft