showing image url under thumbnail in Upload widget
Hi, so I used the regular code here to embed the upload widget along with jQuery to show the thumbnails. Is there a way to show the url of the uploaded images under the thumbnails?
In another word, I want something like a href to copy URLs under the uploaded Images thumbnails to put them as images in a text editor...
Can you help me please :)
thanks !
-
Hi
Showing the URL of the uploaded image can be done by calling the "cloudinary_url" method with the public id that is received from the upload and then presenting that URL.
You can see an example of an upload widget with a URL preview in the fiddle below:
https://jsfiddle.net/mw30jy1d/23/
As for your second request, I didn't quite understand your use case. If you could further explain I might be able to help more.
1 -
Hi!
Thank you so much for your answer.. This is exactly what I wanted !
This helped me solve my problem, Here is the fiddle that shows you what I wanted to do:
https://jsfiddle.net/jnnzo8wa/1/
Thank you so much !
0 -
Thank you for the kind words!
Glad I could help.
1
Post is closed for comments.
Comments
3 comments