If you have png
files as thumbs but want to output them as jpg
files, this plugin might be for you.
It works just like you expect the thumb
function to work. Just add jpg
as format and your png
file will be converted to jpg
.
echo thumb($page->image(), array(
'width' => 300,
'quality' => 80,
'format' => 'jpg'
));
Read all about it here: https://github.com/jenstornell/superthumbs
Be aware: You can not use this plugin if the thumbs
class is already registered as component by another plugin, for example Imagekit.