Changed line 197 to "auto" to prevent image misproportion