How to associate an image with a document in Sitefinity 4.1
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?
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:
www.sitefinity.com/.../selecting_documents_in_field_controls_with_editorcontentmanagerdialog.aspx
Greetings,
Victor Velev
the Telerik team