Answers.Body: <p>This <a href="https://forum.civicrm.org/index.php?topic=34929.0" rel="nofollow noreferrer">forum thread from 2015 on using CiviCRM, Views and Imagecache</a> is worth a look. </p>
  
  <p>There are some <a href="https://gist.github.com/xurizaemon/795696d1e8b25b8b9130" rel="nofollow noreferrer">performance gains in not serving contact images directly from CiviCRM</a> which might be worthwhile, especially if you use CiviCRM images in a frequently viewed place (eg contributor headshots on the front page, like civicrm.org used to).</p>
  
  <p>I guess you could even intercept the contact display image request at webserver level and redirect to a URL serviced by such a method. (But Coleman's CSS is way easier, esp if it's the default for CiviCRM!)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-15T04:29:18.667Z
Answers.LastActivityDate: 2016-12-15T04:29:18.667Z
Answers.UserDisplayName: Chris Burgess
Answers.Body: <p>The contact summary screen should automatically limit the image size to a maximum of 100px. If this is not working correctly you could add this to your site's css file:</p>
  
  <pre><code>.crm-contact_image img {
     max-width: 100px;
  }
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-15T02:54:49.400Z
Answers.LastActivityDate: 2016-12-15T02:54:49.400Z
Answers.UserDisplayName: Coleman
Body: <p>Is there any way to resize the contact image, restrict the size/dimensions of the contact image upon upload, etc.</p>
  
  <p>Using Drupal 7 and CiviCRM 4.6.x</p>
  
  <p>Thank you.</p>
  
  <p>Currently we have some contact records with a huge uploaded image taking over 1/4 of the screen. </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-14T21:50:34.987Z
Comments.Text: This [old forum thread on using CiviCRM, Views and Imagecache](https://forum.civicrm.org/index.php?topic=34929.0) is worth a look. The [performance advantages](https://gist.github.com/xurizaemon/795696d1e8b25b8b9130) of not serving contact images directly from CiviCRM make it extremely appealing, especially if you use CiviCRM images in a frequently viewed place (eg contributor headshots on the front page, like civicrm.org used to). You could even intercept the contact display image request at webserver level and redirect to a URL serviced by such a method.
Comments.UserDisplayName: Chris Burgess
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-15T02:48:56.950Z
Comments.Text: @ChrisBurgess that comment would make a fine answer.
Comments.UserDisplayName: Coleman
Tags: <contacts><contact-image>
Title: Contact Image Size
ThreadText: # Contact Image Size
  
  (Asked by: username_0 on 2016-12-14)
  
  Is there any way to resize the contact image, restrict the size/dimensions of the contact image upon upload, etc.
  
  Using Drupal 7 and CiviCRM 4.6.x
  
  Thank you.
  
  Currently we have some contact records with a huge uploaded image taking over 1/4 of the screen.
  
  **Tags:** contacts, contact-image
  
  > **Comments:**
  > **username_1**: This [old forum thread on using CiviCRM, Views and Imagecache](https://forum.civicrm.org/index.php?topic=34929.0) is worth a look. The [performance advantages](https://gist.github.com/xurizaemon/795696d1e8b25b8b9130) of not serving contact images directly from CiviCRM make it extremely appealing, especially if you use CiviCRM images in a frequently viewed place (eg contributor headshots on the front page, like civicrm.org used to). You could even intercept the contact display image request at webserver level and redirect to a URL serviced by such a method.  
  > **username_2**: @ChrisBurgess that comment would make a fine answer.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2016-12-15. Score: 3 | Accepted answer
  
  The contact summary screen should automatically limit the image size to a maximum of 100px. If this is not working correctly you could add this to your site's css file:
  .crm-contact_image img {
     max-width: 100px;
  }
  
  
  ---
  
  ### Answer by username_1 on 2016-12-15. Score: 1
  
  This [forum thread from 2015 on using CiviCRM, Views and Imagecache](https://forum.civicrm.org/index.php?topic=34929.0) is worth a look.
  
  There are some [performance gains in not serving contact images directly from CiviCRM](https://gist.github.com/xurizaemon/795696d1e8b25b8b9130) which might be worthwhile, especially if you use CiviCRM images in a frequently viewed place (eg contributor headshots on the front page, like civicrm.org used to).
  
  I guess you could even intercept the contact display image request at webserver level and redirect to a URL serviced by such a method. (But username_2's CSS is way easier, esp if it's the default for CiviCRM!)
  
  
  ---
  
  