remove image resources