How can I upload images >20MB using transform url?
I'm using cloudinary's transform url https://api.cloudinary.com/v1_1/demo/image/upload to optimize my images. It works fine for images smaller than 20MB but when I try to upload an image >20MB it fails.
After researching I found out that that's the maximum image size which is allowed for paid plans. But the sdk's provide some methods to upload large images using upload_large methods and so.
So is there any alternative like this in transform url as well?
Answers
-
Hi @DevNaya ,
Thanks for reaching out.
Yes, so the Plus plan has max image file size of 20MB (
).The SDKs do provide upload_large method and this is relevant for assets greater than 100MB so in your case this is not required for images as it's capped at 20MB but you can use it when uploading videos greater than 100MB as Plus plan comes with a max video file size of 2GB.
Can you please clarify what you mean is there any alternative like this in transform url as well?
Please look at
regarding various ways you can transform.Please let me know if you have any questions.
Kind Regards,
Thomas
0 -
Hey Thomas,
First of all thanks for the reply and really sorry for the late response.
So in my application I'm using urls to transformer my images.Let's assume this
So this works fine, but when I try to optimize an image with size > 20MB same way, it is not working with request failing with an error 400 Bad Request.
So I was curious if there's a way I can keep using url transformation and also upload large images.
Thanks,
Naya Dev0 -
Hi Naya,
I can see that you are on the Plus plan.
I've increased your max image files size from 20MB, to 30MB. If you need a higher image upload filesize limit it will be necessary to increase your plan to the Advanced Plan or reduce the size of the image ahead of uploading to Cloudinary.
Hopefully, that is helpful, please let us know if we can do anything else to assist you.
Thanks,
John1