Try Now
More in this section

Forums / Designing & Styling / Thumbnail field in search results?

Thumbnail field in search results?

1 posts, 0 answered
  1. Petter
    Petter avatar
    1 posts
    21 Oct 2012
    21 Oct 2012
    Link to this post

    I have set up a search function for products only. Each product has a thumbnail image which I want to display as part of each product in the search results. I have customized the search results template to include two custom fields (textfields). Like this:

    <dd class="sfsearchResultShortDescription"><a runat="server" href='<%# Eval("Link")%>'><sitefinity:TextField runat="server" DisplayMode="Read" Value='<%# Eval("ShortDescription")%>' /></a></dd>

    Could you please include the corresponding code for including a product thumbnail image in the search results?

    Best regards,


1 posts, 0 answered