Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin doesn't expose the context metadata available on Cloudinary #10

Open
marcos-abreu opened this issue Nov 25, 2021 · 2 comments
Open

Comments

@marcos-abreu
Copy link

marcos-abreu commented Nov 25, 2021

This plugin doesn't expose the context metadata available on Cloudinary.

By default cloudinary allows users to set caption (called title on the web interface) and alt (called description on the web interface).

Aside from that, Cloudinary also allows users to set a key/value pairs of context metadata as they see necessary.

This plugin should expose at least the default context metadata, allowing core data to be available when querying sanity assets.

@marcos-abreu
Copy link
Author

I've opened a PR for this here: #9

@marcos-abreu
Copy link
Author

marcos-abreu commented Nov 28, 2021

In order to test my changes I've created a branch in my fork called github-install - this branch has simple modification on the package.json script where I switch the prepublishOnly with a prepare to allow a proper package install direct from github.

npm install github:marcos-abreu/sanity-plugin-cloudinary#github-install

This code was tested in a project with: Gatsby / Sanity / Cloudinary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant