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

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
sankar
Forum Newbie
Posts: 2
Joined: Fri May 22, 2009 2:34 am

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

Post 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
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

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

Post 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.
sankar
Forum Newbie
Posts: 2
Joined: Fri May 22, 2009 2:34 am

want to change its color and design

Post 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.
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: want to change its color and design

Post by jaoudestudios »

You dont need to create a new forum. You should continue with your previous thread.
viewtopic.php?f=68&t=100591
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

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

Post by pickle »

Topics merged.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: want to change its color and design

Post 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.
Post Reply