3

I've installed and removed the JomSEF plugin for redirecting.

Now I've a problem. When I create an article, in TinyMCE I insert images and I can see it in the article. When I publish it, images disappear and I can't see them.

If I check the source of the page, I can see the correct path for images, likes images\articles\001.png and images is the folder where I stored it.

How can I fix it?

3

Two possibilities I can think of:

  • Installing the extension has changed the base tag. View the source and make sure this is still pointing to the site root, so that relative links to images/ are still correct.
  • The extension contained multiple elements - plugins, componenents etc, and you have not uninstalled all of them. Do an audit of your extensions and remove any by that developer.

Looking further into this, out-of-the-box the base tag will just be the page you are on and the link generated (when the page has been rendered) /images rather than images. With this structure, a fawlty base tag would not break it - images should be loading from the site root.

  • How can I check the base tag? Which source should I check? – Jepessen Nov 20 '16 at 19:41
  • The source of the page showing the broken image. I've updated my answer with some doubt as to if this is the cause, however. That said, images\articles\001.png is going to be a problematic URL and \images\articles\001.png the expected one. Can you confirm that the beginning \ is definitely not there? – Richard B Nov 20 '16 at 20:20
  • Yes, I can see <img style="margin-right: auto; margin-left: auto; display: block;" alt="" src="images/articles/gis/postgisqgis-001.png"> in the source file and ><img style="margin-right: auto; margin-left: auto; display: block;" src="images/articles/gis/postgisqgis-001.png" alt="" /> in the source of the article in TinyMCE. – Jepessen Nov 20 '16 at 20:23
  • Is System - SEF turned on? That seems to be the core plugin that makes the image URLs start from the root instead. – Richard B Nov 20 '16 at 20:27
  • I don't have system - SEF anymore, I've uninstalled it. Maybe I should install it again? – Jepessen Nov 20 '16 at 20:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.