fixed custom src attributes
removed console.log
use height and width if it's available
Merge commit '36a4b8355334eb910798c127340b2f6b776b6030'