3

I've built a site for a client that has a section which displays a number of entries.

For each entry there is a thumbnail.

There are currently 50 entries, and for just two of those entries the website is displaying the wrong thumbnails. All others are working correctly.

I'm using the brilliant CE Image plugin to display my images.

I've tried clearing my browser's cache, EE's cache AND deleting the contents of my 'images/made/images/remote' directory, but it's still displaying the wrong images.

Any ideas anyone?

Thanks in advance,

Tom

14
  • 1
    Have you checked the path that is being output in the HTML?
    – foamcow
    Jan 18 '13 at 12:18
  • 1
    That's a good question. The images are coming from the images/made directory like this... /images/made/images/remote/http_domain.com/large/tp/12345/1234/image1/ImageName.jpg. I have tried deleting the contents of those folders with no luck. Jan 18 '13 at 12:22
  • OK so if you are removing those images are they being recreated when you visit the page? If that's the case it would seem the original image isn't being overwritten for some reason. Try uploading a different image with a different filename. It could be something between your site and the browser that is caching the image.
    – foamcow
    Jan 18 '13 at 12:24
  • Do you have file expiration headers being assigned to the images via htaccess? Jan 18 '13 at 12:30
  • @foamcow thanks for your thoughts. Unfortunately we're pulling data from a third-party source so I'm not able to rename files Jan 18 '13 at 12:34
2

It turns out the problem was being caused by the lack of a simply setting in the CE Image tags. As Aaron from CE Image very helpfully pointed out, by adding remote_cache_time="360" CE Image automatically checks each thumbnail image every 360 minutes (or 6 hours) and overwrites it if the image has changed.

Thanks to everyone for their suggestions!

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.