Forum Discussion

Michael Butterfield's avatar
Michael Butterfield
Iron Contributor
May 31, 2019

Images in modern SharePoint lists

I was wondering if you know how to implement putting an image in a column on a list in SharePoint?

 

I’m developing a system where staff can send colleagues praise, essentially by creating a new item in a list. It looks something like this:

 

 

It’s a bit messy but you get the point. I want to have a column where people can select a badge (e.g. teamwork, persistence etc) like these and would show in the list:

 

 

Any idea how I could do this? Many thanks for any help!

 

9 Replies

  • RobElliott   We don't use Yammer at our organisation. There's also a similar thing in Teams but it's not something the everyone can access and view.


    Kevin_Morgan  A drop down menu showing all the images would be ideal but that post is 9 years old, so not much help with modern lists.


    There's a post here about employee badges but i'm sure he's missed out a couple of steps!

    https://mikehatheway.com/2019/04/10/employee-badges-in-sharepoint

    • Michael Butterfield's avatar
      Michael Butterfield
      Iron Contributor

      Just FYI - I figured out a way to populare the list with images nicely.

       

      They don't appear on the drop down list but it's still good.

       

      Thanks

      • rodru's avatar
        rodru
        Copper Contributor
        I used the same, it work fine...
  • Kevin_Morgan's avatar
    Kevin_Morgan
    Iron Contributor

    Michael Butterfield 

     

    Have you checked the below posts for reference  :

     

    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/4bf2cc5a-b01b-4027-bfc9-b444c2825472/how-to-display-pictures-in-drop-down-menu?forum=sharepointcustomizationlegacy

     

     

  • RobElliott's avatar
    RobElliott
    Silver Contributor

    Michael Butterfield  we use the Yammer Praise functionality for this sort of thing (as well as asking for help, commenting on stuff etc) across our company of 65,000 staff. You might want to investigate; it saves having to build something bespoke and is perhaps more collaborative. But I admit it doesn't have the badges you want.

    Rob
    Los Gallardos

  • Two-three possibilities here:
    (1) Simple one: add just a hyperlink column that points to the picture you want to add per SPO list item
    (2) Use JSON formatting capability to automate when to put a badge depending on the column value
    (3) Create a SPX extension to apply formatting to your list
    • Michael Butterfield's avatar
      Michael Butterfield
      Iron Contributor

      jcgonzalezmartin 

       

      Thanks Juan. I've put them badges in a document library so they'll have URLs, so how do I get those to be selectable using hyperlinks?

       

      Ideally I just want people to choose a type of praise/badge from a list and have it show as an icon.