You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#111571 Url for image is removed

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Monday, 01 August 2022 14:50 BST

aptol

<p style="text-align: center;"><img src="https://tng.tngcentre.org/images/Eventmaillogo.png" alt="Eventmaillogo" width="250" height="143" style="display: block; margin-left: auto; margin-right: auto;" /></p>
When i insert an image on my site via Code and save the url is saved. When i make a change to content somehow the url is removed, i do not understand why JCE Editor removes it! Any recommendation as this is not what we want happening.

Ryan
When i insert an image on my site via Code and save the url is saved.


Please post a screenshot of the contents of the Code tab.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

aptol
added the code
so the url is stripped on edit leaves just /images

Ryan
Please send me a login - https://www.joomlacontenteditor.net/contact/site-login

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

aptol
Sent

Ryan
This is the correct behaviour because the site address is https://tng.tngcentre.org/ so the images url is made relative the site url.

The image will still be displayed correctly in an article viewed in the front-end.

If for some reason you want have the full, absolute url, then in Editor Profiles -> Editor Parameters -> Cleanup & Output, set URL Conversion to None.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

aptol
if set to none, then when insertion of image will result in /image as well?

Ryan
When set to None, the url value will remain as you insert it.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.