leva
leva copied to clipboard
Suggestion: Accpet image link on drop
On the image input, it's possible to drag and drop an image file from the device to be used. A suggestion for that input is to accept image URLs, so it's possible to search an image online, drag and drop it to the input and it works!
I've done that in a plugin for tweakpane by reading the URL, fetching the image and then using it
Do you want to open a PR for this? It would be great!
Wow, this would be super useful for quickly testing things in the browser (e.g.: textures, HDRI environment maps)! 🤩 I'll look into it this week and make a PR if I have time.