More in this section
Forums / Designing & Styling / Thumbnail field in search results?

Thumbnail field in search results?

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Petter
    Petter avatar
    1 posts
    Registered:
    21 Oct 2012
    21 Oct 2012
    Link to this post
    Hi,

    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,

    Petter


1 posts, 0 answered