Is there a a way I can use a separate image for my thumbnails? Some of my images are animated gif and the thumbnail usually gets messed up. An animated thumbnail would be nice if possible. I'm using ImageMagick, and I saw this... not sure how to use it.
`
<?php
try
{
/*** Read in the animated gif ***/
$animation = new Imagick("animation.gif");
/*** Loop through the frames ***/
foreach ($animation as $frame)
{
/*** Thumbnail each frame ***/
$frame->thumbnailImage(100, 100);
/*** Set virtual canvas size to 100x100 ***/
$frame->setImagePage(100, 100, 0, 0);
}
/*** Write image to disk. Notice writeImages instead of writeImage ***/
$animation->writeImages("animation_thumbnail.gif");
echo "Images written";
}
catch(Exception $e)
{
echo $e->getMessage();
}
?>
`
Comments
Your only chance is to write a custom function/plugin for this.
He might even be interested in earning a bit of cash.