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:
http://project.dev/dynamic/placeholder/200×50
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));