Announcement

Collapse
No announcement yet.

Can I put images in option choices

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

    Can I put images in option choices

    Hi

    I want to add an image to an option choice so that the customer can see all colour choices next to the text.

    If you look on this link HERE you see Stone Colour 1, Stone Colour 2 and Stone Colour 3. I'd like these options to include a picture of the stone next to each choice.

    I know you can put font formats round the text using the !!<<>>!!!!<</>>!! can you put img src in there any way?? I tried but couldn't get it working from my limited knowledge.

    This is just a test product but I wanted to check the principal, any help would be appreciated.
    Okay, I pulled the pin. Now what?... Wait!...Where are you going?

    #2
    Have a look at the Dynamic Choice Images add-on on Norman's site Drillpine - that may do the job for you.
    Kind Regards
    Sean Williams

    Calamander Ltd

    Comment


      #3
      Hi Sean

      I do have lots of Normans ad ins already what I want to do is still have the drop down list, but by each stone colour actually have a picture of the actual stone.

      This is a page for a bespoke horse browband and I'd like customers to be able to select the 3 stone colours then view them as a group to see if they go together.

      At the moment you can view the text of the three choices you made but there is no visual representation of the choices.
      Okay, I pulled the pin. Now what?... Wait!...Where are you going?

      Comment


        #4
        My Dynamic Choice Images can do this. As an alternative to swapping the main product image when a drop-down is selected you can set an image for each Attribute (e.g. Stone Colour 1). If you do this then that Attribute image is the one that changes when the choice is made.

        If this is a big budget site, then you could do it in an interactive way. See http://www.scoutneckers.com/acatalog...le_Necker.html where Flash is used to build a product visually.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Hi

          Is that at choice level so if I have 10 colour choices then I can have 10 stone colours on that?

          I'd love a big budget interactive choice but we havent got the money to invest on that, its just me doing it

          If your menu can work at choice level I'll definitely have it.

          Denise
          Okay, I pulled the pin. Now what?... Wait!...Where are you going?

          Comment


            #6
            Email me and I'll send you a copy to try out first.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Thanks Norman I've sent you an email, that would be great to try it and I will let you know how it works.
              Okay, I pulled the pin. Now what?... Wait!...Where are you going?

              Comment


                #8
                Can I modify the code below to work with a drop down list instead of radio buttons

                <input type="radio" name="<Actinic:Variable Name="UIWidgetName"/>" value="<Actinic:Variable Name="ChoiceSelectedValue"/>"<actinic:block if="%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3d%3d%201">checked="checked"</actinic:block> />

                <Actinic:Variable Name="ChoiceDisplayLabel"/><actinic:block php="true">

                $choiceimage = '<Actinic:Variable Name="ChoiceImage" encoding="perl" selectable="false" />';

                if ( $choiceimage )

                {

                list($width, $height, $type, $attr) = getimagesize($choiceimage);

                if ( $width )

                {

                echo " <img src=\"$choiceimage\" width=\"$width\" height=\"$height\" />";

                }

                else

                {

                echo "<font color=\"red\"><b> BAD IMAGE</b></font>";

                }

                }

                </actinic:block>
                Okay, I pulled the pin. Now what?... Wait!...Where are you going?

                Comment


                  #9
                  Hi

                  See the above code I got from the AUG, can I modify it for drop down images on choices, I need them against the most drilled down part of the product, where it lists 123 - choice.

                  I cant use as radio buttons as it looks really messy since I have many colour options
                  .

                  I have got as far as creating a variable that goes against this choice and can get the image with the actual choice so that in a radio button it does show up, but there are so many options for the product that it just looks like a jumbled mess on the page.

                  Ideally I'd like it to show with the image first on the drop down, then by the side of that the colour.

                  Any help would be appreciated
                  Okay, I pulled the pin. Now what?... Wait!...Where are you going?

                  Comment


                    #10
                    Why don't you start with drop down permutations and then add your custom code to those layouts, seems a simpler approach.

                    Comment


                      #11
                      Hi

                      I did try that and I got boxes with nothing in I wasnt sure what to put in the bit that says input type =
                      Okay, I pulled the pin. Now what?... Wait!...Where are you going?

                      Comment


                        #12
                        You'd not touch input type, that is defining what type of list it is. If you start with a drop down list and want to keep that, you'd not need to touch that area. With a dropdown you'll not have images included, so you're looking for product image to change once a selection is made from the drop down list.

                        Comment


                          #13
                          Ahh no, thats not what I want to do, I'd like the actual option to have a thumbnail in it, so that you can get a visual of the selection as you select it

                          So far am bashing my head against a brick wall I have tried all the suggestions on here but really not able to work it as I think that is where it changes it, rather than adding an image to a choice. If I could put an image link in the text field for that option then that would be perfect. but If I do that all I get is the name for the image come up rather than the image itself.
                          Okay, I pulled the pin. Now what?... Wait!...Where are you going?

                          Comment


                            #14
                            So you want a little image in the drop down list next to each option?

                            Comment


                              #15
                              yes, thats it, we offer a bespoke design solution with a combination of coloured crystals for horse browbands.

                              I have installed Magic Zoom which is great for close ups, but on the bespoke design where you can choose up to three colours it would be great to be able to select each colour you'd like and the little thumbnail would give a visual idea of how the colours go together.
                              Okay, I pulled the pin. Now what?... Wait!...Where are you going?

                              Comment

                              Working...
                              X