Issue #1174: Large uploaded images break the layout of the patient record in certain browsers
Fixed

(cherry picked from commit 13161bcfd7cfcdea5dbacb8c8eb20f9f0dd8bbdb)