-2

I want to know How to upload pdf file by caputring first page of the pdf file??

using jquery.

thank you.

user601367
  • 2,238
  • 12
  • 34
  • 44
  • 3
    Be more specific, put examples, show us your research until now. Read the FAQ. Thanks. – Gonzalo Larralde Apr 11 '11 at 14:01
  • i am showing link of the course material in which it will open pdf file.But, i want to display image of the pdf file along with the link.The image should be first page of the pdf file which i am uploading – user601367 Apr 11 '11 at 14:03
  • 2
    OK, now copy everything you put in the comment, and add it to the question, so you make a half decent question. Then, try one of these (I did not test any) http://plugins.jquery.com/plugin-tags/pdf – Aleadam Apr 11 '11 at 14:06
  • 1
    Now you have to indicate what's your backend language, and make a deeper search on stackoverflow. You'll find something like this: http://stackoverflow.com/questions/1606175/how-do-i-extract-image-from-a-pdf-file-using-php. – Gonzalo Larralde Apr 11 '11 at 14:07

2 Answers2

0

You have to extract the first page using some server side technology and display this image in the page. The browser itself can't open the PDF without any plugin so don't expect jQuery to be of any help here...

Capsule
  • 6,072
  • 1
  • 18
  • 27
0

You can't do it with jquery. You must upload the whole pdf and process it at server by extracting the page and sending back to client as an image.

František Žiačik
  • 7,295
  • 1
  • 31
  • 54