hi all,
i need some guidence. Scenario is as follows:
I want to develop a dynamic page for product customization(image). User will come here and apply its favourite color or texture that will fill in the selected image.
For Example:
1) User Selects a Chair.
2) Now he want to fill his desire "Texture" in its Frame.
or
3) He wants to fill his desire Texture in it's Seat only.
can it be possible with the integration of Flash & PHP.
Please guide me or give me some useful resource to learn for this task.
Please tell me from where should i start ?
For more detail please visit following link & click on Customize This Product
http://www.getiplocation.com/furniture/ ... 42156cf94f
regards
WAQAS
Image Custumization guidence required
Moderator: General Moderators
-
waqas_punjabian
- Forum Commoner
- Posts: 67
- Joined: Wed Aug 10, 2005 9:53 am
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
I don't know if you need PHP or Flash -- probably Javascript will suffice. I set the current large chair images as the background and then create images with just the seats in different fabrics with the rest of the image transparent (PNG would probably be the best). Then just set the src for the foreground image to be the one for the color swatch they clicked on.
You could also use Flash to do fancier things ... and something like GD to composite images server-side. But I would start simple.
You could also use Flash to do fancier things ... and something like GD to composite images server-side. But I would start simple.
(#10850)
...or you could create component images for every possible combination. For example, for a pink, leopard chair, you'd make a pink leopard back & a pink leopard seat & pink leopard arms. When the user says 'generate my chair', you could pick & pull those component images & render them together in one image. If they wanted purple zebra arms, for example, you could pull the component image that was purple zebra & use that graphic instead.
~arborint's way is probably better though if they don't need to have a finally rendered graphic.
~arborint's way is probably better though if they don't need to have a finally rendered graphic.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.