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):
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 ?
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):
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 ?
Hey, maybe this can help you :
http://jigneshp.wordpress.com/2009/12/02/umbraco-tinymce-settings/
Have a look at this topic for a workaround: http://our.umbraco.org/forum/using/ui-questions/21862-How-to-get-tinymce-to-keep-absolute-image-paths.
Jeroen
is working on a reply...