Posts Tagged ‘resize’
Simple upload image and create a thumbnail image
Monday, June 8th, 2009
Here is an example for a simple way of uploading an image and then create a thumbnail image automatically. This PHP script does the following:
- it uploads the image to a temporary location,
- then it copies the uploaded image to a permanent location,
- the script then creates a smaller thumbnail image and saves this to a special thumbnail image location
This PHP script is set up only to allow the upload of JPG formatted images. But with some PHP knowledge you will be able to change this.
images, resize, upload
Image upload | No Comments »
Resize Uploaded Images Using PHP and GD Library
Monday, June 8th, 2009
This script demonstrates the use of GD library to generate thumbnails. The script first saves the uploaded image in a specific location, it then generates a thumbnail version of the image and finally saves the generated thumbnail image in JPEG format. (more...) images, resize, rss, script
Image upload | No Comments »