CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Adding photos to contact record
Pages: [1]

Author Topic: Adding photos to contact record  (Read 763 times)

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Adding photos to contact record
May 15, 2013, 05:37:35 am
I would like to be able to add images to contact records. Specifically personal images that can be used in our directory to put a face to a name. I don’t see that there’s a built in way of doing this and I don’t want to hack something together if there’s a recommended way of doing this.

I’m using a Drupal webform with CiviCRM integration that’s allowing users to create Drupal accounts and CiviCRM accounts and the form is capturing custom data and placing them in the contact record. What would be the best way to allow people to upload an image of themselves for use in our directory, bio, etc.?

It would be nice if I could somehow leverage Drupal’s image handling tools, such as imagecache to be able to manipulate the image as needed, resizing specifically, so the user would not need to do so.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Adding photos to contact record
May 15, 2013, 07:42:58 am
Hi,

civicrm contact has already a picture field part of the standard. I haven't tried to use it from webform or profiles, not sure if it works already or if it would need some adjustments

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Adding photos to contact record
May 15, 2013, 04:05:29 pm
Webform integration does support the contact image field. It is one of the core CiviCRM contact fields.
It does not currently support any image manipulation during upload (more of a Webform-core shortcoming really).
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Adding photos to contact record

This forum was archived on 2017-11-26.