Skip to main content

Is it possible to add a query parameter to load an image inline?


Pseudo-code, so bear with me:


<img src={`https://figma.com/api/v1/images/${KEY}?token=${FIGMA_TOKEN}` />

Or is it recommended to fetch img src asynchronously using the API?


Thanks!

It is not possible and I wouldn’t recommend sharing your personal token on the web publicly.


No, you can’t add a query parameter to load an image online. It’s impossible.