Upload Image in React Playground

Asked by balaji choda about a month ago


Im unable to upload an image inReact PLayground .Can anyone please help ?

1 Answer


    Hey Balaji, looks like a few binary files aren't being support direct upload with the new VS Code Infrastructure on the playgrounds. The currently alternative is to download the image directly to the playground instance without making use of the UI.

    You can use the curl -O command.

    You can try this on the playground for example.

    curl -O

    If you're looking to upload an image that is available locally on your computer, you can upload it to google drive, GitHub or any other resource before downloading it to codedamn playground for the moment.

    We are still working on a potential fix for the image upload via Drag and Drop




Your answer