Rebuilds the image cache directory for the Joomla Component K2
~ 5 seconds for create 5 sizes of any image. Remove PHP Maximum execution time or use a very high value.
How to use:
-
Copy this file as rebuild.php into "JPATH_ROOT/media/k2/items"
-
Check Variables, use a size of 0 for not processing this image size
-
go to the webpage www.mysite.com/media/k2/items/rebuild.php" (it overwrites existing files without notice)