Announcement

Collapse
No announcement yet.

Thumnails in search results

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

    Thumnails in search results

    Hello

    I have been having trouble getting my search to display product images as thumnails, I found the following nifty instructions which sound perfict however i can seem to get them to work??

    the instructions were found at: http://www.rouxel.cwc.net/actinicstuff.html

    the title was: Thumbnail (scaled down) Product Images (gif or jpg) in Search Results


    The website is http://www.microphoto.co.uk/acatalog/


    Please Help!!
    Kindest regards



    Carl

    #2
    I wrote that.

    However telling me that something doesn't work without giving any information as to what you've done isn't going to help me help you.

    You have to use images whose filenames are related to your product references. Your images filenames are not related to the product references.

    If you rename the images you use as section thumbnails to match the product reference then these would be usable.

    Norman
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks

      Ooops

      Sorry about that, the script is fantastic and just what i was looking for, i wasnt questioning the script, it was my implimentation of it that i knew i slipped up on somewhere.

      I'll try renaming some of those files,


      Thanks AGAIN!!


      Best wishes
      Carl

      Comment


        #4
        If you use these Section thumbnails (which are a reasonable size as is) then you could use the following patch instead.

        It doesn't scale down the images and thus requires far less processing done on the server.

        See http://www.rouxel.cwc.net/V6-SearchR...outScaling.txt

        Norman
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          GREAT!!

          Thanks for the script, i havnt got it to work yet though, I think may be because my images are within a folder? whare abouts on the script do i need to add a folder extension?




          Kindest regards
          Carl


          (p.s thanks again for for all your help)

          Comment


            #6
            You don't need any folder info in the patches.

            All files are uploaded by Actinic into the acatalog directory on the server. That's where the patches look for them.

            Don't forget that your images have to appear somewhere on your site in order for Actinic to upload them.

            If you post an URL and some info on a product that you'd expect to see an image of when searching, then I can take a look.

            Norman

            PS when i viewed the source of a search results page I saw this equestrian typo

            <TD ALIGN=canter>

            Norman
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Thanks again!!!! here is the url from a search

              http://www.microphoto.co.uk/cgi-bin/...=-1&TB=A&SHOP=

              however if the url doesnt work search for couple at
              http://www.microphoto.co.uk/acatalog/


              Im a wee bit confused as to why the thumnail isnt appearing, i have renamed everything to match the .jpg file???? I cant think what im forgetting??



              Best wishes
              Carl

              Comment


                #8
                I haven't looked at the script you're trying to implement, but shouldn't you wrap the image thumbnail variable with the <img> tag?

                <img src="*your variable here*">

                You seem to just be displaying it wraped in a <b> tag.

                <B>Couple_In_Sunglasses_th&#46;jpg</B></A> (Couple_In_Sunglasses_th&#46;jpg)
                You also seem to have a strange character in there, the alt code for a fullstop..can't seem to replicate it here, which may be something to look at too... shouldn't be the reason i'd have thought though.

                Cheers

                Comment


                  #9
                  The product reference for the Couple product is LR0001

                  So you need an image to be LR0001.jpg not "Couple_In_Sunglasses_th.jpg" (your section image) or "Couple_In_Sunglasses_lrg.jpg" your product image.

                  I'd re-read my readme. The images have to be related to the Product Reference not the Product Name.

                  Norman
                  Norman - www.drillpine.biz
                  Edinburgh, U K / Bitez, Turkey

                  Comment


                    #10
                    hi again

                    thanks again for all your help, i have re-read the read me and adjusted the product reference and image fule name to match but it is still not sowing the results in the search with a thumnail

                    Im not sure what im dong wrong??

                    do you think i didnt insert the script into the javascript file correctly?



                    Bet wishes
                    Carl

                    Comment


                      #11
                      Please zip up SearchScript.pl and Act_ResultsTemplate.html and post them here so I can have a look.

                      Norman
                      Norman - www.drillpine.biz
                      Edinburgh, U K / Bitez, Turkey

                      Comment


                        #12
                        Zipped files

                        Thanks for this, AS you can guess i am new to actinic!!!!!! and its all a bit french to me



                        Kindest regards

                        Carl
                        Attached Files

                        Comment


                          #13
                          zipped files 2

                          ...
                          Attached Files

                          Comment


                            #14
                            I think I've found it. You had

                            Code:
                            	my $NorcatImageSuffix = '-small';	         # optional text that follows product ref in image filenames
                            
                            in SearchScript.pl which meant that it was looking for images ending in -small.jpg.
                            
                            It should have been
                            
                            	my $NorcatImageSuffix = '';	         # optional text that follows product ref in image filenames
                            I've attached a fixed SearchScript.pl. Try that and see if things work.

                            Norman
                            Attached Files
                            Norman - www.drillpine.biz
                            Edinburgh, U K / Bitez, Turkey

                            Comment


                              #15
                              missing thumbnails in search

                              Hello!
                              Thank you for all your help from before! I have a problem though! The thumbnails were appearing in search results fine up until i downloaded the latest patch from the website. Im not sure what has happened? Can you help?

                              http://www.microphoto.co.uk/library




                              Kindest Regards
                              Carl

                              Comment

                              Working...
                              X