I took a picture to add to my account on Mac.
Now I want to use it on messenger, but I can't find it. On the account config, it's too small. I need to find the original.
Where are the accout pictures stored on a Mac?
migrated from superuser.com Mar 21 '12 at 15:56
This question came from our site for computer enthusiasts and power users.
Mac OS X 10.5+ stores user's account pictures within the Directory Service with the exception of an account that has not modified their user picture from when first created. When first created an account contains a 'Picture' attribute in their user record that is a path to the image in question. This can be read using the
If a user has modified their user picture at any time the account picture (aka cropped version if appropriate) is stored in the 'JPEGPhoto' attribute of their user record.
Original files can be found at
If you wish to extract a version of your account picture you can do so by running the following command:
If you are running Mac OS X 10.4, my memory is failing me as I don't recall if the user picture was stored in NetInfo or not.
I was having difficulty finding the account picture cache on Mountain Lion 10.8.3. They were not found in
Presumably this is because iChat became Messages in Mountain LionSo I used the command line tool
And then clicking and setting a new account picture you can see the path to the file that is written to disk when you change account pictures.
Turns out that in mountain lion 10.8.3 the recent account pictures have moved to:
I found the default pictures in
There are six subdirectories under this directory. You can put your own set of pictures in as part of the default collection.
Create a new empty subdirectory with your name and since this is a directory outside your account and can be accessed by any user, you will have to enter your administrator password.
Then copy and paste your pictures to this new subdirectory, again entering your admin password.
Your own pictures should now show up in the default collection. Then you will have to go into the contacts app and change your photo. Then go into the Users and Groups under system preferences and change the photos. To change the photos select edit and then default and then scroll down.
On Mac OS X 10.8.2 Mountain Lion, they exist as files that are a mix of jpegs and tiffs on my Mac. Thus, they can be copied to another location.
The full set of user photos are in two different locations. However, the user photo in question, does not necessarily correlate with the respective user folder. So it's a bit quirky.
Look at: Macintosh HD/Users/user0/Library/Images/iChat Recent Pictures/ By 'user0' I refer to the name of the first-defined user on the system (see below context). In this location are 3 user photos, for 3 of my 4 users. 3 jpegs, all good quality. Intriguingly, it is for all users except for user0. The jpegs are called the exact names as follows: 'Recent 1.jpg', 'Recent 2.jpg' and 'Recent 3.jpg'
For user0, this photo is in: Macintosh HD/Library/Caches/ It is a tiff, poor quality. The tiff is called exactly 'com.apple.user501picturecache.tiff'
Importantly, here is the system context to above: - An Apple iMac 20" early 2009 which originally ran Mac OS X 10.5 Leopard - The first-defined user was user0. Nor the name, nor the photo, have been changed. - All other users followed shortly after. Again, nor the names nor, nor the photos, have been changed. - It has been updated with every new Mac OS X when released. - Currently running Mac OS X 10.8.2 Mountain Lion.
Note: When I updated to Lion I recall that the user0 photo did not look so good at login. It looked poorer quality. So something happened there. I expect that Lion rearranged where the photos were and did something to the photos - I have no proof of this, it's just a hunch.
That's the way to find it on OS X 10.8.3:
Running Snow Leopard 10.6.8
I have found my captured picture for user login at the following location. Both the original and the cropped were found in
If you click on the icon in the "Accounts" preference page a context menu appears that offers "Edit picture ..." as the top-most option. This opens a dialog that - at least in my case - shows a larger version of my user icon. I guess for the specific purpose of creating a messenger icon it would be feasible to simply screen-shot this picture.
Admittedly, without having the technical background to answer the actual question I'm really not sure whether the actual user icons are stored in a regular file. If this file were located inside your user account (i.e. ˜/Library) the preference page would have to crawl deeply in your account for displaying the icon if another user merely opens the "Account" preference page.
If, OTOH, the file were be stored somewhere in /Library it would probably be difficult to set the icon individually for each user who doesn't have administrator rights. Someone else shed some light on this, please.
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?