[ad_1]
I used Image Map Pro to add links to different parts of an image. When I was finished, it game me a chunk of JSON code. How do I put that on my site? I use Gutenburg blocks, and there’s a JSON block, but it wants me to upload a file, not a string of code. HELP lol!
[ad_2]
Can’t you just put it as a text block and change the text format to ‘code’?
I never used image map pro… but what i see is that You are exporting the save file. Thats not how to do it to embed the image into your page… You need to follow this
You typically don’t embed json code since it’s a data structure thet needs to be parsed and rendered in some way. Newer versions of wordpress reject json code even if file extension is changed to something like txt.
From this map service you are using you should be able to get either an iframe embed code and/or an html file containig the map that you can publish yourself.