This is a simple Lightroom Plugin which enables Adobe Lightroom to filter based on the aspect ratio of the photos. Basically the plugin just adds a custom metadata field - which is searchable - to all images and sets the value to the already existing aspect ration read from the metadata of the photo. When doing this the numeric aspect ratio is translated into a textual aspect ratio (e.g. 2:3). Additionally there the following options available to to reset the aspect ratio custom metadata via library action (Library → Plugin Extras → Aspect Ratio Filter)
- Aspect Ratio Filter (current photos)
-
Aspect Ratio will be reset on all photos in the film strip or the selected photos.
- Aspect Ratio Filter (all photos)
-
Aspect Ratio will be reset on all photos in the catalog.
This plugin follows Semantic Versioning 2.0.0!
Just download a release bundle or clone this repository to a location of your choice and add it via File → Plugin Manager to Adobe Lightroom. When you add the plugin the first time, it will automatically update all of your pictures in the catalog with the custom aspect ratio metadata.
If you want to enable logging create a config.lua file in:
- windows
-
C:\Users\${USERNAME}\AppData\Roaming\Adobe\Lightroom
- mac
-
${HOME}/Library/Application Support/Adobe/Lightroom/config.lua
This file must have the following contents:
link:./config.lua[role=include]Logfiles are then placed in:
- windows
-
C:\Users\${USERNAME}\Documents\LrClassicLogs\AspectRatioFilter.log
- mac
-
${HOME}/Documents/LrClassicLogs/AspectRatioFilter.log
|
Important
|
You must restart Adobe Lightroom for initialisation and changes on that file. |
-
Strange error when using LrProgressScope
-
Maybe add the possibility to view the Metadata in a custom TagSet