Limiting an image by specified dimensions
Limiting an image by specified dimensions
Presentation
Cropping
Media acceleration
Beginner
Limit the size of the image by specifying the width
and height
(w
and h
in URLs) while setting the crop
parameter to limit
. This will create an image that does not exceed the given width
and height
. All original image parts remain visible and the aspect ratio of the original image is kept.
Here's an original image:
Here's the same image, limited to 70x70 pixels:
Note that since the aspect ratio is kept, this transformation actually resulted a 70x47 pixels image.
When setting the width
and height
parameters to values that exceed the original image's dimensions, this will actually deliver the original image as is (850x565 px):