Hiya, I've been using ubercart (which is great btw).

I imported some products along with their categories and an image for each product and the category.

But the images weren't square and it was making the theme a little untidy, so I squared off all the images, reverted to a previous database backup, deleted the imagecache folders and re imported. The product images themselves are nice and square now BUT! the product categories are still using the old non square images. It's driving me crazy. Where on earth are they finding them? If I click on one and choose 'open image in new tab' it gives this location:

http://localhost/d619/sites/default/files/imagecache/uc_category/ubercar...

but if I look under the default\files\imagecache directory, there is no uc_category folder... I think I even deleted it when I was clearing out the first import. So why isn't it being rebuilt? And where is windows finding these old files?

So yep I'm using windows vista unfortunately. Oh yeah and I'm using XAMPP. It's all on my local machine.

If anyone has any ideas I'd love to hear them, this is driving me nuts. Cheers : )

Comments

sidharth_k’s picture

This gets fixed but doing a simple shift+refresh in your browser. This causes the images to be fetched from your drupal site again.

The images are cached in the browser. So while they may have vanished from the imagecache folder, they need to be reloaded on your browser too...

Sidharth
www.noparrots.com

tleave2000’s picture

Ah man thanks a lot. That is such a relief : )

adamt19’s picture

This is a drupal caching issue - not a browser caching issue.

I have the same problem, a LOT - and it occurs across multiple browsers, from different machines, in different buildings/cities (tested from home/work).

I've deleted entire directories containing images - and yet drupal is still showing these images on machines that NEVER loaded the original images in the first place.

Or, I've replaced images with new versions - tried to look at the new version, and been shown the old version, no matter how many times I refresh, clear the cache, etc.

If I then check FTP to make sure I'm not crazy - and check the actual file existing on the server at that address, it's the new one -- not the old one.

WHY Is drupal caching images even when we have caching turned off!?

Sometimes logging-in and THEN refreshing will fix it. But I'm not interested in this behavior - as I need both logged-in and logged-out users to see images according to my choice, not Drupals.

Not sure how these forums/message boards work, but hopefully this bumps this topic to where someone else may be able to provide an alternative answer to this. Thx

computerbarry’s picture

If I then check FTP to make sure I'm not crazy

I feel the pain :)

I'm having the exact same problem as @adamt19 above.
Does anybody have a solution, or know what is causing this problem?

Thanks, Barry

The more you learn.... the more you learn there is more to learn.