PHP Classes
elePHPant
Icontem

How to create an image thumbnail during upload a pdf file.: During upload a pdf file how to create an thumbnail image

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  All requests RSS feed  >  How to create an image thumbnail during upload a pdf file.  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

How to create an image thumbnail during upload a pdf file.

Edit

Picture of Sabbir Hossen by Sabbir Hossen - 11 months ago (2015-03-03)

During upload a pdf file how to create an thumbnail image

This request is clear and relevant.
This request is not clear or is not relevant.

+1

How to create an image thumbnail during upload a pdf file? I am uploading a pdf file and at the time of upload i want to create a thumbnail of the first page, and also want to save the file name into the database. I try with some code but couldn't get success.

  • 1 Clarification request
  • 1. Picture of Manuel Lemos by Manuel Lemos - 11 months ago (2015-03-04) Reply

    Do you want to create the thumbnail before or after the file is uploaded to the server?

    • 2. Picture of Sabbir Hossen by Sabbir Hossen - 11 months ago (2015-03-04) in reply to comment 1 by Manuel Lemos Comment

      I want to create after successfully upload the pdf file. Thanks.

    • 3. Picture of Sabbir Hossen by Sabbir Hossen - 11 months ago (2015-03-04) in reply to comment 1 by Manuel Lemos Comment

      Also there are no problem if I create the thumbnail before upload which I think

Ask clarification

1 Recommendation

PDF to image converter using PHP: Convert PDF documents to images using Ghostscript

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Manuel Lemos by Manuel Lemos Reputation 11100 - 11 months ago (2015-03-05) Comment

This class can convert PDF documents to images. This way you can extract images of any page of a PDF document.

It requires the GhostScript program to be installed because it is the program that renders PDF pages as images.

If you need a solution that does not require GhostScript, just say so, so this request can become featured, as there is no other package that can do that for now, so maybe somebody can submit an alternative solution. 

  • 1 Comment
  • 1. Picture of Sabbir Hossen by Sabbir Hossen - 11 months ago (2015-03-05) Reply

    Can i ask how to integrate ghostscript in website. I have download a file from ghostscript and it was an .exe file. So how can i use this on my web... ?


Recommend package
: 
: