• Welcome to the Lightroom Queen Forums! We're a friendly bunch, so please feel free to register and join in the conversation. If you're not familiar with forums, you'll find step by step instructions on how to post your first thread under Help at the bottom of the page. You're also welcome to download our free Lightroom Quick Start eBooks and explore our other FAQ resources.
  • Stop struggling with Lightroom! There's no need to spend hours hunting for the answers to your Lightroom Classic questions. All the information you need is in Adobe Lightroom Classic - The Missing FAQ!

    To help you get started, there's a series of easy tutorials to guide you through a simple workflow. As you grow in confidence, the book switches to a conversational FAQ format, so you can quickly find answers to advanced questions. And better still, the eBooks are updated for every release, so it's always up to date.

Assigning unique reference number to images in catalogue ?

Status
Not open for further replies.

AlexBrandt

Member
Joined
Mar 19, 2018
Messages
96
Location
Berlin, Germany
Lightroom Experience
Intermediate
Lightroom Version
Classic
Lightroom Version Number
2015.14
Operating System
Hello all,

I'm preparing to send some of my images to a press agency. Labeling and workflow is important in these cases...
I realize the best would be to be able to assign a unique reference number to each images of my catalogue, and when exporting, using that number as file name.

Is that possible ?
Essentially, I have to be able to go back in LR once the press agency has made their selection from small viewfile versions, and re-export at larger res of the images they chose.

What other solution can you recommend ?

Thank you !
 
If your images have a unique ref number, you can of course use it for exporting, I would suggest : yourname-yourrefnumber.
If not, you could rename your photos during export like this : yourname-date-yourrefnumber.
The best is to have a unique ref number for all images in the catalog during import by renaming them like date-sequencenumber.
 
If your images have a unique ref number, you can of course use it for exporting, I would suggest : yourname-yourrefnumber.
If not, you could rename your photos during export like this : yourname-date-yourrefnumber.
The best is to have a unique ref number for all images in the catalog during import by renaming them like date-sequencenumber.

Hey Bernard,
That's the thing. I don't have unique ref numbers.
Is there a way to batch apply ref numbers in one of the metadata fields which I can use during export ?
 
I use the Run Any Command Plugin. On export I run this command:
Code:
"c:\Program Files (x86)\Exif\exiftool.exe" -overwrite_original -preserve -MasterDocumentID={FullMasterFile} "{FILE}"

By this I add full path name to Exif tag "MasterDocumentID" - no matter which name the exported file gets.
Perhaps -UniqueDocumentID={UUID} would be also useful for you.

Base on the selected images you can read the exif data and print the path names into a plain text file. Then use such text file with Photo list importer in order to select these images in LR.
 
I use the Run Any Command Plugin. On export I run this command:
Code:
"c:\Program Files (x86)\Exif\exiftool.exe" -overwrite_original -preserve -MasterDocumentID={FullMasterFile} "{FILE}"

By this I add full path name to Exif tag "MasterDocumentID" - no matter which name the exported file gets.
Perhaps -UniqueDocumentID={UUID} would be also useful for you.

Base on the selected images you can read the exif data and print the path names into a plain text file (or just copy to clipboard):
Code:
exiftool -T -MasterDocumentID *.jpg

Then use such text with Photo list importer in order to select these images in LR.
 
Alex,
As I said, you can rename during export like : yourname-date-yourrefnumber , assuming your ref number is unique for any day. you will be able to retrieve the photo later in LR with the date and ref number.
another (big bang) option is to rename all photos of your catalog, if they are not too many to : date-filename , again assuming your present filename (ref number) is unique for any day. Better backup the catalog and photos before !
 
There is a very easy method to do this. Create a file rename preset as follows: 'YYYYMMDD-HHMMSS-OriginalFileName'. Then use this to rename the exported files. Your exported images will get a unique file name this way, that can easily be found again in Lightroom.
 
Even easier - keep your originals with filenames following a convention like Johan suggests or with a sequential number - eg YYYYMMDD-SEQ Title. Export files with this name, maybe with your surname added during the export. So the unique ID is the original filename.
 
You may already know this, but check with the agency to see what their requirements are. In addition to file-naming conventions, the agency may also have specific requirements for captions, descriptions, your copyright and contact information, whether or not each image is released, including contact information that goes with releases.
 
I use the Run Any Command Plugin. On export I run this command:
Code:
"c:\Program Files (x86)\Exif\exiftool.exe" -overwrite_original -preserve -MasterDocumentID={FullMasterFile} "{FILE}"

By this I add full path name to Exif tag "MasterDocumentID" - no matter which name the exported file gets.
Perhaps -UniqueDocumentID={UUID} would be also useful for you.

Base on the selected images you can read the exif data and print the path names into a plain text file (or just copy to clipboard):
Code:
exiftool -T -MasterDocumentID *.jpg

Then use such text with Photo list importer in order to select these images in LR.

Hey Wernfried,

Thanks for the tip but I think this is a PC doable suggestions you made :) I'm on mac..
 
Even easier - keep your originals with filenames following a convention like Johan suggests or with a sequential number - eg YYYYMMDD-SEQ Title. Export files with this name, maybe with your surname added during the export. So the unique ID is the original filename.
Hey John,

That's the thing. My original file names are not unique, so the unique ID cannot be the original filename.
I make a folder for each date, but within these folders there are similar file names to other folders.
 
You may already know this, but check with the agency to see what their requirements are. In addition to file-naming conventions, the agency may also have specific requirements for captions, descriptions, your copyright and contact information, whether or not each image is released, including contact information that goes with releases.

Hey Barry,
Yep, they have specific guidelines. I checked all that.
 
There is a very easy method to do this. Create a file rename preset as follows: 'YYYYMMDD-HHMMSS-OriginalFileName'. Then use this to rename the exported files. Your exported images will get a unique file name this way, that can easily be found again in Lightroom.

Hey John,
Thanks for the suggestion. The problem with this method would be that, the date and time would change with each export.
It means if I export one image today with and then re-export it next week in a higher res for instance, then the YYYMMDD-HHMMSS would change in the second export. And that would be very confusing for the photo agency.
 
Alex,
As I said, you can rename during export like : yourname-date-yourrefnumber , assuming your ref number is unique for any day. you will be able to retrieve the photo later in LR with the date and ref number.
another (big bang) option is to rename all photos of your catalog, if they are not too many to : date-filename , again assuming your present filename (ref number) is unique for any day. Better backup the catalog and photos before !

Hey Bernard,
Nope, that's my problem, file names are not unique for any day.
I work in 35mm film negative and get the image scanned by the lab. When they provide me the digital files, these always have similar names that their scanner and/or software create when digitalizing.
 
Hey John,

That's the thing. My original file names are not unique, so the unique ID cannot be the original filename.
I make a folder for each date, but within these folders there are similar file names to other folders.
Because your images are shot (or scanned!) at a different time, the file name becomes unique if you use my proposed renaming scheme. I do indeed use this to rename my images on import already, like John suggested. That way it is even easier to track an exported photo, because I don’t have to rename anything on export. This should also work for scanned images.
 
Hey John,
Thanks for the suggestion. The problem with this method would be that, the date and time would change with each export.
It means if I export one image today with and then re-export it next week in a higher res for instance, then the YYYMMDD-HHMMSS would change in the second export. And that would be very confusing for the photo agency.
No, it would not. YYYYMMDD is not the date you exported the image, it’s the creation date of the original image. That date never changes, so your second exported image would get the same file name.
 
Because your images are shot (or scanned!) at a different time, the file name becomes unique if you use my proposed renaming scheme. I do indeed use this to rename my images on import already, like John suggested. That way it is even easier to track an exported photo, because I don’t have to rename anything on export.

Hey John,
Bellow I place a screenshot of my current naming structure.
I have a folder for each different type of camera (I only shoot film).
I make a folder for the scanned date. -> I shoot my rolls for films over several days (and sometimes weeks) so it's not practically to track shooting date.
Inside I place the files, I receive from the lab. They all have similar naming for reach rolls. Meaning, for example I have many "CNV000001.JPG" files but they are in different scan folders.

If I understand, in your method I would have to rename my file names before importing them in LR correct ?


Screen Shot 2018-08-08 at 10.36.00.jpg
 
No, it would not. YYYYMMDD is not the date you exported the image, it’s the creation date of the original image. That date never changes, so your second exported image would get the same file name.


Ahh, I see. Ok. I tested that and indeed it does give me unique name.

Screen Shot 2018-08-08 at 10.50.20.jpg


I see I can then search LR with metadata based on date.
But how can I search with the HHMMSS ?

Screen Shot 2018-08-08 at 10.51.32.jpg
 
Ahh, I see. Ok. I tested that and indeed it does give me unique name.

View attachment 11262

I see I can then search LR with metadata based on date.
But how can I search with the HHMMSS ?

View attachment 11263
Searching on the date and the original file name should be enough in your case. The HHMMSS is meant to keep unique file names if you shoot with more than one digital camera. In that case you better rename on import.
 
Status
Not open for further replies.
Back
Top