More in this section

Forums / General Discussions / How to associate an image with a document in Sitefinity 4.1

How to associate an image with a document in Sitefinity 4.1

2 posts, 0 answered
  1. Linda
    Linda avatar
    1 posts
    Registered:
    16 Feb 2012
    16 Feb 2012
    Link to this post
    I would like to be able to display a thumbnail image of our catalogs in a download list. I'm comfortable creating the custom download list template, but don't know where to associate the document with the thumbnail.

    Is there a simple way to create this functionality to associate an image with a document in a library?
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    20 Feb 2012
    Link to this post
    Hi Linda,

    If I understand you correctly, what you want to do is to have an image for the each document in the download list. What I can suggest you is to create a new field, which you can use for "cover photo" of the document in the download list. You can consult the following blog posts, which can help you develop the logic you need:

    1. The first blogpost describes how to create a thumbnail selector for the news module:

    http://www.sitefinity.com/blogs/slavoingilizov/posts/11-02-11/creating_a_thumbnail_selector_for_news_items.aspx

    2. The second blog post shows how to create a document selector:

    http://www.sitefinity.com/blogs/svetoslavpetsov/posts/12-02-08/selecting_documents_in_field_controls_with_editorcontentmanagerdialog.aspx


    Greetings,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered