We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

image path issues w/ tinymce & ngen ff ..

Development and Programming

bluesonora's avatar
bluesonora
90 posts
16 years ago
bluesonora's avatar bluesonora

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!!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.