On the webcomic site I'm developing (which hosts three webcomics) I use imagecache to display thumbnails of the three most recently published webcomics. The setup works great when I want to publish a webcomic immediately, but if I "queue" the webcomic (if I set it up so that it is published at a future date -- i.e., if on 7/2/2007 I create a webcomic node set to appear on 7/3/2007), imagecache doesn't update the thumbnail with the latest comic when the queued node appears.

In order to get imagecache to update, I need to go to the settings page and click the "update preset" button for the preset in question -- or, I've also learned, I can go into the view I created for the thumbnail and save the view without altering it in any way. In either case, THEN the thumbnail updates properly.

I'm not sure what to do about this. Is there a way to specify that imagecache forces itself to update at specific intervals, or whenever a cron job is run, or anything like that?

(I have the same problem with 5.x-1.3 and the latest dev version).

Comments

flevour’s picture

Can you be more detailed providing snippets of HTML or more info to understand what's going on? What's expected to happen, what really happens, on which page, etc ...
Hope I can help if I get what's going on better (it could be my fault as I am not a native speaker).
Cheers!

coupet’s picture

probably a cron job invoking the function imagecache_image_flush($path)

dopry’s picture

Status: Active » Closed (fixed)

if you display the right url it should work. no matter when the node is published...

ubersoft’s picture

Well... it doesn't.