Yes, you can show result icons! The PicoSearch results will list the pages on your site that contain the searched terms. You can place a product photo or page icon next to predetermined pages to give additional page information or even mimic a product catalog.
For each page that you want an icon to appear for, add the following special tag to the HTML in that page. Usually the head is a good place to add special tags. This tag's syntax specifies the full URL to a picture for the page, with optional height and width information. For example:
<!-- PICOLINKPIC="http://www.mysite.com/pageicon.gif" -->
OR with width and height information specified:
<!-- PICOLINKPIC="http://www.mysite.com/pageicon.gif" width="30"
height="25" -->
AND you can even specify additional attributes that will stay in the image tag, such as alt text and border style shown in the following example (the old attribute border="1" will also work but we're recommending the xhtml compliant style sheet solution)
<!-- PICOLINKPIC="http://www.mysite.com/pageicon.gif" width="30"
height="25" alt="description" style="border:1;" -->
The image will then appear next to the results when that page comes up. Normally it will link to the page just like the clickable page title. However you can send the image to a different URL, for example if it is a special offers icon that should lead a new user to a sign-up page. So if you include an HREF, and even an optional TARGET, these will be applied to an anchor around the image. For example:
<!-- PICOLINKPIC="http://www.mysite.com/pageicon.gif" href="http://www.mysite.com/signup.html" -->
OR with the target specified to bring up a new page:
<!-- PICOLINKPIC="http://www.mysite.com/pageicon.gif" width="30"
height="25" href="http://www.mysite.com/signup.html" target="_blank" -->
If you combine the image icon techniques with a good standardized usage of title and/or meta-description display (see your Account Manager's Configure Results options), and make sure that you have one page per product or information parcel, you will be able to simulate a database of products or ideas rather nicely!
If you have a common image that should be shown for many files and you are a paid account, you can use a template code to specify link picture patterns so that you don't have to put the tag in every file; see PICO_TEMPLATE_LINKPIC. Paid accounts can also use the template code PICO_CLASS_A_TITLE to affect the link style, because you'll notice that a style attribute in the PICOLINKPIC stays in the image tag.
For related issues, see:
|