Home > Blockchain >  I cant get Image URL for JSON file
I cant get Image URL for JSON file

Time:10-23

I have some images on my computer, I want them to use in JSON files Now I need the image URL. How can I get it?

CodePudding user response:

{
  "imgUrl":"./path.to.img"
}

CodePudding user response:

If you are going to use it on the web page, you'd better upload them on cloud or your own server.

You can use something like https://imgbb.com/

and then when you successfully uploaded an image, paste it to your JSON file

{
 "url" : "https://ibb.co/5cNJQfr"
}
  • Related