Skip to main content
Known Participant
Mar 27, 2025 6:09 PM UTC
Answered

SDK find image path of a selected photo in Lightroom

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

 

 

johnrellis
johnrellisCorrect answer
Legend
Mar 27, 2025 9:08 PM UTC

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

3 replies

johnrellis
johnrellisCorrect answer
Legend
Mar 27, 2025 9:08 PM UTC

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

Translate
Known Participant
Mar 28, 2025 2:30 PM UTC

Thank you i will try it

Translate