Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Templates, Stylesheets, Page Layout / Attribute images (swatches) and how they display

Attribute images (swatches) and how they display

Locked

Started by robert_t on 2 Jul 2006, 12:27 AM · Views: 9,210

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
2 Jul 2006, 12:27 AM
#1
robert_t avatar

robert_t

New Zenner

Join Date:
Aug 2005
Posts:
50
Plugin Contributions:
0

Attribute images (swatches) and how they display

I created a simple dropdown to select Color of an item. I see that if I add an image for each attribute then all the images display full size all the time.

I was hoping that I could assign an attribute image and then when each option is selected the swatch or product image changes to the alternate image. For instance, if I select the Product called Choker and it comes in 3 colors....and I have a dropdown to select color then I thought the image for that option would load.

Also, is there a way to give each color of an item its own Model # or do they have to be their own product to have this happen?

I am not sure I understand the way swatches are presented. Option selection and visual confirmation of that selection is not working as I would like or had hoped for.

Can someone shed some light on this feature and perhaps show me how this is handled?

2 Jul 2006, 4:45 AM
#2
ronpeled avatar

ronpeled

Zen Follower

Join Date:
Sep 2004
Location:
LA, California
Posts:
111
Plugin Contributions:
0

Re: Attribute images (swatches) and how they display

Each product has attributes. In the options manager you can setup different options for your products, for example: sizes, colors, etc. Than you need to setup the different sizes or different colors - these are called product attributes and each attribute can be assigned to one option. Once the 'framework' is setup you can now assign a option/attribute combination to a product.

You can see how it works on this site: https://www.theclickworldwide.com

The bottom line is that you have to try it and see how you can use it for your store. I am sure there is more than one way to work with this flexible system.

Ron Peled

31 Oct 2006, 9:57 PM
#3
mteicher avatar

mteicher

New Zenner

Join Date:
Oct 2006
Location:
Mechanicsburg, PA
Posts:
33
Plugin Contributions:
0

Re: Attribute images (swatches) and how they display

So I have color attributes: green, blue, navy blue, white, stone, and would like to show the various colors of product that I have available, but how do I reduce the image size so that full blown images are not being displayed.

13 Dec 2006, 2:06 PM
#4
dudeshouse avatar

dudeshouse

New Zenner

Join Date:
Dec 2005
Location:
Portishead, UK
Posts:
32
Plugin Contributions:
0

Re: Attribute images (swatches) and how they display

Can't you just use your image editing software and upload them via FTP as a smaller image?
That's what I've just done. I just need to figure out how to get them displaying in a line now, rather than down the page...

...there is nothing worse than aggresive stupidity...

3 Jul 2007, 5:40 PM
#5
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: Attribute images (swatches) and how they display

dudeshouse:

Can't you just use your image editing software and upload them via FTP as a smaller image?
That's what I've just done. I just need to figure out how to get them displaying in a line now, rather than down the page...

Is there a way IH2 could control sizing these images?
Or at least an admin>images control to specify size?

10 Jul 2007, 6:40 PM
#6
helpme avatar

helpme

Totally Zenned

Join Date:
Apr 2007
Posts:
632
Plugin Contributions:
0

Re: Attribute images (swatches) and how they display

I have the same question! Do I have to manually shrink each picture to use as my attribute thumbnail?
Anyone, Anyone??

17 Jul 2007, 3:31 PM
#7
eyefultower avatar

eyefultower

New Zenner

Join Date:
Jul 2007
Posts:
77
Plugin Contributions:
0

Re: Attribute images (swatches) and how they display

dudeshouse:

I just need to figure out how to get them displaying in a line now, rather than down the page...

If anyone has the answer to this I would also be very grateful.
I suppose they could just be HTML'ed into the item description though that would be a hassle when it comes to stock control.

17 Jul 2007, 3:55 PM
#8
eyefultower avatar

eyefultower

New Zenner

Join Date:
Jul 2007
Posts:
77
Plugin Contributions:
0

Re: Attribute images (swatches) and how they display

EyefulTower:

If anyone has the answer to this I would also be very grateful.
I suppose they could just be HTML'ed into the item description though that would be a hassle when it comes to stock control.

KerChing!

If you go to option name manager, then click edit for the appropriate you will notice 'attribute images per row'.

23 Oct 2009, 11:49 PM
#9
dhickman avatar

dhickman

New Zenner

Join Date:
Oct 2009
Posts:
3
Plugin Contributions:
0

Re: Attribute images (swatches) and how they display

I have successfully created options and added images swatches. However the images overlap each other when I have more that one on a row. this happens with images that are 100X100 px or 200X200 px. I cant find any settings on changing the images sizes. All help is appreciated!

24 Oct 2009, 2:32 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attribute images (swatches) and how they display

Attribute images are the size that you make them ...

Make them large and that is their size, make them small and that is there size ... there are no size switches for attribute images ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Oct 2009, 11:59 AM
#12
dhickman avatar

dhickman

New Zenner

Join Date:
Oct 2009
Posts:
3
Plugin Contributions:
0

Re: Attribute images (swatches) and how they display

I just answered my own question. In the css the width was being constrained by a width of 20%. By removing that constraint all is well.

24 Oct 2009, 1:53 PM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attribute images (swatches) and how they display

Thanks for the update and for posting the solution that worked for you ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!