Netlify offers dynamic image transformation for all JPEG, PNG, and GIF files you have set to be tracked with Netlify Large Media .

Before setting provider: 'netlify', make sure you have followed the steps to enable Netlify Large Media .


In addition to height and width, the Netlify provider supports the following modifiers:


  • Default: contain
  • Valid options: contain (equivalent to nf_resize=fit) and fill (equivalent to nf_resize=smartcrop)
Edit this page on GitHub Updated at Fri, Jul 9, 2021