PHP code example of phile / inline-image

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

    

phile / inline-image example snippets


return array(
  'images_dir' => 'content/images/', // the folder where your images exist
  'wrap_element' => 'p', // the element to wrap the img tag in
  'wrap_class' => 'content-image' // the class to apply to the wrap element
  );

php composer.phar 

$config['plugins']['phile\\inlineImage'] = array('active' => true);