Page 1 of 1

I want to change the design and color of a image automatical

Posted: Fri May 22, 2009 2:45 am
by sankar
Hi
I am new to PHP.There is a picture of a shirt in my design and small small picture of different types of shirts are available. i want when i click on any one of the design the picture of the shirt will be changed to that type.
Actually i want the screen automatically "paints".Is there any tool availbale for this or php code is there for it.


Please help me...


Thanks

Sankar

Re: I want to change the design and color of a image automatical

Posted: Fri May 22, 2009 4:26 am
by jaoudestudios
So you dont want to load different images? you want to actually change the colour of the shirt? You might have to look at SVGs.

want to change its color and design

Posted: Fri May 22, 2009 5:24 am
by sankar
Hi
I don't want to change the image but want to change its color and design when i click a sample design from a list of design.

Re: want to change its color and design

Posted: Fri May 22, 2009 5:55 am
by jaoudestudios
You dont need to create a new forum. You should continue with your previous thread.
viewtopic.php?f=68&t=100591

Re: I want to change the design and color of a image automatical

Posted: Fri May 22, 2009 9:55 am
by pickle
Topics merged.

Re: want to change its color and design

Posted: Sun May 24, 2009 2:09 am
by jaoudestudios
sankar wrote:Hi
I don't want to change the image but want to change its color and design when i click a sample design from a list of design.
You can easily do it with SVG. SVG is an XML based vector image, so it is simple to change colors etc. However, I am not sure it will work with a complicated image.

Another way might be to save the image with different colour overlays and change the image each time a new colour is selected - the image will look the same apart from the colour change.