PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
For example, when I resized an image 475*475 to 300*300, it ruined the quality. Turned it to black and white basically and the brightness down a lot.... Any ideas on how to fix this script?
If you can get your host to install ImageMagick, if it's not already installed, then you will have access to some fantastic image processing tools through the SYSTEM command.
The $newimagepath would be the directory path to the image including the image name. IE: /home/www/website/uploadedimage/myimage.jpg
The quality is great for resized images. That's one way to avoid losing image quality as the built in image manipulation functions for PHP are not very good when resizing images.