Can I combine picture and choice column

Posted on 2011-10-18
Last Modified: 2012-08-14
We have a list of prospect customers that where data regarding the company, status, etc. are entered. The users want to have many of the columns shown as pictures, for example a picture of the salesperson responsible. I have created picture columns where a URL to a picture in the Image library can be entered. However, it is not user-friendly to ask the users to find the correct URL and enter that every time. What I would like is a choice column where the choices are the relevant picture URLs that are then shown as pictures in the view.

 View with prospect customers
The UW column is picture column whereas the Dropdown pic is Choice column. Is it possible to display the Dropdown pic column as a picture?
Question by:kasperEH
    LVL 31

    Accepted Solution

    Out of the box I would say not possible I have seen the effect done with JQuery as per this link;
    LVL 9

    Assisted Solution


    a simple idea(I have not tried it though !),

    create  a drop down choice column to list the image urls
    configure the choice column to be displayed in the edit form(alone) for user data entry
    display the picture column(should be a calculated column to refer the drop down column with urls and render an html div with img) in the list item view(ur custom view)

    in brief create a drop down column for data entry and a calculated picture column to display the picture


    Author Comment

    I tried to follow "Using calculated columns to write HTML" article, but it was obviously written for SharePoint 2007. We use SharePoint 2010. When I try to add JavaScript in a Content Editor, I get the "Your HTML may have been modified" error and the JavaScript is gone.

    Author Closing Comment

    Thanks a lot for your comments, I have however decided to skip the idea.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
    Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now