refs #466: use max-height css attribute to control image size in image dialog box
Merge branch 'ticket466' into testing