---
schema_version: "1"
id: 6fd72629c4f6e56c647fd8fa5d16b4e7c53e5b21d36965a6c6062cee70dbd107
title: ConnectApi.Photo
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_photo.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_photo.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1b7bd9590242ab798daeedf73d222d1bbd913b29b4da76326a5c6a563169239f
description: Profile photo.
---
# ConnectApi.Photo

Profile photo.

<table class="featureTable sort_table" summary="">




          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d1136029e47">Name</th>

              <th class="featureTableHeader vertical-align-top " id="d1136029e50">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d1136029e53">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d1136029e56">Available Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d1136029e47" data-title="Name"><samp class="codeph apex_code">fullEmailPhotoUrl</samp></td>

              <td class="entry" headers="d1136029e50" data-title="Type">String</td>

              <td class="entry" headers="d1136029e53" data-title="Description">A temporary URL to the large profile picture. The URL expires after 30 days and
                is available to unauthenticated users.</td>

              <td class="entry" headers="d1136029e56" data-title="Available Version">28.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1136029e47" data-title="Name"><samp class="codeph apex_code">largePhotoUrl</samp></td>

              <td class="entry" headers="d1136029e50" data-title="Type">String</td>

              <td class="entry" headers="d1136029e53" data-title="Description">URL to the large profile picture. The default width is 200 pixels, and the
                height is scaled so the original image proportions are maintained.<p class="p" id="defaultPhotoInfo"><a name="defaultPhotoInfo"><!-- --></a>If a user hasn’t uploaded a photo, this URL points to a
                  default photo. If the user hasn’t uploaded a photo and the request header included
                  <kbd class="ph userinput">X-Connect-Theme: Salesforce1</kbd>, this URL points to a
                  default photo based on a theme that the admin selected for the org.
                </p>
              </td>

              <td class="entry" headers="d1136029e56" data-title="Available Version">28.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1136029e47" data-title="Name"><samp class="codeph apex_code">mediumPhotoUrl</samp></td>

              <td class="entry" headers="d1136029e50" data-title="Type">String</td>

              <td class="entry" headers="d1136029e53" data-title="Description">
                <span class="ph" id="mediumPhotUrlDesc"><a name="mediumPhotUrlDesc"><!-- --></a>URL to the medium profile picture. The default width
                  is 160 pixels, and the height is scaled so the original image proportions are
                  maintained.</span>
                <p class="p">If a user hasn’t uploaded a photo, this URL points to a default photo. If the user hasn’t uploaded a photo and the request header included <kbd class="ph userinput">X-Connect-Theme: Salesforce1</kbd>, this URL points to a default photo based on a theme that the admin selected for the org.</p>
              </td>

              <td class="entry" headers="d1136029e56" data-title="Available Version">37.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1136029e47" data-title="Name"><samp class="codeph apex_code">photoVersionId</samp></td>

              <td class="entry" headers="d1136029e50" data-title="Type">String</td>

              <td class="entry" headers="d1136029e53" data-title="Description">18–character ID to that version of the photo</td>

              <td class="entry" headers="d1136029e56" data-title="Available Version">28.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1136029e47" data-title="Name"><samp class="codeph apex_code">smallPhotoUrl</samp></td>

              <td class="entry" headers="d1136029e50" data-title="Type">String</td>

              <td class="entry" headers="d1136029e53" data-title="Description">URL to the small profile picture. The default size is 64x64 pixels.<p class="p">If a user hasn’t uploaded a photo, this URL points to a default photo. If the user hasn’t uploaded a photo and the request header included <kbd class="ph userinput">X-Connect-Theme: Salesforce1</kbd>, this URL points to a default photo based on a theme that the admin selected for the org.</p>
              </td>

              <td class="entry" headers="d1136029e56" data-title="Available Version">28.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1136029e47" data-title="Name"><samp class="codeph apex_code">standardEmail​PhotoUrl</samp></td>

              <td class="entry" headers="d1136029e50" data-title="Type">String</td>

              <td class="entry" headers="d1136029e53" data-title="Description">A temporary URL to the small profile. The URL expires after 30 days and is
                available to unauthenticated users.</td>

              <td class="entry" headers="d1136029e56" data-title="Available Version">28.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1136029e47" data-title="Name"><samp class="codeph apex_code">url</samp></td>

              <td class="entry" headers="d1136029e50" data-title="Type">String</td>

              <td class="entry" headers="d1136029e53" data-title="Description">A resource that returns a Photo object: for example, <samp class="codeph apex_code">/services/data/v67.0/chatter/users/005D0000001LL8OIAW/photo</samp>.</td>

              <td class="entry" headers="d1136029e56" data-title="Available Version">28.0</td>

            </tr>

          </tbody>

        </table>

#### See Also

- [ConnectApi.ChatterGroup](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_chatter_group.htm "Chatter group.")
- [ConnectApi.RecommendationDefinition](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_recommendation_definition.htm "Represents a custom recommendation definition.")
- [ConnectApi.User](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_User.htm "User.")