tako4
05-30-2006, 03:43 PM
The BlueHost control panel contains a nice little utility for scaling image files under Image Manager -> Image Scaler.
I'm looking for a simple way to perform that same function from the PHP script that I use to upload user image files. The general idea is to automatically scale the user's image file to a predetermined size during the upload and move_uploaded_file() process. All files are in JPG format.
Anyone know of a simple way to do this using the standard BlueHost PHP environment? Seems like this would be a fairly common requirement for any site that allows user image file uploads.
I'm looking for a simple way to perform that same function from the PHP script that I use to upload user image files. The general idea is to automatically scale the user's image file to a predetermined size during the upload and move_uploaded_file() process. All files are in JPG format.
Anyone know of a simple way to do this using the standard BlueHost PHP environment? Seems like this would be a fairly common requirement for any site that allows user image file uploads.