PHP code example of rasteiner / k3-image-tag

1. Go to this page and download the library: Download rasteiner/k3-image-tag 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/ */

    

rasteiner / k3-image-tag example snippets


return [
  'imagetag' => [
    'max-width': 1400
  ]
];

return [
  'imagetag' => [
    'snippet': 'imagetag'
  ]
];

<a href="<?= $image->resize(2000)->url()