Jump to content

colors for different parts of an image


sowjanya08

Recommended Posts

Hello Guys!

          I have used the image swap function to change the color of the whole tshirt on click. But I need to change the color of each part of the tshirt like sleeves, collar etc. which seems to be more complicated.  How could this be done?

Any help would be appreciated!  :)

 

Link to comment
Share on other sites

Letme explain with the following image...

I am planning for the user to be able to change the color of the t-shirt ( body, collar and sleeve )

 

so initially i ll be having a plain white tshirt.. using javascript i am able to change the color of the t-shirt entirely by using the swap... pre creating the images for various colors of the shirt...

 

now apart from that,,if i want to change the color of the sleeve, i shud change only the sleeve part alone..not the entire shirt.. which i dono how to do... how can i id or attribute the sleeve or the collar part alone ....

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.