Ok so I want to modify an image with PHP. I am starting to learn php but what would be the best way to do this. On the website I am going for a cork board effect. The user submits an image and it gets resized and rotated so that it looks like its a photograph that is taped to the cork board. The graphics aren't a problem I have that under control but say i have a design made up and everything of a blank image template. How would I resize/rotate the users photo so it goes in that photo template? Here is how it would work.. -user submits image -another default photo template is added to the cork board -the users photograph is in the template
You'll have to use one of the image manipulation libraries available for PHP. There are 2: GD and Imagemagick. Which one you use is up to you (they kinda work in different ways). Maybe do a google search for "php gd" and "php imagemagick" and see what examples and tutorials you can find. There are lots of them out there. Good luck! -V