Colour Correction and enhancmentt made simple


The Workflow Book


Landscape photography and philosophy

The book on Exposure

Guide to great Photography Book

Great photography and how to do it

rssFeedBlog

Tuesday, 29 September 2009 

Using Relative Paths in Lightroom part 3

If I only understood what it is the Lightroom team have against relative paths, I would be a happy man. They seem to have gone well out of their way to make life really difficult. We have huge amounts of flexibility when naming files. File names can have any number of different bits of exif and xmp data embedded in them, but ask for the subfolder to support a simple ../ comand and it all goes horribly wrong.

Having done battle to get editing to support relative paths. The final place where I need LR to support relative paths is on export. This would seem a simple thing as there on the screen is an option to output to a subdirectory. Naively I figured if I entered the subdirectory as ../WebReady lightroom would happily plonk it in a sibling folder next to my raw files. But it was not to be, the entry goes red and I get told I can't use those characters. Why the blinky flip not? The Adobe relative path police strike again!

But a bit of thinking and a read of Inside Lightroom gave me an idea. So this is how you get round the problem.

First create your export with all the settings you need in it. Select Put in a subfolder and enter the subfolder name without any pathing characters (./ etc)


Now save that as an export preset - in my case I called it Screen Previews 1024x768, You will find that this has created a file in the presets folder with the same name as your export and a .lrtemplate extension


All you need to do now is open the file in a text editor and edit the line marked export_destinationPathSuffix. Simply add the required pathing there and save the file.

Next time you run your export it will happily go to the directory you want. Simples!




Related Posts

Using relative paths in Lightroom part 1
Using relative paths in Lightroom part 2

Labels: , ,

Tuesday, 15 September 2009 

Using Relative paths in Lightroom

A while back I mentioned that I found Lightroom to be a bit "claustrophobic". I hadn't been using the system long when I came across an example of this: I noticed, that when I selected Edit in Photoshop that Lightroom first creates a psd file in the same directory as the raw file then opens this file in Photoshop. This is all well and good but personally I would like to use Tiff format and not have the files in the same directory (I know I'm a control freak).

So I wandered off to the preferences section and there I seem to be able to change the file format (which is great), but not the folder the file is created in (which isn't). So I take a look in the Export options, there I can enter a subfolder but it won't let me enter a relative path it has to be a sub folder….arrgh!

For those that don't know what I am on about a relative path is something like this ../tiffs the two dots mean "up one level" and the slash means go to a sub folder. So in this case we are asking to go to a tiffs folder that has the same parent as our current folder.

Another annoyance is why have different setups for editors and exports? As far as i can see editors are really only a specific type of export, so why configure them in 2 different places?

Most sane people would by now have just let the generated files go into a subfolder and have done with it, but I have been doing things this way for 3 or 4 years now & I don't see why I should change just because someone at Adobe can't be bothered to support relative paths.

So I decided to see if there was a way round the problem and eventually I think I have it sorted.

First go into preferences and click on the external editing tab. Down in the additional external editor section you need to setup the program you want to use and the file format. From the dropdown menu at the top you can then select save current settings as a new preset and name your settings.


Now we need to add a new filename template. Click on the dropdown for filename and create a new preset. This is where you can add a relative path.



Now when I call up an external editor it works just how I want it to…..



…well except Photoshop CS2 - someone at Adobe really hates relative paths. Photoshop doesn’t seem to open the paths with relative addressing in them. Most other applications seem to understand that

C:\Working\2009\08\01\Raw\..\Tiffs\CS20090801-17738.tif
really means
C:\Working\2009\08\01\Tiffs\CS20090801-17738.tif

But Photoshop doesn’t! In part two I'll be detailing my little fix that gets round this problem.

Labels: , , ,