Skip to main content
Known Participant
March 27, 2025
Answered

SDK find image path of a selected photo in Lightroom

  • March 27, 2025
  • 1 reply
  • 245 views

Hello, in a file lua, by a command, how can i get the imagepath of a selected image in lightroom:

I selected images by:

local images = catalog:getTargetPhotos()

and now i need to get the images paths

 

Thank you

 

 

Correct answer johnrellis

You can reference photo.path or photo:getRawMetadata ("path") -- they're equivalent.

1 reply

johnrellis
johnrellisCorrect answer
Legend
March 27, 2025

You can reference photo.path or photo:getRawMetadata ("path") -- they're equivalent.

Known Participant
March 28, 2025

Thank you i will try it