I have a site running the 2.2.1 release of ImageGen. We are using the undocumented remote images functionality.
One of the things we are doing is resizing youtube images. The youtube cache folder has grown to over 100000 images which is nowhere near the number of images we've used which is now causing imagegen to block requests to the site when a youtube image is requested.
Is this a known problem? Is there anything that can be done to mitigate it?
The best solution I can think of is to have a batch script check the number of files in a folder and delete the folder when it gets too big.
I definitely applied the fix but I've just copied those DLLs on to be sure - exactly the same size and version numbers on them.
The caches for the /media/ images are fine - only 4 or 5 files in each folder all different sizes. I've seen the caching bug on another of our sites and would expect the problem to manifest itself in the media directory as well if I was using the old version.
ImageGen caching remote images?
Hi,
I have a site running the 2.2.1 release of ImageGen. We are using the undocumented remote images functionality.
One of the things we are doing is resizing youtube images. The youtube cache folder has grown to over 100000 images which is nowhere near the number of images we've used which is now causing imagegen to block requests to the site when a youtube image is requested.
Is this a known problem? Is there anything that can be done to mitigate it?
The best solution I can think of is to have a batch script check the number of files in a folder and delete the folder when it gets too big.
Regards,
Rob
Scratch that, it's bigger
Did you implement the fix for the Imagegen caching bug?
Details here http://our.umbraco.org/projects/website-utilities/imagegen/imagegen-bugs/2982-[UPDATE]-Fix-to-caching-bug-in-201
Fix here http://our.umbraco.org/projects/website-utilities/imagegen
Rich
Thanks but yes I'm running that version of ImageGen. Local files seem to be ok.
Is there a way to turn off the caching? Would that be a better solution that my batch script.
Hi Rob,
Just to be 100% sure.
There's a version of imagegen which you have to manually apply the fix to, so do you have 2.2.1 *with* the fix applied?
I don't know if the caching bug affects remote images or not.
Rich
I definitely applied the fix but I've just copied those DLLs on to be sure - exactly the same size and version numbers on them.
The caches for the /media/ images are fine - only 4 or 5 files in each folder all different sizes. I've seen the caching bug on another of our sites and would expect the problem to manifest itself in the media directory as well if I was using the old version.
Any ideas?
I've found and fixed this caching bug with remote images in ImageGen Professional 2.5, now available for download.
cheers,
doug.
is working on a reply...