remove image resourse