PHP code example of infrajs / imager

1. Go to this page and download the library: Download infrajs/imager 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/ */

    

infrajs / imager example snippets


/-imager/?src=-imager/test.jpg&w=300&h=200&crop=1&top=1&num=0

/vendor/infrajs/imager/?src=vendor/infrajs/imager/test.jpg&w=300&h=200&crop=1&top=1