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

Attempt 2.