#477 Main Image and Thumbnail not showing in category or product pages

Posted in ‘Technical Support / Bugs’
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 Olivier on Wednesday, 15 October 2025 23:05 UTC

graeme colston

Hi Guys

I am experiencing a weird issue, where images are selected, but not displaying.

https://www.csistudio.co.za/shop/rocking-chairs/comfort-rocking-chair

Any help will be appreciated.

PS. tried the search function in support on your website  to see if the issue has been fixed before, but it is not working.

Olivier

Hi Graeme,

it seems like I can see all pictures on the page you have provided. None seems to be missing.

Can you attach a picture of what you are seeing?

Thank you!

As far as the doc is concerned, we are having an issue with the search, we are looking into it. 

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

graeme colston

That is even more bizarre, see attachment, The "Comfort Rocking Chair" shows no image.

Olivier

Ok, got what the problem was. Your overrides are not up-to-date so you may be going through issues here and there.

I fixed view_images.php of your theme.

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

graeme colston

Thanks Olivier, but still no image displaying on the comfort rocking chair
https://csistudio.co.za/shop/rocking-chairs

Olivier

I do see it. Maybe the cache?

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

graeme colston

This quite bizarre, I have cleared joomla cache, deleted browser history. Still neither myself nor the client can see the main image in category view. It is visible in product page.
Please see my screenshot.

Olivier

Ok, I finally put my finger on it. I updated your template override to accomodate images that have additional parameters in the path.

 

 

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

graeme colston

Bravo, love your work.
Will this happen to more of my sites? templates are all from the same developer, should I rather request support from them if this happens again?

Olivier

You are welcome!

Most likely you will find issues on overrides that were used before the update to Joomla 4, as images are handled differently in Joomla 4. So the overrides need to be updated to reflect those changes.

I have updated xxx.images.php from your graeme theme (in the site template). So if issues arise on old websites like it did on this one, just copy the content of xxx.images.php into the old sites's files and that should be enough to fix those sites as well.

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

graeme colston

Hi Guys, I am not sure how I did this, but the main image is not displaying again, last item on this page - https://csistudio.co.za/shop/rocking-chairs

Please can you help me again.

 

Olivier

Hello Graeme,

the problem comes from the fact that the image has spaces in the file name.

The overrides do test if the file exists on the server. However, the file name is encoded to be acessible by the browser and show. This fails the server test.

I modified the code to take into account spaces in the file name.

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

Stay Updated

Subscribe for free and be the first to know about the latest features, updates, and new additions.