Resize images :
If checked the image are resized if exceed the max dimension
Resize width:
The max width dimension for the image
Resize height :
The max height dimension for the image
Width | Height | How my code work | Yes* | No* | The image will be resized only if the image width is > of the Width value. 1° case) If the Keep Aspect Ratio is Checked the new image will be resized at the Width value and the relationship between height and width is preserved. 2° case) If the Keep Aspect Ratio is not Checked the new image will be resized at the Width value and the relationship between height and width is not preserved so the new image will be the same Height of the original image.
| No* | Yes* | The image will be resized only if the image Height is > of the Height value. 1° case) If the Keep Aspect Ratio is Checked the new image will be resized at the Height value and the relationship between height and width is preserved. 2° case) If the Keep Aspect Ratio is not Checked the new image will be resized at the Height value and the relationship between height and width is not preserved so the new image will be the same Width of the original image. | Yes* | Yes* | The image will be resized only if the image Height is > of the Height value or the image width is > of the Width value. 1° case) If the Keep Aspect Ratio is Checked the width and height you enter are just maximum values. Think of it as a virtual box. The image is resized to fit the box proportionally and the relationship between height and width is preserved. 2° case) If the Keep Aspect Ratio is not Checked the new image will be resized at the Height value and Width value and the relationship between height and width is not preserved. | * Yes: You enter the value
* No: You don't enter the value
If the 2 dimensions are in the range and the image don't need resize the image format will not be changed. |
|
Jpeg quality:
If the saved image is a Jpeg You can adjust the Jpeg image quality.
80 is a normal quality for Jpeg image.
Keep aspect ratio:
The relationship between height and width of a picture is known as the aspect ratio.
If this checkbox is checked this relationship is preserved during the resize.
Resize setup:
If this is checked you allow the user to setup the resize option. The option the user can setup are: Resize with and height, Jpeg quality and keep aspect ratio. Each time the upload page is loaded the resize options are restored so the new value entered are valid only for that upload session.