I am creating a php driven website for an e-commerce store. One function of the website is for the user to upload a photo and for it to be previewed on a pre-defined image.
Is this possible in php?, i have an image upload script but cant figure out how to retrieve the image from the database, crop and then place the image over the background image which will be in the form of a tshirt or something similar.
Thanks
Himesh
Upload photo and preview
Moderator: General Moderators
-
skullmunky
- Forum Newbie
- Posts: 12
- Joined: Fri Apr 17, 2009 10:25 pm
Re: Upload photo and preview
retrieving and displaying the image is pretty standard; to crop and composite, look at the "gd" library.
Re: Upload photo and preview
nice 1, thanks