Clean up image resources when done (in v3)