Categories
Photography

Howto sync recent photos in Lightroom Classic

Lightroom Classic comes with 20GB of space on Adobe’s cloud service (Lightroom CC/Web/app) but did you know that you can sync photos to the cloud and then edit them on your phone without using that space?

The original photos are not synced, but a smaller cut down smart preview is which in most cases will be indistinguishable from the original.

If you create a collection all the photos in that collection can be synced with the cloud. They’ll appear as an album of the same name in the Lightroom app on your phone or iPad. They also won’t take up any of that valuable 20GB of space.

Unfortunately Adobe won’t allow you to sync smart collections, and I presume that is intentional for whatever reason. However, with the help of the Any Source plugin you can configure it to sync smart collections with the cloud. This very handy plugin syncs the smart collection with a dumb collection that can then be synchronised.

I use it to synchronise the following smart collections:

  • Published photos.
  • Unpublished photos.
  • Photos on my TODO list.
  • Recent Photos from the last 3 months.

The plugin has a free trial but is PWYW and well worth paying for!

Syncing my recent photos with the cloud is simple.

  • Create a smart collection.
  • Call it “Recent Photos”.
  • Add one rule: “Capture Date” “is in the last” 3 “months”.
  • Save.

That will create your new smart collection. Now follow the instructions to synchronise smart collections on the Any Source homepage. It might take a few minutes for the album to appear in mobile Lightroom but it will eventually.

Categories
Photography

HOWTO: Square Instagram images with white borders

I noticed that a lot of Instagram users, such as Alan Schaller to name but one, were posting images with thick white borders to make their images into the square images that Instagram favours. I like the striking look these images have in the Instagram gallery.

I wondered for some time about the best way of adding this border and from brief searches there are apps that will add the border but my workflow involves Lightroom so I wanted to integrate the border making into my export process.

I work on a Mac, and already have ImageMagick installed so I knew a little shell scripting would probably go a long way.

A couple of searches later, and I found this page describing how to use ImageMagick to create a floating image within a square canvas without changing the aspect ratio of the image.

Instagram resizes to 1080px wide so by using the following code I could make a rectangular image into a square:

convert -background white -gravity center input.jpg \
     -resize 1080x1080 -extent 1080x1080 result.jpg

Here’s an example from my street photo today. See it on Instagram here.

Once I could do that, the rest was simple. I have a Lightroom export for Instagram images that resizes them and places them in a folder where they are synced automatically with my phone using Syncthing.

Export actions have a “post processing” section where Lightroom can call an external script. I created the following script, made it executable with chmod a+x add_instagram_border.sh and added to Lightroom using “Open in Other Application”.

#!/bin/sh

# Square and add white borders to images.
# https://odd.blog/

for i in "$@"
do
    /usr/local/bin/convert -background white -gravity \
        center "$i" -resize 1080x1080 -extent 1080x1080 \
        /tmp/out.jpg
    mv /tmp/out.jpg "$i"
    open "~/Sync/Instagram"
done

The script goes through the exported images from Lightroom, adding borders to them, and then at the end opens the folder in Finder for review.

Hopefully this will be useful to someone else. If you add borders to your images, how do you do it?

Categories
Photography

No need for camera straps on the ISS

The astronauts living on the International Space Station are in a microgravity environment, so no chance a camera will fall to floor. Just leave it next to you until you need it again!

‘Course you might need velcro to keep the camera stuck to a surface for the same reason. Gravity won’t keep it down but air currents in the station will blow it around.


From the NASA live stream of the Dragon 2 capsule that has just docked with the ISS.


Selfies are easy too. 🙂
Categories
Photography

Lightroom: spot heal bug after DNG conversion

I discovered a bug in Lightroom!

If you apply the spot heal tool to an area in a RAW file (in this case, a Sony ARW one) and convert it to lossy DNG the spot heal will become a pink square. It’s easily fixed by applying the spot heal again but of course this shouldn’t happen.

While on the subject of Lightroom bugs, a long time ago I also noticed that the Transform tool acted differently on the compressed DNG version of a photo compared to the RAW (CR2) version. Hopefully that’s been fixed because that was a couple of years ago and I’m sure someone else has noticed by now ..

Categories
Photography

Sony a7iii: AEL in Manual Mode

One of the Facebook groups I’m part of is Sony a7iii/a7riii setup Tips. It’s a relatively quiet group but it’s chock full of great tips for Sony’s latest cameras.
One of those tips was posted yesterday and Daniel Ockeloen, the group administrator, made a video of it which I have embedded above.

In manual mode, the AEL button can be used to maintain the exposure while you change settings. With AEL activated changing the shutter speed will change the aperture and vice versa. In effect it’s the same as going back to Aperture or Shutter Priority modes but it does allow more flexibility since AEL can be deactivated and you get full manual control again, with the same exposure.

Do other cameras do this? My Canon 6D doesn’t. Apparently Pentax cameras have a hyper-manual mode which operates in much the same way, but others have been saying for a long time that manual mode is manual mode and you don’t need auto exposure.

Categories
Photography

Bye Bye Google Backup & Sync

I’m a huge fan of Google Photos. It’s an amazing service that lets me quickly share photos with particular people, creates interesting images from my photos and it’s a convenient way to bring my photo archive with me on my phone.

Evening in Cork City

However, the new “Backup & Sync” app from Google that replaced the old uploader is problematic.

As well as uploading my photos to Google Photos it would backup to Google Drive. I don’t care about this feature because I use Backblaze for backups. I didn’t really realise what this meant when I first installed the app.

Slieve Liag

I told it to sync my “2018” folder and it dutifully started backing up to Google Photos but I soon noticed that the storage used in my Google account was decreasing. Eventually I found the computers section of Google Drive. All my files were backed up there.

It appears that “Don’t sync to this computer” doesn’t mean “don’t sync this computer to Google Drive”. However it does mean that any files deleted in the synced “Computers” section of Google Drive will be deleted locally. I found this out when I tried to save some storage space by deleting files off Google Drive. Later that day I fired up Lightroom and it reported that a large number of files were unavailable. I opened the folder in Finder only to see the images magically disappear before my eyes.

It was “Backup & Sync” deleting my local files. It was syncing deletes “to this computer”. Thankfully the files were still in the Trash so I could restore them quickly.

Cork City Hall in the fog

So, instead of wasting my storage I need to upload things manually. I see two options:

  • Drag and drop files on to a Google Photos browser window.
  • Sync one temporary folder where I copy duplicates of my photos. I need to periodically delete those files off Google Drive which won’t matter locally because they’ll be duplicates that are deleted immediately after upload.
Grand Parade under construction in 2007

It’s disappointing that Google merged the backup and sync functionality. Google Photos is not a backup service unless you pay for storage and upload full size images. For that reason I can see why they did it.

Categories
Photography Photos

Dealing with Lightroom Lens Profiles

Lightroom Classic CC supports a wide range of lenses but if you're not shooting in RAW you'll probably be out of luck if you want to apply a lens profile. All the built-in lens profiles were made with RAW files in mind. If you're shooting Jpeg then you're out of luck.

I usually shoot RAW but a few weeks ago I used Jpeg to do some street photography. All was well until I tried to correct the lens distortion. Lightroom couldn't find any lens profile! I thought my Lightroom install had been corrupted somehow. The list of lenses only included one Tamron lens, and not the right one.

After much searching and testing I figured out what to do. Paths are for a Mac. You'll find Mac and Windows paths in this blog post by the Lightroom Queen but the ideas are the same. Copy file, rename, edit, restart Lightroom.

  • Custom lens profiles go in the directory ~/Library/Application Support/Adobe/CameraRaw/LensProfiles/1.0/
  • The built in lens profiles are packaged with Lightroom, so find Lightroom in Applications, right click on it and then "Show Package Contents" to browse into it. You'll find the lens profiles in Contents/Resources/LensProfiles/1.0/
  • Look for the profile for your lens and copy it into the same camera/lens/ directory structure in the ~/Library/Application Support/Adobe/CameraRaw/LensProfiles/1.0/ directory.
  • Rename the new lens profile file, removing the " – RAW" string from the end of the filename.
  • Edit that file in a text editor and change every instance of stCamera:CameraRawProfile="True" to stCamera:CameraRawProfile="False". There will be quite a few of them for a zoom lens.
  • Restart Lightroom, apply lens profile to your Jpeg file.

Categories
Photos

St. Patrick’s Day 2018

The 17th of March this year was a very cold day. It was overcast and dreary. A bitterly cold wind blew. Ireland were playing England in rugby at the same time most parades were taking place, which makes it all the more extraordinary that people turned out at all to watch and cheer on the parades around the country.

The Blarney parade was smaller than previous years, and the crowd was definitely smaller too but they made up for it in sheer enthusiasm and good cheer. I have to salute those of the parade who walked the route dressed in uniforms or costumes. I could not have done it!

Categories
Photography

Organizing Photos in Lightroom

There are many articles out there that explain how best to store your photo archive if you use Lightroom. I was going to write one too but I don't think the world will really benefit from me rehashing what other writers have already said.

If you watch the video above by Peter Krogh, who wrote the book on Digital Asset Management, you'll have a good idea of the basics. I organise my photos in a very similar fashion.

Use Dated Folders

You may have read elsewhere or seen YouTube videos that encourage you to put descriptive titles in the folders where you store your photos, but I would urge you to keep the folder names as simple as possible. I agree with Peter Krogh that you keep the directory names simple but instead of using project names as he did above, I use dates. I use YYYY/YYYY-MM-DD as the folder name when importing.
Using project based folder names makes things complicated. Occasionally I won't bother copying photos off my camera, especially if they're just snapshots, so it would be an extra hassle importing first my cat photos from Friday, and then my street photos on Saturday. It's much easier to go into "Previous Import" and add a few keywords. This won't happen that often, but I guarantee it will.

When you're looking through your photo archive it probably won't be through a file manager, it'll be in Lightroom, so the folder names don't matter, but the dated folder names provide a logical and predictable naming convention that will always be the same.

Instead of relying on folder names use keywords and collections to sort your photos. Use ratings or colours to refine further. You can then use Lightroom filters to quickly find whatever photo you need. This short tutorial on collections explains how to use them.

Use Import Presets

As well as DSLR photos, I import photos from my phone into Lightroom, and now that I'm doing a 365 day photo project too I'll be importing fully edited photos from my phone. I use Snapseed to edit those photos so I wanted some way of identifying those photos. Import Presets were the answer!

I use import presets to configure import options like destination folder, file renaming, metadata information, keywords, and even develop settings:

  • Away: used when I'm not at home with my laptop. Usually on a work trip or holiday. The destination folder is on the local drive. Everything else goes to an external one. When I get home I move the files to external storage and tell Lightroom where the missing files are.
  • Jacinta's Photos: my wife's camera phone photos go in a specific directory with different keywords and metadata.
  • Mobile Import: import photos I've already synced from my phone. Adds the keyword "phone" and puts the photos into a different directory structure.
  • SD Card: settings used when I'm importing DSLR photos.
  • Snapseed: my newest import preset. This adds the keyword "snapseed" and moves photos into the same folder as the Mobile Import preset. I use the keyword to
  • identify these files.

Use Publish Actions

These allow you to export photos with particular settings. This allows you to tailor your photos for different sites. For example, Instagram uses 1080×1080 pixel images. Your blog will have a different width. Facebook has other restrictions.

Use the WordPress Lightroom Plugin

The Lightroom Exporter for WordPress allows you to export photos from Lightroom into your WordPress.com or self hosted WordPress site (if you're using Jetpack).

There has been so much written about Adobe Lightroom it's not hard to find answers to whatever questions you have. This was just a short summary of my thoughts about photo organization. I have a photo archive going back to 2001 and it has worked well for me. It'll probably work well for you too.

Categories
Photography

The Importance of Backups

How many backups do you have of your important files? I have several backups of my photo archive:

* A local rsnapshot (incremental) backup made every six hours.
* A local copy of my photos directory, which is a straight copy, including deletions. Synced daily.
* A copy on another server synced daily.
* An online cloud backup on Backblaze.

And I still managed to lose a few days worth of photos.

Late last month I took delivery of a new 8TB external drive. I benchmarked it and it was just a bit better than any of my existing drives so I decided to make that the primary location for my photos. I called it “cats”.

Previously my photos lived on a drive imaginatively called “data”, but that would now become my secondary copy.

With my photo archive copied over (all 2.3TB of it), I edited my backup script so it would not accidentally erase my photos on cats, especially not any newly imported photos. I updated rsnapshot so it used cats rather than data, and made sure that Backblaze was backing up cats too. It all looked like it would work perfectly!

The next day I didn’t take any photos, or the next, I took a couple of photos with my phone but didn’t transfer them to my laptop immediately. Then one morning I took a photo of the sunrise, and the following day I did the same.
I edited a few of the images and uploaded one on the same day. Nothing wrong at all.
The next day I went into Cork to photograph Glow Cork and got some nice long exposure photos of the lights. I went in the next day on December 3rd and did the same.

I worked on a couple of shots, but I was busy, and didn’t have time to work on photos until this evening when my world fell apart as Lightroom reported it only had the smart previews for my latest photos. With a sinking feeling and forced calm I checked the 2017 folder. It all looked good, until 2017-11-19 that is. Nothing there after that.

I frantically checked my backup script again and again, poring over each line to make sure the right files were being copied to the right place but it looked ok.
I checked my rsnapshot folder. That should surely have the missing files. No. No, it didn’t.
I checked my other server and the files weren’t there either. They stopped at 2017-11-19.

I checked Backblaze, and the backup made today ended in 2017-11-19 too.

Dumbfounded and a little desperate I started clicking on the end date in Backblaze, going back a few hours, then a day, and another day when I found something weird. I found my December 1st and 2nd photos, but not in the cats drive, but in the data drive!

I’d forgotten to update my Lightroom import preset. Lightroom was still copying my images into the data drive, and then my backup script would delete them the next day. Rsnapshot wasn’t backing them up either because it was now looking at the cats drive.

I started a restore of my December photos off Backblaze. The 3.7GB of data is still downloading. Luckily I hadn’t formatted my camera SD card so my December 3rd photos were still there too, waiting to be copied over again. Once converted to DNG, copied into place, renamed and metadata data updated, Lightroom was happy with those files.

I learned a lot about Backblaze. Without it I would have completely lost my December photos, including this one and the photo at the top of this post.

However, I could not find backups of photos shot from November 20th to 30th. Most of those were sunrise photos, copied to the laptop after the daily backup script had run so Backblaze should have had a day to back those photos up. The restore process offers hourly backups over the last two days, then daily for the next 7 days, then weekly going back a month.

I suspect that Backblaze considered the daily backup done sometime around 7am UTC right after my backup script had deleted the files but that doesn’t explain how I was able to find my December shoot because that was past the hourly deadline. I need to contact Backblaze to find out why.

I still recommend using Backblaze. Last week several factors conspired to make my backup fail:
1. My DSL has a relatively slow 1Mbps upload.
2. I had my laptop unplugged from my external drives for several hours.
3. Backblaze doesn’t immediately back files up.

Then there’s the bad luck to find this problem after more than a week when Backblaze changes to weekly snapshots. It has it’s limitations but it still saved a bunch of my photos and I am very thankful to have it!

I’ve already changed my backup script so it won’t mirror deletions. If I’m going to delete files I’m going to do it soon after copying them onto my laptop and I remove files so rarely it’s not needed in the backup script.