Add class to indicate when an image has loaded completely