I am trying to access pdf using public url uploaded on cloudinary however url request has been successfully completed but nothing showed.
Permission : Blocked for delivery shows in properties of pdf on cloudinary
If you are on a free plan and need to deliver files in these formats, you can navigate to the Security tab of Settings in the Management Console and select to 'Allow delivery of PDF and ZIP files' or find it at the bottom.
Based on a recent update to our security policies, we've restricted delivery on newly created Free accounts for PDFs and Archive files. Such files can still be uploaded, but the restriction is specifically on delivery.
For PDFs that are uploaded with resource_type
- "image", as they support transformations, they can be converted to images and will be delivered - e.g. by using the page
transformation (pg_
in URLs) and setting the extension to jpg. -
in javascript we just need to replace extension to .jpg
response?.data?.url.replace(".pdf", ".jpg")
source
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With