PHP code example of schnti / autoresize

1. Go to this page and download the library: Download schnti/autoresize library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

schnti / autoresize example snippets


return [
  'schnti.autoresize.max' => 1500,
  'schnti.autoresize.customConfig', [
      'imagekit.lazy' => false // e.g. for use with https://github.com/fabianmichael/kirby-imagekit
  ]
];