I have a website that consists of numerous Help & Manual project outputs in webhelp format. Mainly Help & Manual V4 but we are finally ( ) moving over to Help & Manual V7.
We also use ZoomSearch to create a search index for the whole site and have it configured to add suitable icon images to the search results for when the result is an HTML file, PDF file, etc.
The issue we spotted was that some results in the site search were showing a missing image icon and we realised it was just happening for the new Help & Manual V7 content.
The cause is that the Help & Manual skin adds a <meta name="ZOOMIMAGE" content="./images/zoomimage.jpg"> tag to the page headers which specifies the image to use for the search results in the webhelp outputs own search (which uses Help & Manuals embedded version of ZoomSearch). When we re-index the sites search engine it reads and recognizes that tag and uses it as the image should that page be listed in its own results - but unfortunately the image path is not correct for a link from the site search page to where the image is located.
There are plenty of possible fixes:
- We did test adding a /images sub-folder with a copy of zoomimage.jpg to the folder from which the site search was running and that worked fine.
- In the end, since we weren't using the image file in the webhelp search, we removed the <meta ...> tag from the default page template in our skin.
- We could have made the <meta ...> tag in our skin point to the location of the same image used by the site search.
- I'm sure there are plenty of other methods.