upload image preview widget: preview frame displays images disproportionately