When deleting an original image, all of its derived images (transformed versions) are deleted as well. How to destroy the original image and all it's derived versions can be found here.
For example, in Python, you can delete by calling the destroy method
$cloudinary->uploadApi()->destroy($public_id, $options = []);
To modify the original image, Cloudinary supports incoming transformations, this will transform your image before storing it in your account. Here's a python code example:
cloudinary.uploader.upload("sample.jpg",
"width" = 2000, "height" = 1000, "crop" = "limit")
Then you can either deliver this transformed image as is, or create any further transformations that you require (e.g., thumbnail).
The original image will never be stored in the first place.
Upload API documentation can be found here.
Comments
0 comments
Please sign in to leave a comment.