Grav – Media Resize

  • Post author:
  • Post category:Grav
  • Post comments:2 Comments
Resizing

Description

By resizing, you change the width and height of the image. The new image has blank areas in the background color which is given as a hex value. If background parameter is not provided, then it takes transparent as default for a PNG image, and white for a JPEG

Example

![My New Image](my-new-image.jpg?resize = 600, 200)

Output

The above code will fetch you the following output −

Resizing

Previous Page:-Click Here

This Post Has 2 Comments

Leave a Reply