Smart, semantic exception handling for image resizing. refs #3379