PHP code example of alaindessi / adimage

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

    

alaindessi / adimage example snippets


$image = new Adweb\AdImage('public/image.png');
$image->resize('upload/test.png', 200, 200);