sfFilebasePlugin supports resizing transparent images and thumbnail generation.
The thing is done so far, but you'll have to learn it's usage (But it is simple, i promise.) Also shipped with the plugin is a backend module which unfortunately is still in developement, so don't rely on it. But the rather core plugin should fit your needs.
- Code: Select all
$f = sfFilebasePlugin::getInstance();
$image = $f['path/to/image.jpg'];
$tn = $image->getThumbnail(array('width'=>100));
This is NOT an commercial for the crap i wrote. Ok, perhaps only a little bit
I'd love to hear about your experiences if you decide to use it. It's still in beta state so be warned. If you discovered an issue, feel free to tell me so that i can fix it.