This plugin fills a
specific hole in Lightroom's “Grid Filter”, adding new fields
by which you can filter images: “Focal Length” and
“Focal Length in 35mm”.
This plugin works in Lightroom 6/CC (and older versions as far back as
Lightroom 3, though some features depend on the
version of Lightroom).
The same download works for both Windows and Mac. See the box to the upper right for the download link (in orange) and installation instructions.
“Focal Length” is the raw focal length of the lens,
while “Focal Length in 35mm” is viewed in terms of the
frame size of a 35mm film frame. With “full frame” pro cameras
these values are the same, but they differ for most cameras. The 35mm
version allows one to normalize the focal-lengths across cameras, judging
general “field of view” without regard to the specifics of the
This is similar in concept to my
“Megapixel Sort” plugin, and a more explicit way to look at focal-length
data than my “Data Plot” plugin.
(Also see my powerful Data Explorer
plugin, which lets you partition and group imgaes by 203
different data-related criteria, including the focal length.)
Calculating and Recalculating
Unfortunately, the Lightroom plugin infrastructure does not yet allow
for custom metadata to be created and updated automatically, so as you
import new images to your catalog, you must explicitly tell the plugin to
calculate these custom fields.
This plugin adds two items to the File > Plug-in Extras
menu, “Calculate Focal-length Sort”
and “Calculate Focal-length Sort for Entire
Catalog”. The former calculates the two custom-metadata values
for each selected image, while the latter does it for every image in
the current catalog.
Note: Focal lengths less than 10mm are rounded to the nearest
tenth of a millimeter. After that, focal lengths up to 200mm are rounded to
the nearest millimeter, while ones beyond that are rounded to the nearest
even 5mm mark.
“Sorting” By Focal Length
You can't actually sort via focal length, even using this
plugin, but you can use the Library Filter to do something close.
The Library Filter is in the Grid Module; use the
“/” key to bring it into view if it's not already visible.
(Be sure that you've calculated the plugin metadata, as described above,
prior to this step.)
In the Library Filter, select “Metadata”, then click on one
of the column heads and select either “Focal
Length” or “Focal Length in
35mm”, depending on you want to view the data. You should then
be presented with a list of focal lengths that apply to the
You can then click on one of the focal lengths to isolate only the associated
This plugin is distributed as “donationware”. I have chosen to make it available for free — everyone can use
it forever, without cost of any kind — but unless registered, its functionality is somewhat reduced after six weeks.
Registration is done via PayPal, and if you choose to register, it costs the minimum 1-cent PayPal fee; any amount you'd like
to add beyond PayPal's sliding fees as a gift to me is completely optional, and completely appreciated.
Note: a Lightroom major upgrade, such as from Lr5 to Lr6, de-registers the plugin in the
upgraded version, so if you want to maintain registration, a new ($0.01 if you like) registration code is needed in the upgraded
version. It makes for a hassle every couple of years, I know. Sorry. See this note for details.
For details on plugin registration and on how I came into this hobby of Lightroom plugin development, see my Plugin Registration page.
Update Log via RSS
Try to avoid yet another place where Lightroom gets hung because it can't handle certain kinds of dialogs at the same time.
Added a bunch more Canon cameras to the crop-factor database
Added data to the crop-factor database on the original iPhone, and the HP PhotoSmart 618.
Sigh, Canon continues to boggle the mind with their image metadata. It turns out that they released two
cameras with the exact same Make/Model identifier, a decade apart. This update now differentiates them so
that the 35mm-equivalent focal length can be calculated.
Added an old Kodak camera to the crop-factor database
Had the wrong data in the crop-factor database for the Fuji X100s. Fixed that, and added some other recent Fuji cameras.
Added a couple of Olympus cameras to the crop-factor database
Added Leica M type 240 to the crop-factor database
In the POODLE-vulnerability dialog, display a raw URL of a page on my site that discusses the issue, so that folks can be independently sure that the dialog is indeed from me and not malware.
Added some special-case sleuthing to try to guess the various Hasselblad H5D crop factors.
Added the Canon EOS 7D Mark II to the camera crop-factor database.
Added a bunch of Canon cameras to the crop-factor database.
Windows Only: Add a one-time check for the POODLE security vulnerability, and alert the user if it exists.
Added Olympus E-M1 to the camera crop-factor database. (Why Olympus can't include the crop factor in the metadata like most everyone else is beyond me...)
Previous updates broke support on Lightroom 2
Fixed an issue with Creative-Cloud revalidation.
Lr5.5 and later Creative-Cloud installs can now revalidate themselves if needed.
Sigh, had a bug in the Creative-Cloud support.
Now supports Lr5.5+ Creative-Cloud Installs.
Sigh, introduced an error for some folks with the rebuild the other day.
Added an "Expunge Plugin Data" section to the plugin manager, to allow plugin data to be cleared from the catalog.
Fixed a bug in the "smoother revalidation" stuff recently added.
Make the revalidation process smoother, especially for folks using Lr5.4 and later.
Oops, fix a bug introduced in the previous update
Added a bunch of cameras to the crop-factor database.
Added a few more cameras to the crop-factor database.
Added Canon 650D to the camera sensor-crop database
Added a bunch of data to the crop-factor database
Corrected the crop-factor data for the Canon Powershot G1 X.
Added crop data for a bunch of Ricoh cameras, some Canon, and another Fujifilm.
Added some crop-factor data for a bunch of Fujifilm cameras
Apparently, a recent change broke things on Lr2, which some folks apparently still use.
Added some Ricoh cameras to the crop-factor database.
Added a bunch of Canon cameras to the crop-factor database.
Fix an "attempt to perform arithmetic on field" error.
Update to handle the Mac App Store version of Lightroom.
Tweak for Lr4.1RC2.
Added some recent Canon SLRs. It's unfortunate that I have to do this, since there's a perfectly good Exif field for them to
indicate the 35mm-equiv focal length, but Canon doesn't use it. Sigh.
Enhanced the send-log dialog to hopefully make reports more meaningful to me, yielding, I hope, the ability to respond more sensibly
to more reports.
Added a bunch of Canon compacts to the database, and fixed a few that had been incorrect.
Had broken registrations in Lr2; Update to the debug logging to better track down timing issues that might arise.
Added a bunch of data to the crop-factor database.
More on the march toward Lr4, including upheaval in the code to handle Lightroom APIs being discontinued in Lr4.
Update for Lr4 beta: explain in the plugin manager that the plugin can't be registered in the beta.
Had issues with the registration button sometimes not showing.
Added a system-clock check and reports to the user if the system clock is more than a minute out of
date. An incorrect system clock can cause problems with various kinds of communication and authentication
with some of my plugins, so I've just gone ahead and added this to every plugin.
When doing a plugin upgrade, offer the ability to flush all the old copies of the plugin.
More updates to the internal crop-factor database. I really need to figure out a way to crowdsource this data.
A few updates to the internal crop-factor database.
Updated the internal crop-factor database for the Fuji X100, which doesn't seem to include its crop factor
in its metadata.
Made the revalidation process much simpler, doing away with the silly need for a revalidation file.
Assume any camera-model Exif with 'scan' in it is from a film/slide scanner, and treat as a full-frame size.
Discovered a bug in my plugin build system that caused horribly difficult-to-track-down errors in one plugin,
so am pushing out rebuilt versions of all plugins just in case.
Added code to allow plugin revalidation after having been locked due to a bad Lightroom serial number.
Yikes, shaking out some more build issues.
Discovered a nasty build bug; pushing a new version in case it affects this plugin.
This version can be registered in
Lightroom 3. It can run in Lightroom 2 or Lightroom 3; it does not work in the Lr3 betas.
It uses my new registration system when run on Lightroom 3,
which avoids some of the silly issues of the old one. Please take care to note
the details on the registration
page: use of this version (or later) of the plugin in Lightroom 3 requires a new
registration code, even if you had registered some older version of the plugin.
Added support for the Canon 550D/KissX4/T2i, which for some reason doesn't include
the 35mm-equivalent focal length in its metadata
Completely changed how the one-click upgrade applies the newly-downloaded zip file, in the hopes that
it'll work for more people. Rather than unzipping over the old copy, it now unzips to a temporary
folder, then moves the old folder out of the way and the new folder into place. Prior versions' folders
are now maintained (with the version number in the folder) in case you want to revert a version; you
may want to clear them out from time to time. Of course, it won't take affect until you try to upgrade
after having upgraded to or beyond this version.
Added two more custom metadata fields, "Cropped" (yes or no) and "Post-Crop Focal Length 35mm", which
indicates the effective focal length (in terms of a 35mm camera) of the crop. If there's no crop at all
(or no crop on one of the sides) it's the same as "Focal Length 35mm". Otherwise, it's larger.