Enable the support for user profile pictures
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #957320. -->
Reported by: [markhalliwell](https://www.drupal.org/user/501638)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Is there a reason why users cannot add a picture to their drupal.org profile? groups.drupal.org uses them, but the main drupal.org site does not.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<ul>
<li>We allow registered users to upload an image and use it as their profile avatar.</li>
<li>If no image is uploaded, we use the user's registration email to fetch an avatar from a 3rd party service such as gravatar.com (there's a contrib project for this: <a href="http://drupal.org/project/gravatar">http://drupal.org/project/gravatar</a>)</li>
<li>User can opt-out so that no image is displayed.</li>
</ul>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p><strong>This issue is postponed, awaiting the outcome of <a href="https://www.drupal.org/node/957320#comment-5966272">comment #66</a></strong> and also this issue <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/drupalorg/issues/1296176" title="Status: Closed (fixed)">#1296176: Use Association Membership information via JSON</a></span> which provides mechanism for uploading picture once and then showing it on all sub-sites.</p>
<p>A dev site was set up for this task: <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/infrastructure/issues/1508364" title="Status: Closed (fixed)">#1508364: I want a drupal.org development site for user profile pictures</a></span></p>
<p>There are concerns of how this will impact performance. We should test this.</p>
<p>If we decide to also support an external social-service-like provider for user profile images such as gravatar.com, we should then perhaps consider a mechanism that stores profile pictures locally too as a fallback for cases when these services are temporarily down, permanently closed or made commercial in the future.</p>
<h3>Related contrib projects and issues</h3>
<p><a href="http://drupal.org/project/gravatar">Gravatar integration</a></p>
<p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-6"><a href="https://www.drupal.org/project/gravatar/issues/334630" title="Status: Closed (works as designed)">#334630: Cache gravatar images locally</a></span></p>
<p><a href="http://drupal.org/project/imagecache_external">Imagecache External</a></p>
<blockquote><p>...a utility module to allow you to use imagecache(D6)/image derivatives (D7) with external images.</p></blockquote>
<p><a href="http://drupal.org/project/imagecache_profiles">ImageCache Profiles</a></p>
<blockquote><p>...allows you to set user profile pictures that are consistent throughout your site and allows avatars on the user profile pages, nodes and comments to be a different size.</p></blockquote>
<p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-1"><a href="https://www.drupal.org/project/imagecache_profiles/issues/1300064" title="Status: Active">#1300064: Integrate imagecache external with imagecache profiles</a></span></p>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>You can find various mock-ups of how things might/should look in comments bellow. The UI changes will be:</p>
<ul>
<li>UI for registered d.o users to be able to upload/set an image as their profile avatar.</li>
<li>Both anonymous and registered users will see profile pictures of registered users in various places. The following places were suggested so far (but no final decision made yet):
<ul>
<li>Issue nodes</li>
<li>Issue comments</li>
<li>Forum nodes</li>
<li>Forum comments</li>
<li>Documentation nodes</li>
<li>Documentation comments</li>
<li>Project node author</li>
<li>Project node maintainer lists</li>
<li>Commits</li>
<li>Release nodes</li>
<li>Listings of followers</li>
<li>User profile page</li>
</ul>
</li>
</ul>
<h3 id="summary-api-changes">API changes</h3>
<p>???</p>
<h3 id="summary-original-report">Original report by <a href="http://drupal.org/user/501638">Mark Carver</a></h3>
<p>...the original report is the "Problem/Motivation" section above + the suggestion to use <a href="http://drupal.org/project/gravatar">http://drupal.org/project/gravatar</a></p>
> Related issue: [Issue #936304](https://www.drupal.org/node/936304)
> Related issue: [Issue #2274587](https://www.drupal.org/node/2274587)
issue