I noticed right away that the lens name was not what I had expected. It was missing the Fujinon branding. This omission is not a limitation of Jeffrey’s export filter. The Metadata Wrangler Export Filter uses the information stored in Adobe Lightroom, which does not have the lens manufacturer information. The Metadata Wrangler can not extract information that isn't available. However, I wanted a solution.
While reading the Template Token help page for Jeffrey’s plugins, I learned that a solution was possible if I used the special {LUA} token. This token allows you to execute arbitrary Lua code in Metadata Wrangler. I don't know Lua, but I learned enough from Jeffrey's examples on the help page and the Patterns tutorial on the Lua wiki to get some working code. All Fujinon images either start with XF or XC but I have XF lenses only. To test out my code, I downloaded Lua to my Linux server. The code snippet below is all I needed.
{LUA= if Lens ~= 'XF*' then return sprintf("%s", "Fujinon") end }
I combined that snippet with my existing filter template.
{CameraName?{CameraName} | } {LUA= if Lens ~= 'XF*' then return sprintf("%s", "Fujinon") end } {LensInfo?{LensInfo} | } {Aperture?{Aperture} | } {ISO?{ISO}}
All Fujinon images either start with XF or XC but I have XF lenses only. When or if the need arises, I may update the code to account for that.
I'm lazy. I try to automate routine, repetitive tasks. One task I performed repeatedly for photo blogging was exporting images to upload to WordPress. My workflow used to export sized images to disk, upload each image to WordPress, optimise the image with a WordPress plugin, and then edit the image caption for use later in a post. It was tedious.
To make this work, you'll need Adobe Lightroom Classic CC, Automattic' WordPress plugin, Jeffrey Friedl's "Metadata Wrangler" Export Filter, and JPEGmini Pro Suite. The requirements assume you're running macOS Mojave. I don't use Windows. For me, Linux is a server OS. I also think all the required software is installed already, including Jeffrey Friedl's filters and presets, JPEGmini Pro Suite, and Adobe Lightroom. Jeffrey Friedl has excellent instructions on installing and using his "Metadata Wrangler" Export Filter on his website. You'll need WordPress.com or self-hosted WordPress with Jetpack installed.
Configuration
The setup for the JPEGmini Pro plugin is complete once it's installed. There are no settings. Automattic's WordPress plugin configuration can be found in my earlier post. JetPack is a requirement for this to work. I don't think it's necessary to repeat all the steps here. Setup and configuration for the "Metadata Wrangler" Export Filter are the same as in my earlier post on the topic.
From the "export preset" window, add the JPEGmini and Meta Wrangler post-process actions to the export preset.
The export template that I am currently using is as follows:
I set the image's title in Adobe Lightroom before I exported the image. The template sets the image caption upon export by appending the title and image-specific information.
Example.
Upper Buttermilk Falls along the Gorge Trail, Ithaca, New York — FujiFilm X-T2 + Fujifilm XF16-55mmF2.8 R LM WR — (16 mm, f/16, ISO200)
Other notes
While I use the specific setup for WordPress, if I used Jekyll or Hugo or some other static site generator, my image file export to disk workflow could work for that purpose. It's similar to the preset mentioned above, except the images are exported to the disk where Jekyll resides. I would still need to edit the content file and insert links to the pictures manually. Exporting images from my Adobe Lightroom catalogue to disk, WordPress, Instagram, email, etc., is done with variations of this export preset. The only thing that changes is the export destination.
Summary
Using this Lightroom export preset, I name, size, caption, optimise, and export my image files directly to WordPress. It's one step - right-click, then select the export preset.
As of the beginning of 2020, LR/Instagram is no longer a viable way to post directly to Instagram. The developer's note on their website says, "Service Note: Instagram has updated their protocol, and currently plugin does not work. We are investigating the issue, and the plugin will be updated when a fix is available."
As of the beginning of 2020, LR/Instagram is no longer a viable way to post directly to Instagram. The developer’s note on their website says: “Service Note: Instagram has updated their protocol and currently plugin does not work. We are investigating the issue and the plugin will be updated when a fix is available.”
Jeffrey Friedl is a software developer and photographer based in Japan. For years he has been scratching his own itch and creating plugins for Adobe Lightroom that make using and exporting images from Lightroom easier. He makes these plugins available for a nominal fee -- whatever you want to pay. I've used many of his plugins for years.
Need to export images to Tumblr or Twitter or Facebook? Need to control what metadata is/isn't included during any export? Need to inject Creative-Commons license data into exported images? Jeffrey has written plugins to do each of those things. And some of the export plugins can be combined with other export plug-ins. Which is what prompted this blog post.
Some time ago I [started using the Automattic’s WordPress.com export plugin to export directly from Adobe Lightroom to my Jetpack-powered WordPress.org website. This plugin-in saves me time.
One of Jeffrey’s plugins is the Metadata Wrangler Export Plugin. This “export filter” plugin for Lightroom allows me to strip or modify selected metadata components from images as they are exported.
I just learnt a trick for adding EXIF data to the caption of the images I post to this website and also to Instagram by combining the two plugins.
I use the Metadata Wrangler Export Plugin as a post-process action to overwrite the caption metadata field with image data from my Lightroom catalogue before it is exported to WordPress.
Here’s the information inserted into the caption.
{Title?<p>{Title}</p>—}{Caption?<p>{Caption}</p>—}
<p>{CameraName?{CameraName}} {Lens?+ {Lens}} {FocalLengthMM?@ {FocalLengthMM}}, {Aperture?{Aperture}} {ShutterSpeed? at {ShutterSpeed}}, {ISO? ISO {ISO}}</p>
{RightsUsageTerms?<p>{RightsUsageTerms}</p>}
These preset template tokens inserts the image capture information such as camera make and model, and image EXIF data.
On my WordPress website, images with a caption display will display capture information.
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to using ALL the cookies. However, this website has no interest in selling your information. It does not explicitly use social media cookies from Facebook, Google, Twitter, Threads, Instagram etc. Read More
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.