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
I want to change the design and color of a image automatical
Moderator: General Moderators
- 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
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
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.
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.
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: want to change its color and design
You dont need to create a new forum. You should continue with your previous thread.
viewtopic.php?f=68&t=100591
viewtopic.php?f=68&t=100591
Re: I want to change the design and color of a image automatical
Topics merged.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: want to change its color and 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.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.
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.