In Yosemite, I am trying to upload a photo to website. So I open Photos, select a photo and then try to locate the location of the photo. However I could not find it. Before Photos it was possible in iPhoto. Is there a way to locate a photo in Finder? By the way if relevant, I am also using iCloud Storage for photos. However my hdd is big enough so it should be storing photos locally too.
OS X Yosemite 10.10.3 - Photos Version 1.0 - Looks like Apple removed the option to show the photo in Finder.
Not the most direct method, but try this:
Go to Photos Menu -> Preferences -> General
Click the "Show in Finder" button in the dialog box. In Finder you'll see a "Photos Library" highlighted
Right-click and select "Show Package Contents", this will show a directory listing
Select and open the folder named "Masters"
Browse by Year-Month-Date of when the photos or videos were created
I hope Apple restores the more direct "Locate in Finder" for the photo itself.
Check Preferences > General > Importing and see if the "Copy files" checkbox is checked.
If it is not: you have a referenced photo library. This means that all of your photos stay in their original locations when added to Photos. All that Photos does is make thumbnails and catalog the metadata so you can view your library. Therefore, Show Referenced File in Finder is available. Think of "reference" as a pointer in this context. Each thumbnail is basically a pointer to the original file, wherever it was when you added it to Photos.
If it is: you have a regular (non-referenced) photo library. This means that during an import, Photos copies all photos into it's own internal library bundle and manages where they are stored within that bundle. This is the default. However, this means that "Show referenced file" will not be available, because there is no "referenced" file, just the file that Photos is managing.
(iPhoto had a "Show in Finder" option that showed you the original photo on disk - this option is not present in Photos. My guess is it was removed because if those files were within the iPhoto library bundle, moving or renaming it would cause problems with iPhoto displaying it.)
It's not available in the menu and mileage may vary when using the 'show referenced file' menu option. However, Photos does let you quickly export a selected file by pressing CMD + Shift + E or selecting 'File' > 'Export' > 'Export one photo'. The Export menu can also facilitate the export of the unmodified original.
Whilst this isn't the same as finding the original file, I find it is the quickest way to access a copy* and it therefore could be a suitable alternative for many users.
*I'm not clear how Photos exports a jpg if the file is already a jpg (copy or create new). So there could be some loss of quality over the original if exporting to a lossy file format like jpg.
As others mentioned, "Show Referenced File in Finder" is now greyed out in the regular case where Photos.app is managing your library. Instead, select the photo and then choose File > Export > Export Unmodified Original to get the photo. Or, you may prefer the modified export, where it can (for example) create a smaller JPEG suitable for emailing.
From Photos app, right-click (two-finger click on trackpads) on any image you want to access in Finder
Choose “Show Referenced File in Finder” from the option list to immediately jump to that image files finder location
Or from File Menu in Photos:
You can also access the same option from the File menu of Photos app:
Select an image in Photos app for OS X and pull down the “File” menu
Choose “Show Referenced File in Finder” to open the original files location within the Mac file system
But it is not working always:
Perhaps a future update to OS X Photos app will include a “Show In Finder” option natively for all photo libraries, that would certainly be a welcome feature for many Mac users. In the meantime, if you have migrated a library into Photos app from iPhoto or Aperture, you won’t have the right-click option unless you specifically chose to stop import copying files into Photos before you moved the library over. The only real workaround to that would be to make a new Photos app library and having it use references rather than copying into the app itself.