More in this section

Forums / General Discussions / Thumbnail for Blog post

Thumbnail for Blog post

2 posts, 0 answered
  1. Rakesh
    Rakesh avatar
    72 posts
    11 Jan 2011
    16 Dec 2011
    Link to this post

    I am using Sitefinity4.3.
    I have added the thumbnail selector in "blog".now I want to display the thumbnail images while listing the blog posts.I am using "Blog Post" to list blog posts.How can I add thumbnail here ?
    I tried editing the template and inserting thumbnail from "Insert.." option.But it shows only the Unique Id.

    How can I display the thumbnails together with blog post list ?
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    06 Jul 2015
    20 Dec 2011
    Link to this post
    Hi Rakesh,

    You can try the following code in the widget template:

    Reference -

    <%@ Register TagPrefix="thm" Namespace="Telerik.Sitefinity.Samples" Assembly="ThumbnailSelectorField" %>

    The reference is related to the thumbnail selector, that is created by following the blogpost by Slavo. If you have another namespace please make sure to change the reference accordingly.

    Thumbnail code -

    <thm:SimpleImageField  runat= "server" ID="alabala" DisplayMode = "Read" Value='<%# Eval("Thumbnail")%>' > </thm:SimpleImageField>

    Best wishes,
    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