Right-click (Windows) or Ctrl+click (Mac OS) the link to the script below, and save the script to your desktop. Double-click the file to decompress it, which creates a file named ExtractPreviews.lua. If you can't locate this file, you can search your hard disk for it.
Extract preview for lost images
Sometimes lost or deleted photos in Adobe Photoshop Lightroom Classic still display a preview. The following script allows you to extract and save those previews.
The script extracts previews for all the images that are selected at the time you run the script. It extracts poster frames for any video clips that are selected at the time. You can choose a location for these files. The previews are in JPEG format, and the name contains the size of the image (for example, _MG_0233-360x240.jpg).
- The extracted previews don't contain any metadata from the original image.
- The extracted previews don't contain an ICC profile. So, if you import the extracted previews back into Lightroom, the images are imported with the sRGB profile.
To install the script, do the following:
In Lightroom Classic, choose Lightroom > Preferences (Mac OS) or Edit > Preferences (Windows).
In the Presets tab, select Show All Other Lightroom Presets.
Create a folder in the Lightroom folder and rename it as Scripts.
Copy the ExtractPreviews.lua script (from step 1) into the Scripts folder.
Quit and reopen Lightroom Classic.
In Lightroom Classic, choose Scripts > ExtractPreviews.Note:
In Windows, the Scripts menu is the last menu on the right. In Mac OS, the Scripts menu is to the right of the Help menu.
Choose a location for your extracted previews.