I want to share new built-in feature from yf framework:
It allows to easily display placeholder image with desired dimensions.
There are several methods to do this:
1. Calling url from any place will display image with width 200px and height 50px:
2. From withing project php code calling helper method will return html “img” tag with data/image with width 200px and height 50px:
module(‘dynamic’)->placeholder_img(array(‘width’ => 200, ‘height’ => 50));