How do I access image context on the client side?
I'm working on a project with a lot of images with captions. It's important that the captions are displayed along side the images.
Cloudinary allows us to add a caption to each image. Yet there doesn't seem to be a way to access that caption using the image url.
I've searched tirelessly for a solution to this, and am surprised not to find anything. This seems like a fairly common use case.
Does anyone know how I can send a request for an image caption / context using the image url?
(If anyone at cloudinary is listening, it would be nice if this could be a header on the image response, so it could be done as one request.)
-
@John
The caption that is set in context is designed for internal use within the Cloudinary DAM (digital asset management) solution. It's meant to be able to easily manage the content and not meant to be retrieved via an external call for public consumption. You can programmatically retrieve this information using the Admin API (for administrative purposes) and store it elsewhere. The call you can do is here and requires setting the parameter context set to true. Note this is rate-limited as well.0
Post is closed for comments.
Comments
1 comment