Skip to main content
Question

Pasting image to canvas from URL

  • February 4, 2023
  • 2 replies
  • 865 views

Liza_Svitanko

Hey there!

I’m developing my own plugin and was wondering is it possible to create a frame/rect and set a background of it as an image based on the URL of that image (like backgroundImage in CSS)? I only have a URL and not the bytes or hash.

Thanks!

This topic has been closed for replies.

2 replies

tank666
  • February 4, 2023

More recently, Figma released a method for creating an image from a URL. You can find detailed information with example at the following link:

figma.com

Liza_Svitanko

Thank you! That’s exactly what I needed.