Click to See Complete Forum and Search --> : Dynamic Graphic creation - How to?


scottdsm
02-22-2007, 11:17 PM
Here's the scenario I'm trying to resolve.

A website visitor selects a t-shirt color (dropdown menu), then selects a logo to print on that color shirt. How can I automatically create the "merged" graphic of the color/logo without having to create individual gif/jpgs for each combination? I'm looking at 12 different colors, and 20 different logos.

Please advise. Thanks.

felgall
02-22-2007, 11:49 PM
Use a server side language such as PHP to create the graphic for you.

Centauri
02-24-2007, 04:18 AM
If you had the 20 logo graphics as transparent gifs or png files, a script could easily set one of the 12 coloured shirt graphics as a background to a div, with the div containing an <img> which is one of the 20 logos.

Cheers
Graeme