Author Topic: Where, how to set the url for the smaller images of a product on product page  (Read 2038 times)

Offline 4thstar

  • Newbie
  • *
  • Posts: 31
  • Karma: +5/-0
    • View Profile
Hello.
I am considering using zoom search to index several AbanteCart carts, the search program can also display thumbnails of its images in search results.

first though in the html of the products page i need to add some code so zoom knows what image to use.

<meta name="ZOOMIMAGE" content="HERE-GOES-THE-IMAGE-URL.JPG">

If i am right AbanteCart creates smaller thumbnails of images, so on the products page i need to add the above code.

but what i am stuck with is how in php i would replace HERE-GOES-THE-IMAGE-URL.JPG with that products main image url?

my guess its using the

echo $something

can anyone advise on if this can be done and what the $something should be?

Many thanks
Carl

Offline 4thstar

  • Newbie
  • *
  • Posts: 31
  • Karma: +5/-0
    • View Profile
Hello.
I have found that i need to place the meta code inside the head.tpl file.
All works as it should when i add

<meta name="ZOOMIMAGE" content="relative url path to image">

What i dont know is what and how i set the path to an image for the product?
I cant find any variable i can use?

any advice would be great :)

Kind Regards
Carl

 

Powered by SMFPacks Social Login Mod