Hi,
I wrote a script to generate a preview of the first page of a PDF file upload, and save it as an image file. However, after writing the script, I found out that my hosting company does not have, and does not plan on installing the imagick extension that is needed for my pdf preview script (guess I should have looked into this before integrating it into my site...).
Looking at my options, I discovered that a free host ( www.freehostia.com), has the extension installed by default. However, the free host only allows files <500kB, which stops me from uploading all the PDF files to that site. So, I had planned on putting up a php file on the free host, sending it the url of the pdf file, getting it to use the imagick extension to produce the preview, write the preview to a file (on the paid host), and then display the file. However, the imagick library seems to try to include the file from a relative reference point of view (/root/blah/andblah/http://mysite.com).
Any ideas on how to include it? Any other ideas for a work around?
Thanks in advance,
Scott
|