Can I hide the original id/upload name of an image while applying a transformation
We are using cloudinary for user generated images. Let's say the users upload their profile images.
but when we are showing that image to the "non-friends" of that user, we want to show the pixelated version of it. However, since pixelation is just a transformation, anyone with some idea of how to play around with cloudinary transformations, may be able to see the actual image. So, we want to hide the actual image id and have the pixelated image available through a "masked url". What is the "Cloudinary way" to achieve this?
-
having a similar use case, would be nice to get that answered
0 -
You can upload images as 'private'. The original images are not available for access by the public. Together with the 'Strict Transformations' mode, you can define certain transformations (e.g., thumbnail) that are available for the public and delivered to your users through a fast CDN. For the less common case of accessing the original images, you can download the images using an authenticated API (bypassing the CDN). More details are available in the following blog post:
http://cloudinary.com/blog/how_to_quickly_build_a_stock_photo_site_using_cloudinary0
Post is closed for comments.
Comments
2 comments