PHP code example of redfinch / redfinch-image-resize
1. Go to this page and download the library: Download redfinch/redfinch-image-resize 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/ */
redfinch / redfinch-image-resize example snippets
<img src=" echo redfinch_resize_image($attachment_id, 320, 120);
<img src=" echo redfinch_resize_post_thumbnail(320, 120);
<img src=" echo redfinch_crop_image($attachment_id, 450, 450);
<img src=" echo redfinch_resize_post_thumbnail(320, 120);