PHP: Creating cropped thumbnails of images, problems
问题 I am fairly new to PHP, and I am writing a script that will resize images. First an uploaded image is resized to 800width by *height, depending on the orientation of the file uploaded (portrait/landscape). The script is then meant to create a thumbnail of that image. The thumbnail must be 175width by 117height. This is has the same proportion as a standard jpeg image from the cameras that take the pictures, thus there is no need to crop the image for a thumbnail version if the original file