Skip to main content
Question

Getting the original image file name from the API

  • November 9, 2021
  • 2 replies
  • 3373 views

Asad_Khan

Figma doesn’t keep the original file names for image fills in the UI. However, there used to be a workaround for by getting the file name in Inspect > CSS code in background property.

As recently, Figma stopped showing original image filenames even in the generated CSS code, I was looking into API to see if the original image names are preserved anywhere. I couldn’t find the original filename on any of the endpoint JSON.

Perhaps I’m missing something or is this info isn’t anywhere in the API?

2 replies

Scout_Digital

Super helpful. Thank you.


Josh.C
  • 2 replies
  • June 19, 2024

Looks like you can still grab the original file in Dev mode - no idea how this translates into the API though:


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings