Revert "Removed height attribute for img tags"

This reverts commit ae1fa7354fe6aa5ff964b5174c90409f17b29ccc.
Added max-height property for thumbnails