so i have an interface for a client going with all those “bells and whistles” that non-techy publisher folks want! 😊 i use ngen ff matrix to upload photos – and then drag the thumbnail into the tinymce wysiwyg field to place it/align it in the post. okay it works fine, except that i have some javascript highslide on the thumbnail. and the image href is a relative path and it’s the wrong path. e.g. see this page:
http://thewater.ehclients.com/news/full/the_blue_waters_of_the_black_sea
<a href="http://../images/uploads/VarnaBayopenwaterswimming.jpg%22class=%22ngen-file-link" class="ngen-file-link" target="_blank" rel="noopener">/images/uploads/thumbs/VarnaBayopenwaterswimming_thumb.jpg</a>
that’s the image code that the tinymce (or is it the ff field?) produces. i need the href to be href=”/images/uploads/blahblah” not href=”../images/uploads/blahblah”
i have the tinymce url settings as follows, and i cannot seem to make this issue on the href go away:
// URL relative_urls : false, remove_script_host : true, document_base_url : “http://thewater.ehclients.com/”,
if you got this far and this makes sense, i appreciate any help in trouble-shooting where to get that href path to be absolute to the web server root, not a relative path! THANKS!!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.