generating jpeg of pdf file |
[eluser]ray73864[/eluser]
I wonder, is it possible using perhaps the Image Manipulation class to create a jpeg thumbnail preview of a pdf file. Or is there an even better way of doing it?
[eluser]Dave Rau[/eluser]
I'd highly recommend using phpthumb for this: http://phpthumb.sourceforge.net/ Just ftp some files to your site, setup the config file, set write permission to the cache/ folder and be on your way with JPGs of PDFs like this: 500x700px JPG, 80 quality: Code: <img src="/code/phpthumbs/phpthumbs.php?src=/home/file.pdf&w=500&h=700&q=80" /> |
Welcome Guest, Not a member yet? Register Sign In |