feat(document); thumbnail is original image in size is zero (refs #4786)