GDM-63: file uploader rescales images based on target width and/or height