dilithiumtoys
asked on
PHP Image Cropping
We would like to crop images using a web browser. We have nearly 9000 product images and we would like the ability to use PHP to develop an app that allows the user to step through the records and view the images.
When the user sees an image that needs to be cropped, they can submit the image to PHP to be cropped and then the PHP can perform other options.
When the user sees an image that needs to be cropped, they can submit the image to PHP to be cropped and then the PHP can perform other options.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I guess I should clarify. Our intent is to find how to do something specific. Crop images using our existing PHP 5 setup.
We already have a database. SQL Server EE. We use PHP in house already, and we actually use it with GD, but the docs are sketchy and I am not sure what to pass as parameters. We dont want to resize the images we want to crop out extraneous data, white space, background, prop tables etc.
We already have all of our images in the same directory.
Other options meaning that we need three sizes of the image.
We already have a database. SQL Server EE. We use PHP in house already, and we actually use it with GD, but the docs are sketchy and I am not sure what to pass as parameters. We dont want to resize the images we want to crop out extraneous data, white space, background, prop tables etc.
We already have all of our images in the same directory.
Other options meaning that we need three sizes of the image.
ASKER
This looks like a simple enough implementation. We could return the image as a preview before the user saves it. Thanks
It is certainly doable. Some things that will make it work better include being at the latest level of PHP with the latest GD library installed. You will also want to have all the raw (unprocessed) images in a single directory or in sub-directories of a single directory. You will want to have a data base, probably MySQL available so your developer can keep track of the images that have been processed, etc.
A written description of the workflow with some clarity about your meaning in the phrase "perform other options" would be helpful, too.
Best of luck with it, ~Ray