Hello, I don't understand how I can refresh all cached images for one original (in some function in my own module)?

Something like imagecache_image_flush($filename) but not to flush but refresh.

Comments

sgriffin’s picture

One way is to use shell_exec() to run a shell command, and do a "rm" on that file.

Vetkhy’s picture

Component: Miscellaneous » Code

Well, I think it isn't one way... I saw function imagecache_build_derivative, but I don't understand, how to use it properly.

By the way, the description of this function is wrong.

fizk’s picture

Status: Active » Closed (fixed)

Please reopen if this is still an issue with ImageCache 6.x-2.0-rc1.