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
The same download works for both Windows and Mac.
See the box to the upper right for the download link 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 131
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 later 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
Note: a Lightroom major upgrade, such as
from Lr3 to Lr4, de-registers the plugin in the upgraded version, thus
requiring (if you want to maintain registration) a new (1-cent if you like)
registration code 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
Update Log via RSS
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-equivelant 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.