none
Change image size of picture from contact for List Type Person or Group

    Question

  • I'm trying to create a custom view of a custom list which contains a List Type of Person or Group as well as a couple other fields, such as team name and reference information.  I'd like to be able to do two things in a custom view,

    1. Adjust the size of the Picture which displays associated with a Person, the current image size is too small; I've located a couple potential CSS tags which may control the formatting, however, I've not been successful in getting them to work and been unable to locate additional resources to help troubleshoot.  The tags include:

        .ms-catdescimage

        .ms-catdesccontact

        Which I found at https://msdn.microsoft.com/en-us/library/dd583128(v=office.11).aspx

    2. I'd also like to be able format the list view so that the content shows up

        Picture    Person name

                      team name, other reference columns from the same custom list - same contact

    Name

        I'd like to have the picture be large enough to "cross" both rows

    Any advise would be appreciated, thank you.


    D. David Rubicon-DAK

    Thursday, March 30, 2017 2:33 PM

All replies

  • Hi David.

    There are actually 3 picture sizes available in the profile.  36x36, 48x48, and 72x72.  If you change the "Show field" value in the column definition then the picture field in the data source will have the url (possibly even a full html fragment with presence indicator and all) in it.

    Sorry, i don't remember the actual name of the field and the contents, but it's clearly named in the data source.

    i think the element is <columnName>.thumbnail.

    Hope this helps.

    Ed

    Thursday, March 30, 2017 8:55 PM