This is a multiple image uploader with flexible thumbnail generator. You can set how many images you want to upload at once. This script creates thumbnails automagically from GIF / JPEG and PGN images. You can also disable thumbnails completely. You can change easily path/to/upload and thumbnails max width and height. Script dedect automagically which dimestion to use for resize. It checks image-type and max-image-size. Comments and featurequest are welcome!
This is a typical PHP+GD
This is a typical PHP+GD issue. Resized small images are low quality.
my thumbnail pictues is to low quality?
Hi. Firstly thanks for your great code. But i have a problem. With this code , my upload's thumbnail pictures are to low quality. Normal size pictures is the same as before uploading but small pictures is worse.
What must i do to be have hşgh quality thumb pictures.
Thanks to alot.
İf any body wawnt to help me , he can mail me :
malisabuncuoglu@gmail.com
See you soon
Code updated: high quality thumbnails
Code updated: imagecreate replaced with imagecreatetruecolor!
Now thumbnails are high quality.
it is working
just tested with 4 images, 1 gif + 1 png + 2 jpeg and it works. all images uploaded and thumbnails created. check your server + permissions.
Adding photos to Mysql database
How would you go about getting the name of each photo so it can be added to a mysql database? I know how to add single items from a form into a mysql database, but I'm not sure how it would work with the "for" loop you have.
I was busy developing a site that allowed members to upload images for there own galleries. I was really struggling to create gif thumbnails and this script did everything I wanted and was so easy to implement. THANX