Colour variations: showing different products in different colours

Rachel123

Free Member
Jul 27, 2011
77
7
Hi all,

I apologise if this has been asked before but I did search and couldn't find an answer. Basically, I'm trying to recreate exactly what this website has done: http://bit.ly/2tG82ld with its colour variations.

There's a colour swatch showing each available colour, but when you click on the swatch, you see the colour on the actual product.

I want to have text/design on tshirts but other than the one item that will be printed for photographic/sales purposes, I want to be printing when I receive orders (using a company like Printful, for example).

The way the text remains static as you click through the colour variations suggests that this is a Photoshop colour fill or something, but then that doesn't account for the deeper colours where the creases and folds are.

So my question is: is there a software package that does this? Is it just clever Photoshop? Or do I actually have to create every single tshirt in every single colour?

Your help would be most appreciated, many thanks!
 

fisicx

Moderator
Sep 12, 2006
46,699
8
15,380
Aldershot
www.aerin.co.uk
If not photoshop, some other graphic application.

And yes, you do have to create an image for every single colour.
 
Upvote 0

fisicx

Moderator
Sep 12, 2006
46,699
8
15,380
Aldershot
www.aerin.co.uk
Nope, you have to do the work yourself.

Each colour is a product variant. When you create the product listing you need to create a variant for each colour (and maybe size as well). It's not a 5 minute thing, it can take a while to build up a single listing. Especially as you may want different views on the product such as worn by a male/female, close up of the stitching and so on.
 
Upvote 0

Rachel123

Free Member
Jul 27, 2011
77
7
Nope, you have to do the work yourself.

Each colour is a product variant. When you create the product listing you need to create a variant for each colour (and maybe size as well). It's not a 5 minute thing, it can take a while to build up a single listing. Especially as you may want different views on the product such as worn by a male/female, close up of the stitching and so on.


Fair play then. It was worth a punt though!
 
  • Like
Reactions: fisicx
Upvote 0

Raw Rob

Free Member
Aug 1, 2009
1,129
236
London/Portugal
I disagree, there must be automated ways of doing this. I use websites such as redbubble which enable you to sell your own artwork on things such as t-shirts, etc. I upload a piece of artwork and all the images of t-shirts, mugs, etc, etc are created dynamically. Maybe this could be coded using php plugins such as gd or imagemagik? (I've only used these for very simple stuff, I've no idea how powerful they are.)
 
Upvote 0

Rachel123

Free Member
Jul 27, 2011
77
7
I disagree, there must be automated ways of doing this. I use websites such as redbubble which enable you to sell your own artwork on things such as t-shirts, etc. I upload a piece of artwork and all the images of t-shirts, mugs, etc, etc are created dynamically. Maybe this could be coded using php plugins such as gd or imagemagik? (I've only used these for very simple stuff, I've no idea how powerful they are.)

Yes, yes, yes!!! That's what I think too! I've seen exactly what I want on Redbubble, but if the software is sold separately, I wouldn't even begin to know what to search for or what it's called. It was hard enough trying to tile this post correctly!
 
Upvote 0
It's just the 'Replace Colour' function in PhotoShop.

Go to Adobe, register as a customer for free and then go to 'Other Downloads' and you can download the 12-year-old PS CS2 for free.

Load up a pic and go into adjustments and scroll down to 'Replace Colour'. You can set the range and fuzziness and depth of shadows, etc. within that tool.

Other programmes have similar functions, but are not as easy to use.
 
  • Like
Reactions: Rachel123
Upvote 0

paulears

Free Member
Jan 7, 2015
5,656
1,665
Suffolk - UK
In this example each colour version has a unique URL, so it's a separate page - so fair enough it's time comsuming to clone a page, make sure it has a different sensible url - as in these ones have blue, or red as part of the common location text - changing colour is a very basic and simple photoshop feature, and if they have an image of the new colour, you sample it and photoshop does it. You can't create automation for this because too many things are different, setting up a system to open an image, sample the colour at a common place, use this colour to do a colour swap, and then save the page takes longer than doing it manually.

One off my sites has a sequence of identical pages with the exception of the image and the PayPal code to buy it - which also changes.
 
Upvote 0

fisicx

Moderator
Sep 12, 2006
46,699
8
15,380
Aldershot
www.aerin.co.uk
As I said above, you can, because some sites such as RedBubble do it on the fly with images uploaded by the user.
Yes, but that no good for the op who wants her own site. The redbobble site will have cost thousands to develop.
 
Upvote 0

Raw Rob

Free Member
Aug 1, 2009
1,129
236
London/Portugal
Yes, but that no good for the op who wants her own site. The redbobble site will have cost thousands to develop.
Of course. But I'm responding to people saying it can't be done, when clearly it can. Plus I don't think it would be that difficult to code for someone who is experienced in working with ImageMagik or gd.
 
  • Like
Reactions: Rachel123
Upvote 0

fisicx

Moderator
Sep 12, 2006
46,699
8
15,380
Aldershot
www.aerin.co.uk
It can't be done to meet the needs of @Rachel123. There is no plugin or simple script that does this. I did something similar a while back and it's not simple or easy - it cost the client about $1500 and even then it only worked on predefined colour swatches.

ImageMagik and GD are constantly being hacked as they write directly to the database.
 
  • Like
Reactions: Rachel123
Upvote 0
Yes we know there are many php graphics libraries that do this, i've used a few in the past, but more often than not end up reverting to photoshop layer masks.

You can automate photoshop very easily and batch process as many images as needed.
I'm far more inclined to trust photoshop's advanced colour algorithms to get the tone of the clothing correct than trust a php graphics library. I also like the image compression results much more in photoshop.

We also didn't like the cpu cycles and RAM usage of these GD or imagemagick and got timeouts and even crashes.

But if you have LOADS of images then things may be the way forward for you.
 
Upvote 0

fisicx

Moderator
Sep 12, 2006
46,699
8
15,380
Aldershot
www.aerin.co.uk
That's a report from 2010!

The have been all sorts of warnings since then to avoid using either if you want to keep your site safe.
 
Upvote 0

fisicx

Moderator
Sep 12, 2006
46,699
8
15,380
Aldershot
www.aerin.co.uk
Upvote 0

paulears

Free Member
Jan 7, 2015
5,656
1,665
Suffolk - UK
How can any automation manipulate an image provided by users and then morph it into exactly the same look - at best, it could sample colour and apply that to a new image - but manual approval of each image would be needed to assess success? Any automatic system that can do this cannot do it 100% correct - can it? User images will be all totally different to the stock image everything has to mirror.

I'm happy being wrong - often am - but I find some image manipulating concepts difficult to imagine getting things right - pixel shifts between images really being obvious in this kind of material.
 
Upvote 0
My clients tend to be very protective about the images, colour matching etc. For example I work with a high end lighting and handmade filament lightbulb company, they required shots with bulbs turned on and off, so had to take each photo separately as the hue and lux values needed to be as close as possible.

Same goes for many designer clothing manufacturers, some tend to be a bit obsessed with how their clothes look online (can't really blame them to be fair).

Having said that if its a cheapish printed t-shirt or coffee mug then the automated way may work just fine. But as mentioned above if you intend to host the image library, you may be opening yourself up to a lot of security headaches.
 
  • Like
Reactions: Rachel123
Upvote 0
How can any automation manipulate an image provided by users and then morph it into exactly the same look

In photoshop for example you can create a layer mask and then simply remove the colour and replace it leaving the rest of the image untouched. It can be a little tricky but the tools in photoshop are so good these days its not that hard really.
 
Upvote 0

fisicx

Moderator
Sep 12, 2006
46,699
8
15,380
Aldershot
www.aerin.co.uk
And that's exactly what @Rachel123 has been advised.

While there are tools that will let you change the colours of things on the fly (using flash for example), if you want to show a photo of a t-shirt in different colours (selected from a palette) and then add designs (maybe front and back) and have different views of the t-short then you need to create all those images.

You can probably do clever things with sprites and CSS layers but you still need the original images. You may also want to show the different sizes (on models), again you need to take photes of each size and then create all the different colours.

I've done this recently for a client and they had 150+ variants (size, colour and material). They had to create each image in photo shop. Once everything was set up it only took them a couple of hours.
 
  • Like
Reactions: Rachel123
Upvote 0

Raw Rob

Free Member
Aug 1, 2009
1,129
236
London/Portugal
How can any automation manipulate an image provided by users and then morph it into exactly the same look - at best, it could sample colour and apply that to a new image - but manual approval of each image would be needed to assess success? Any automatic system that can do this cannot do it 100% correct - can it? User images will be all totally different to the stock image everything has to mirror.

I'm happy being wrong - often am - but I find some image manipulating concepts difficult to imagine getting things right - pixel shifts between images really being obvious in this kind of material.
Have a look at this
This was created on the Redbubble site, completely automated from a regular image (with straight sides) which I uploaded.
 
Upvote 0

fisicx

Moderator
Sep 12, 2006
46,699
8
15,380
Aldershot
www.aerin.co.uk
Yes, but the software on the redbubble site will have cost thousands to develop. I doubt the OP has the money to pay for software development. There is one tool I saw you can get that does just this but it's $2500.

And while redbubble does let you manipulate the colours, you still need to create each image for the swatch. Take a look at this: https://www.redbubble.com/people/ka...=womens&body_color=black&print_location=front. Click on a different colour and a new image loads.

Which means they might just as well use photoshop to create the images.
 
Upvote 0
That looks great, very impressed, it would fool most people into thinking it was a unique photograph of the product.

That said it still wouldn't pass my particular clients brand guidelines, (but they are really protective of their products and brand). They spend stupid money on their product photography, more money than sense i say ;-)
 
Upvote 0

fisicx

Moderator
Sep 12, 2006
46,699
8
15,380
Aldershot
www.aerin.co.uk
That looks great, very impressed, it would fool most people into thinking it was a unique photograph of the product
For about a millisecond. Showed it to my wife and she spotted the crop almost immediately (She buys loads of cushions. I now struggle to even get into the bedroom there as so many of the things).
 
Upvote 0
Yeah, the jaggy crop lines and dodgy lighting / shadows are a bit of a give away, but for the lay person its more than good enough to give you an idea of what you are buying.

However that was the reason my clients all dismissed it out of hand, good enough for some things but not others. I'm still impressed though considering its an algorithm.
 
Upvote 0

Rachel123

Free Member
Jul 27, 2011
77
7
Errr...I didn't realise the conversation was going on; never got any more email notifications. I only came online to pop a few things I'd found on here in case it's ever useful for anyone. I'm partial to WordPress and ergo Woocommerce, so I only searched on those platforms, but I'm sure other platforms have their own extensions:
https://codecanyon.net/item/woocommerce-custom-product-designer/10959830
https://codecanyon.net/item/woocommerce-custom-tshirt-designer/5185471

I have, however, just read all your comments and I'm looking into Photoshop layers and other such gobbins too!

Thanks again.
 
Upvote 0

Latest Articles

Join UK Business Forums for free business advice