PHP code example of shdev / spress-plugin-assets
1. Go to this page and download the library: Download shdev/spress-plugin-assets 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/ */
shdev / spress-plugin-assets example snippets
<asset_output_web_prefix>/img/header_813dec0e6ec1420d101c3f07bfc0a135.jpg
<asset_output_path>/img/header_813dec0e6ec1420d101c3f07bfc0a135.jpg
twig
{{ 'img/header.jpg' | img }}
<img src="<asset_output_web_prefix>/img/header_813dec0e6ec1420d101c3f07bfc0a135.jpg">
<asset_output_path>/img/header_813dec0e6ec1420d101c3f07bfc0a135.jpg