Show author image, name and last modified date with pages

How to show author image, name and last modified date with pages in wordpress.

Put this code in functions.php file and enjoy.