PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Can I show different images based on categories

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can I show different images based on categories

    I have an Intranet type site that I index in ASP. I use Zoom search to return results on a large number of documents on the site. These are indexed using a combination of metadata and .desc files. I have a categories set up to group the document depending on language.

    I understand the whole concept of display images with search results and a "pdf" image is displayed for any pdf returned search. What I want to be able to do is display a different image if the document is in the category "French" or "Spanish" for example

    Is this possible?

  • #2
    You can specify the image with a ZOOMIMAGE meta tag.

    So if you can modify it so that all files in the category "French" have a tag like

    <meta name="ZOOMIMAGE" content="/images/category_french.jpg" />

    Then you'll achieve what you're after. You'll have to enable Images under "Configure"->"Results layout" as well.

    If these are PDF files, you can specify the meta tags in your .desc files.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment


    • #3
      Thanks Ray

      You know as soon as I wrote the post I thought I remembered seeing something like that in the documentation. I've tried it now and it works a treat thanks.

      Brad

      Comment

      Working...
      X