Announcement

Collapse
No announcement yet.

Images clickable in search results page?

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

    Images clickable in search results page?

    I want the images to be what takes the customer to said product page.

    How would I go about doing this?

    I've tried to wrap the image code inside the <a href=</a> that the PRODUCTNAME currently occupies but it doesnt work.

    It links ok, but the images dont show.

    Dan

    #2
    this is in the forums already
    http://www.itwiz.co.uk

    http://www.AntiV.net - The Discount Antivirus Store

    Comment


      #3
      searched and went though 7 pages without finding it. but thanks!

      Comment


        #4
        The link you've posted poisons our browsers. This is a link copied from a browser that relies on an existing site cookie. Posting it on this forum makes the scripts believe that it's base site is community.actinic.com.

        Amend post #1 to contain a non-cgi link and ask people to search for a certain term.

        After a lot of hassle recovering from the above, I see that your search results contain

        <img width="180" src="NETQUOTEVAR:THUMBNAIL"/>

        Have you defined thumbnail images for your products?
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          No.. It would be the standard product image in use. Which is what I would need to display...

          I dont currently use the thumbnail option.


          Dan

          Comment


            #6
            thats what ive got code wise

            <actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsImage%22%20%2f%3e" >
            <Actinic:Variable Name="SearchResultLink"/><img src="<actinic:variable name="SearchResultProductImage" />" width="180" />
            </a>
            </actinic:block>

            Comment


              #7
              Got the images to display, to see simply click on tshirts on the nav bar 3rd down.

              But its still the text thats the link.

              It will do for now. But a work around would be great

              D

              Comment


                #8
                you'll need to post your full code.
                As far as I can tell, you only have your link around the text and not the image.
                If you post your full search results code (in CODE tags), we can advise further.
                Tracey

                Comment


                  #9
                  There's no <a href...> ... </a> around your images on the search results. Have a look at the source of a page (IE / View / Source) and see.
                  Norman - www.drillpine.biz
                  Edinburgh, U K / Bitez, Turkey

                  Comment


                    #10
                    Whilst you are at it, it would be nice to see you use the <code> tags available to you when you create a post, this way you keep all code in a nice box.

                    Comment


                      #11
                      Originally posted by NormanRouxel
                      There's no <a href...> ... </a> around your images on the search results. Have a look at the source of a page (IE / View / Source) and see.
                      Yeah, thats because I changed it back to the orginal.

                      Comment


                        #12
                        fixed it, it appears you need
                        <actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsName%22%20%2f%3e">
                        <Actinic:Variable Name="SearchResultLink"/><br/><Actinic:Variable Name="SearchResultProductName"/></a>
                        </actinic:block>
                        so I made another blockif for the searchresultlink but for the image this time and it all works fine.

                        thanks anyway

                        Comment

                        Working...
                        X