Multiple Upload Widgets on the same page
I am using an upload widget in a way that you described in your guide - https://cloudinary.com/documentation/upload_widget.
But I cannot use multiple widgets on the same page, because they are overwriting each other.
Is there any way to give them different context?
-
Hi,
We are currently checking a solution for this issue :)
I will update you.
Best
Yakir
0 -
I am having the same issue. Any update?
0 -
Hi Jungal, Andrea,
Multiple widget instances could indeed overwrite each other, however, in some case these could work fine.
For example, this JSFiddle includes an example of initiating 2 instances of the widget - https://jsfiddle.net/eyalkt/ro5map8z/ (be sure to set your cloud name and upload preset)
In order for me to try and find a suitable solution for your use case, could you kindly share additional details/examples of the issues you've encountered when trying to initiate multiple widget instances?Thanks!
0 -
Do you have any updates for multiple widgets yet? I created a widget to upload photos but I would also like to create another widget for audio.
0 -
Hi Shawn,
Have you tried using the code sample from https://jsfiddle.net/eyalkt/ro5map8z/ where 2 upload widgets were created (widget1 and widget2).
Thanks.
0
Post is closed for comments.
Comments
5 comments