PHP code example of smartlabsat / sulu-image-crop-content-type
1. Go to this page and download the library: Download smartlabsat/sulu-image-crop-content-type 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/ */
smartlabsat / sulu-image-crop-content-type example snippets
xml
<property name="composite" type="image_crop">
<params>
<param name="previewCrop" value="300x"/>
</params>
</property>