Images above 1mb causing an error
I am loading up images from a web proxy and doing manipulations on them right away using a Node app. Everything seems to be working with smaller images, however going above what seems to be the 1mb limit on a source image size is bringing me to a "This page isn't working page". I can see the high res images in my media library so the upload is working at least. Reading it seems the limit is 10mb, is this not the case?
Thanks,
Cole
-
Hi Cole,
Thank you for reaching out.
I am not quite sure how you are doing the upload to your Cloudinary account and where you are getting the error?
Could you please provide some examples and screenshots?Please note that there are some maximum limitations (Free Plan) that you should be aware of:
- Maximum image file size= 10 MB
- Maximum image megapixels= 25 MP
- Maximum image width/height : 65500
I hope this clarifies the subject. Please feel free to share with me any additional questions you might have.
Thanks and Regards,
Wissam
1 -
Hi Wissam,
Within my node app I utilize the following code
transformationsArray = [
{color: "#222222", overlay: {font_family: "Montserrat", letter_spacing: parseInt(req.body.width/80), font_size: parseInt(req.body.width*.95), font_weight: "medium", text: "Title"}},
{flags: "layer_apply", gravity: "north", y: parseInt(req.body.height-(req.body.height*.216))}
];
cloudinary.image(`${process.env.THIS_URL}/${uniqueName}.png`, {
background: "white",
gravity: "north_west",
height: req.body.height,
width: req.body.width,
x: parseInt(req.body.height*.05),
y: parseInt(req.body.height*.05),
crop: "mpad",
type: "fetch",
transformation: transformationsArray
});This code takes in a generated image and puts a white border around it with varying widths on the sides. It works fine when the generated image is below 1mb but as soon as it crosses that limit the page just says "This page isn't working page". Like I said though this is odd as I can see the image in my media library from my dashboard
The link returned fine if the file is below 1mb, any ideas?
Thanks,
Cole
0 -
Found it, turns out i was hitting the 25 MP limit, it isn't offer what the limit for this is at higher tiers, just size limits for storage and uploads. Where can I find that?
0 -
Hi Cole,
Glad to see that you have found the issue - reaching the limitation of 25 MP.
Please check this link for more information on the different plans we offer:
https://cloudinary.com/pricing/compare-plans
You could see that our Advanced Plan has an image megapixels limit of 50 MP instead of 25 MP.
Hope this helps, please let me know if you have any further questions.
Thanks,
Wissam
0
Post is closed for comments.
Comments
4 comments