Auto size of images in Beamer class \usepackage…

Auto size of images in Beamer class.

http://tex.stackexchange.com/questions/67434/redefine-includegraphics-for-beamer#comment143600_67434