Updating images in the dynamic folder when uploadng new images
-
I’m writing something that uses xmlrpc to replace existing images in a Nextgen gallery. The gallery itself is being displayed by a custom gallery that uses the code below to make dynamically resized images. My uploader uses the xmlrpc method ‘ngg.uploadImage’ to upload a new image. This is all working fine except that I still have the old dynamically resized images in the ‘dynamic’ sub folder of the gallery. How do I force an update of these resized images?
thanks.
$dynthumbs = C_Dynamic_Thumbnails_Manager::get_instance(); $size = $dynthumbs->get_size_name(array( 'width' => $MaxImageWidth/$columns, 'height' => $MaxImageWidth/$columns, 'crop' => FALSE, 'watermark' => FALSE )); $src = $storage->get_image_url($image, $size);
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘Updating images in the dynamic folder when uploadng new images’ is closed to new replies.