View Full Version : dynamic image float

02-21-2012, 07:39 PM
anyone seen any tutorials for something that allows users to upload an image and place it onto another? I.E. user uploads a logo and it is automatically placed onto a tshirt. I have seen this done with flash on a lot of sites but i was wondering if there is a way to do it with html5/javascript/php? Thanks much!

02-22-2012, 02:30 PM
It can be done with php, coldfusion, or any serverside language. I guess it could be done with js as well, but site functionality should never be left to js alone. Ideally you'd have a database, some server side queries and coding to retrieve and call the images, then CSS styles to position an image over the plain shirt image.

I know of no automatic way of doing this with software.

02-23-2012, 03:17 PM
Yes, there is a PHP function for uploading files:

But you have to be careful, because uploading is like a open gate to your server. That means you can receive Viruses etc. I think you have to be very experienced to recommend it. Best is just to ask the customer to email their logo.