This is fine when system cache is off and the first time you visit a page (or rather the first time that page is visited) but once this has been cached and you reload the page, all images are broken.

I've just gone into an Article and manually added leading slashes to 6 image source URLs and then turned system cache on. After visiting the page and then refreshing, would you believe it, those 6 images load fine but the other 30 odd do not.

As this is the default action from the XStandard editor, you can't expect people to have to manually change their code every time they insert an image, so would suggest that this is a bug that needs fixing. I guess it has something to do with the "base" value of each page?

Correction to my first post: I was muddling up links and image paths in my first post. It looks like this bug is also breaking links without a leading slash and it is in fact these that are getting the section and category automatically added to them. This is weird because the links are actually to images, so the section and category that is getting put into the link URL is that of the Article you are viewing.

Surely other people have experienced this? It can't just be me doing something wrong!

I haven't been changing the order of Plugins so Joomla! must faff with the ordering itself if you mass Disable and/or Enable them, how ridiculous. What's the point in even beling allowed to re-order plugins if it has such a drastic effect on the operation of your Joomla! website? It should at least flag it up with a warning or something.

Anyway, many, many thanks Anthony for the tip, I think this has solved the problem!

(For me, it only started working after I cleared my browser's cache, restarted the browser, and cleaned the cache, in that order! But it's working now, which is great.)

Peter, thanks for following this up.

Question: Are there any other Plugin modules that need to appear in a specific order? Is this documented anywhere?

Nope... That's the only one

The cache settings in the Global Configuration refer to the modules and menus.

The cache settings in the Plugin Manager refer to the article content.

Have I understood correctly?

No...
The cache plugin deals with caching of entire rendered pages ONLY. It has nothing to do with caching article content. The global config deals with everything else BUT the page (aka segments of the page)... You want both enabled...

ircmaxell wrote:The cache plugin deals with caching of entire rendered pages ONLY. It has nothing to do with caching article content. The global config deals with everything else BUT the page (aka segments of the page)... You want both enabled...

A bit late maybe, but I'm experiencing this just as Peter said before, it looks like Joomla turned this trick all by itself. For some reason "out of the blue" I got these issues on SEF and CACHE being "swapped" in order (1.5.25)