Better logging around getImage