Resize an image after upload
Posted: Mon Sep 06, 2010 11:06 am
Can anyone steer me in the right direction here?
What functions, etc... would be best to use for resizing images after they have been uploaded? Any suggestions on the best approach for this would be great? This is my first attempt to do anything with PHP and images so all help is greatly appreciated.
EXAMPLE:
-------------
1. User uploads an image
2. Images gets placed in the uploads folder
3. Images gets resized to a fixed dimension and maybe moved to another folder (images or something, if needed)
4. All resized images in the uploads folder are displayed on a webpage.
What functions, etc... would be best to use for resizing images after they have been uploaded? Any suggestions on the best approach for this would be great? This is my first attempt to do anything with PHP and images so all help is greatly appreciated.
EXAMPLE:
-------------
1. User uploads an image
2. Images gets placed in the uploads folder
3. Images gets resized to a fixed dimension and maybe moved to another folder (images or something, if needed)
4. All resized images in the uploads folder are displayed on a webpage.