#170, changed image dimensions from magic numbers to constants.