Added option to allow grab height from image attributes.
Fix code style.
Updated documentation.