Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Where are photo file names?

I've "titled" many, many photos in iPhoto by changing the filename (e.g. "DSC_2254" --> "On vacation in Hawaii"), but there appears to be no option in Photos to show the filename. So none of my "titles" appear. Am I missing something?

iMac (Retina 5K, 27-inch, Late 2014), OS X Yosemite (10.10.3)

Posted on Apr 9, 2015 7:56 AM

Reply
282 replies

Apr 9, 2015 11:32 AM in response to léonie

Some of us are experiencing a situation where Toggling "View > Metadata > Titles does not solve the problem. Yes, it's a necessary step to make titles below photos visible, but, even with that, many photo titles are not appearing. Some do and some don't. In my case, any photo title from iPhoto that had a suffix such as .jpg, .tif, etc. DOES NOT APPEAR under the photo regardless of what is checked under Metadata.


User uploaded file

Notice that "Add a Title" appears. The title (filename) was "Ann in Tennessee Shirt" in iPhoto and it appeared under the photograph. In Photos 1.0, however, it does not appear. One has to copy "Ann in Tennessee Shirt" and the paste it into the "Add a Title" field. Can you imagine doing this for thousands of photos?

Apr 9, 2015 11:50 AM in response to Washington Apples

Notice that "Add a Title" appears. The title (filename) was "Ann in Tennessee Shirt" in iPhoto and it appeared under the photograph. In Photos 1.0, however, it does not appear. One has to copy "Ann in Tennessee Shirt" and the paste it into the "Add a Title" field. Can you imagine doing this for thousands of photos?

That is clearly a bug.

The titles are supposed to be transferred, even if .jpg is part of the title.


Please file a bug report. Either use the feedback form or - more involved - the bug reporter: Detailed and Effective Bug Reporting | Apple Support Communities

Apr 9, 2015 1:32 PM in response to léonie

Léonie,


As a further clarification, because this has huge implications for those of us that have "titled" thousands of photos in iPhoto, which are not carried over to the new Photos app:


Here is an example of a photo to which I edited the filename (D7K_2242) in iPhoto:

User uploaded file

Note that the full title (which is actually the edited filename) appears in iPhoto.


Here is the same photo as it appears in Photos in the Moments view:

User uploaded file


Here are my Metadata settings in Photos:

User uploaded file

So..

--- Even when "titles" are turned on under Metadata

--- and when in the Moments view in Photos

The filename edited in iPhoto (="title") does not appear in Photos.


I have discovered one way to remedy this, but it is NOT a practical remedy when you have thousands of "titled" photos in iPhoto with lots of albums, etc.

--- In iPhoto: Select a photo, then: File -> Edit -> Export, with these settings:

User uploaded file

Any other settings for Kind (e.g., Original) will result in the title not carried over to Photos. Here's how the above export looks in Photos:

User uploaded file

As I said above, this is not a reasonable solution because among other things you can only export a file as a "jpeg" and not as an "Original", which was a "raw" file. So I guess off I go to report this as a "bug" to Apple.

Apr 9, 2015 3:45 PM in response to stephenfromencinitas

I have to retract my JPEG vs. RAW issue with titles. This is what happens when you try to generalize your first view of a 50,000+ image library conversion.


BUT, I do have an issue where Photos has assigned the filename to the title field for some of my images while leaving it blank for others. If I look at the same images in Aperture the Title field in the General info data is blank in both cases.

Apr 9, 2015 3:54 PM in response to léonie

léonie wrote:

That is clearly a bug.

The titles are supposed to be transferred, even if .jpg is part of the title.


But titles & filenames are actually two very different things. For example, photograph files may have title information embedded in the photo file itself according to at least six different standards. The filename is not actually part of the file. It is a characteristic of the file system of the device storing the photo file. As a consequence, changing the filename (for instance, in the OS X Finder) will not change the title of the photo, nor will it create one if that info has not been embedded in the file.


Unfortunately, iPhoto obscures this difference because in the absence of an embedded title, it will display the filename of the photo. If you edit that displayed name from within iPhoto, it does become the title, but it does not change the filename of the original or embed it in that file. (That's why the export workaround mentioned by thedatadude does not work if the export kind is set to Original.)


I don't own Aperture or know how it works but my guess is it embeds the "version name" in the file itself, probably according to the IPTC or XMP standard.


Anyway, the problem is Photos does not display the filename as if it was the title like iPhoto does, nor does it have any builtin feature that will copy the filename to the title. That isn't a bug per se, but it definitely is a problem for those who have been relying on filenames to create more meaningful photo titles.


As I mentioned in a post earlier today, Applescript may offer a way to do this. I have spent a little time since then investigating that possibility & it looks promising: the Applescript "media item" object in Photos has a writable name (title) property & a read-only filename one, so at least in theory it should be possible to write a script that runs through every "media item" object & replaces any with a "missing value" name property with some form of the filename one.

Apr 9, 2015 4:17 PM in response to R C-R

But titles & filenames are actually two very different things.

That is clear, R C-R.

But, if I understood thedatadude correctly, the edited title contains intentionally the original filename including the filename extension as part of the title, in addition to a further comment. I am doing the same; the photo titles I assign include the full filename plus extension, because the file format of the photo is to me as important as the content of the photo. The edited titles are missing, because Photos seems to mistake them for the original filenames.

Apr 9, 2015 4:45 PM in response to léonie

léonie wrote:

But, if I understood thedatadude correctly, the edited title contains intentionally the original filename including the filename extension as part of the title, in addition to a further comment.

But if the filename was edited in the Finder, doing that won't add an embedded title to the file. And if it was done in iPhoto, it still won't add one to the original photo file, only to a file exported in a file format iPhoto supports embedding the title in. Apparently, iPhoto only supports that only for the jpeg format.


In general, iPhoto won't change anything in the original file (the 'master' file in the iPhoto Library package if the 'import into iPhoto' preference is used or the file in its original location in the file system if it is not). Normally, that is a desirable feature, since it preserves the integrity of the original no matter how it is edited. In this situation, it is not.

Apr 9, 2015 5:07 PM in response to R C-R

But if the filename was edited in the Finder, doing that won't add an embedded title to the file. And if it was done in iPhoto, it still won't add one to the original photo file, only to a file exported in a file format iPhoto supports embedding the title in. Apparently, iPhoto only supports that only for the jpeg format.

That is not the original question. When we migrate from iPhoto or Aperture to Photos, the titles we added to the photos as metadata tags using the annotation tools (batch change, Info panel) in iPhoto or Aperture are supposed to be migrated, just like the captions.

But as clearly shown by the OP, Photos removed titles that have been added this way - all added titles that look syntactically like filenames, because the title contains a filename extension.

I call that a bug, if Photos is performing censorship on the titles we add to our photos and suppresses certain titles.

Apr 9, 2015 5:49 PM in response to Washington Apples

I have this similar problem with organizing photos too. I have thousands of photos suppose to be sorted by title, so browsing in an event / album will be better of.

iPhoto set filename as title automatically, but title is missing in Photos. I aware that title is part of metadata, but I still need an easy way to batch set title to all photos.

The easiest way in iPhoto, is batch changing filename, so when importing, filename will be set as title automatically. But Photos works differently.

Manually set title in thousands of photos collection is not practical.

If anyone know any way or scripts to convert filename to title metadata or batch change title for Photos, it would be great and should be a very useful tool for everyone too. So, I'm looking forward for any reply.

Apr 11, 2015 4:14 PM in response to kuc1n9

I'm not sure this is much of a solution for users importing directly from iPhoto, but one way to make Photos.app show the filename as the title is to create/set the IPTC Title tag before importing your photos into Photos.app.


I'm using ExifTool in a service created through Automator that executes a shell script so that I can select a batch of photos and apply several changes to EXIF tags. But you can easily add a line to also create the IPTC Title tag and set it to the filename.


Here is an example that strips out the file extension and uses a formatting option to start the title after the id (ex: 20150411-000...) I'm using in the filename. You could set the {16} to {0} to return the entire filename as the title.


User uploaded file


Just install ExifTool and then create this service and save it. Then you can right click on an image (or a group of images) and batch update the tags.

Apr 11, 2015 5:41 PM in response to TheNakedApe

That is an idea.


I experimented a bit, and with Apple Script we could make it a bit simpler, directly in Photos: This will save the installation of exiftool and the necessity to export the files. This way the lossless workflow will be preserved.


Create an Automator action, that executes an Apple Script to change the titles to the filename, if the title is empty:


The Apple Script:


on run {input, parameters}

tell application "Photos"

activate

set imageSel to (get selection)

if imageSel is {} then

error "Please select an image."

else

repeat with im in imageSel

set title to the name of im

if not (exists (title)) then

set the name of im to the filename of im

end if

end repeat

end if

end tell

return input

end run

Launch Automator, create a new service, and drag a "Run Apple Script" action into the workflow.

Copy and paste the text above into the "Run Apple Script" action to replace the default text in the action.

User uploaded file

Save this workflow with a suitable name. It will be installed in the services.


  • Now launch Photos and select a few test images.
  • Open the "Photos Menu > Services".
  • The service should be shown in the menu - I saved my version as "filename2title".
  • Select the service to let it run. When you click the selected photos again, the titles should change.


User uploaded file

After the Automator action completed:

User uploaded file



Where are photo file names?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.