problem generating PDF thumbnail
Hello!
I uploaded a pdf from my app, and I need to show a thumbnail to the user. From what I read in the documentation (https://cloudinary.com/blog/uploading_converting_and_generating_thumbnails_for_pdf_documents), I constructed the url, but it doesn't work. What I'm doing wrong?
Full pdf: http://res.cloudinary.com/de9ewfv2p/image/upload/ozmzf7kaecogblroqlhx.pdf
Thumbnail attempt: http://res.cloudinary.com/de9ewfv2p/image/upload/w_200,h_250,c_fill,pg_1/ozmzf7kaecogblroqlhx.pdf.png
-
Hi André,
The reason you get a 404 error is the duplicate extensions in your URL stating both .pdf and .jpg
In order to generate a thumbnail out of an existing PDF resource, you should only include the public_id of the resource and the extension of the thumbnail format you desire.
Here is the correct URL for you to use:
http://res.cloudinary.com/de9ewfv2p/image/upload/w_200,h_250,c_fill,pg_1/ozmzf7kaecogblroqlhx.png
In case you run into more issues please feel free to open a new support ticket at https://support.cloudinary.com/hc/en-us/requests/new
Post is closed for comments.
Comments
1 comment