Cloudinary supports returning the number of pages in a multi-paged PDF.
As part of the upload response, Cloudinary also returns the
pages parameter, indicating the number of pages within the PDF.
For already uploaded images, use the Admin API to retrieve the
pages information for a specific resource. For example, in Rails:
Cloudinary::Api.resource("my_pdf_file", :pages => true)
I'm having trouble implementing this. I am replacing "my_pdf_file" with my cloudinary link to my pdf that is already uploaded but I get an error that says
Cloudinary::Api::NotFound at /
Resource not found -
Any help would be appreciated. Thanks
Can you please open a ticket at email@example.com with more information on your implementation and your cloud name?
i have the same problem. Is there any solution yet?
Hmm ok. The public id is needed. Makes sense^^
Please sign in to leave a comment.