Post by psytanium » Mon Aug 26, 2024 5:15 pm

Hello,

I'm encountering an issue when trying to update images on my OpenCart websites (versions 3.0.3.8 and 3.0.3.9). If I upload a new image with the same file name to the same category, the website continues to load the old image. The only way to successfully update the image is by uploading it with a different file name or placing it in a different directory.

I've already tried clearing the browser cache, as well as the OpenCart cache, and refreshing modifications, but the issue persists across multiple websites.

Could you please advise on what might be causing this and how to resolve it?

Thank you for your assistance.
Last edited by psytanium on Thu Aug 29, 2024 2:19 pm, edited 1 time in total.

Active Member

Posts

Joined
Fri Nov 27, 2015 2:07 am

Post by softmonke » Tue Aug 27, 2024 7:40 am

psytanium wrote:
Mon Aug 26, 2024 5:15 pm
Hello,

I'm encountering an issue when trying to update images on my OpenCart websites (versions 3.0.3.8 and 3.0.3.9). If I upload a new image with the same file name to the same category, the website continues to load the old image. The only way to successfully update the image is by uploading it with a different file name or placing it in a different directory.

I've already tried clearing the browser cache, as well as the OpenCart cache, and refreshing modifications, but the issue persists across multiple websites.

Could you please advise on what might be causing this and how to resolve it?

Thank you for your assistance.
Sounds like it could be because of the old image cached by OpenCart. If you look in the directory "image/cache" you will see that there are many image files cached by OpenCart based on the resolution. You could try manually deleting the cached image file.

Check out our ever-growing list of extensions for OpenCart here.
Some useful extensions for a better admin experience: Image File Manager ProDrag & Drop Sort Order

Reach out to us at hello@softmonke.com for your OpenCart web development needs or feedback for our extensions.


User avatar
Active Member

Posts

Joined
Tue May 23, 2023 4:42 am


Post by halfhope » Tue Aug 27, 2024 8:08 am

Hi.

Agree with upper answer. Also, you can use image cache cleaning extension after your images will be uploaded.

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by paulfeakins » Tue Aug 27, 2024 10:45 pm

psytanium wrote:
Mon Aug 26, 2024 5:15 pm
I've already tried clearing the browser cache, as well as the OpenCart cache, and refreshing modifications, but the issue persists across multiple websites.
But have you cleared ALL THE CACHES?
https://www.antropy.co.uk/blog/how-to-c ... t-3-0-2-0/

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by psytanium » Wed Aug 28, 2024 3:13 pm

paulfeakins wrote:
Tue Aug 27, 2024 10:45 pm
psytanium wrote:
Mon Aug 26, 2024 5:15 pm
I've already tried clearing the browser cache, as well as the OpenCart cache, and refreshing modifications, but the issue persists across multiple websites.
But have you cleared ALL THE CACHES?
https://www.antropy.co.uk/blog/how-to-c ... t-3-0-2-0/
Appreciate it, mate.. in my case this appears to be Twig/SASS (Template)

Active Member

Posts

Joined
Fri Nov 27, 2015 2:07 am

Post by paulfeakins » Wed Aug 28, 2024 10:37 pm

psytanium wrote:
Wed Aug 28, 2024 3:13 pm
Appreciate it, mate.. in my case this appears to be Twig/SASS (Template)
Things like this are very often a caching issue, hence me writing that classic article :laugh:

If that's solved it, could you add [SOLVED] to the start of this topic title?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 20 guests