Script-based image viewing to account for the RAW_IMAGE config option