hi bakers, I've been using the ImageHelper from the bakery [1] in a project, but found it's method of caching all images in a single folder very restrictive, as I tend to have multiple tables in my DB and multiple sub-directories for images in my apps.
To get around this I tweaked the existing helper so it creates a cache directory for the location of the image file, rather than a single global location, eg: orginal image: /img/test.jpg cached image: /img/cache/xx_xx_test.jpg orginal image: /img/events/test.jpg cached img: /img/events/cache/xx_xx_test.jpg anyhoo, hope it's useful for some people. Get class from: http://cakeforge.org/snippet/detail.php?type=snippet&id=188 cheers, Jon -- jon bennett t: +44 (0) 1225 341 039 w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---