-
Notifications
You must be signed in to change notification settings - Fork 4
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
Store public_id in image object? #8
Comments
It looks like this line should be storing all the meta data as needed: But its not saved anywhere to the orion collection? -mm |
@mmccoy , So I have a few projects using this, and I had to implement a work around to take the url and split the "image.url" that the For now, as stated above i'm having to take the url that's generated by the image attribute and actually pick off the cloudinary url. This is certainly not ideal, and is a lot of extra work that is un-needed for every image that is loaded. |
Okay, fair enough, I'll do the same -- please let me know if you land a PR somewhere that actually populates the orion image object with the returned cloudinary meta data. Thanks for your work! |
Will do and no problem thank you for using the package
|
Now that I maintain the Orion project I will consider merging in this option with the image attributes that so we can store the ID. |
Thanks for putting this package together.
I'm using it, uploading to Cloudinary is working, however when displaying them in a template -- the orion.attribute('image') object has no reference to the cloudinary 'public_id'.
So I can't do something like:
<img src="{{c.url public_id crop='fill'}}"/>
The returned image object looks like this:
How is it possible to get a reference to the cloudinary provided public_id?
-mm
The text was updated successfully, but these errors were encountered: