
Hi,
How to create PDF's thumbnail in PHP?
Thanks

Hi,
You should have ImageMagick support on your server. You can then use following code to create PDF thumbnail image.
<?php
$im = new imagick('myfile.pdf');
$im->setImageFormat( "jpg" );
header( "Content-Type: image/jpeg" );
echo $im;
?>
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.