Update image opacity.