Content of the article
Use this function to output any image of the site (added trough media library) using its link:
<img src="<?php echo MDTF_HELPER::get_image('http://mysite.com/wp-content/uploads/2016/08/my_home_1.png', '500x300'); ?>" alt="" />
You can set any size you want by alias for the result image, for example: '800x600', but this should be always less or equal to the size of the original image, + be attentive with image proportions.
<?php public static function get_image($img_src, $alias) ?>
Useful for MDTF templates or any another custom tasks.