alter image resources