locked
Show image from image library in another list in standard view RRS feed

  • Question

  • I have a few images in an image library. In an "Awards" list, I want to show the images in a column named "CatImage," based on the value of a column named "Category" in the same list.

    So, for instance, there is an item in the Awards list where the Category value is "Great Teamwork." For that item, I want to show the "teamwork.png" image file from the image library in the "CatImage" column.

    In the image library I have the following items:

    Name                       Path
    customerservice       /Image%20Library/customerservice.png
    hitthemark               /Image%20Library/hitthemark.png
    improvement           /Image%20Library/improvement.png
    results                     /Image%20Library/results.png
    teamwork                /Image%20Library/teamwork.png

    The "Awards" list has the following columns:

    Item    | Category              | Created By  | Modified      |  Status      | CatImage
    Item1  | Great Teamwork  | Dave            | 10/1/2014  | Approved   | <image>

    Is there a way to do this with some java code in a CEWP?


    Dave Englund




    • Edited by dbe6347wf Thursday, October 2, 2014 3:07 PM
    Wednesday, October 1, 2014 9:11 PM

Answers

  • you need to use lookup column .

    Try this 

    http://blogs.sharepoint911.com/blogs/jennifer/Lists/Posts/Post.aspx?ID=53

    Monday, October 6, 2014 8:06 PM