Is there a way to change a media type after it has been created, ideally through c# code, in Umbraco?
Migration by creating a new media node with the new type and migrating images below that media type is turning out more and more problematic, due to references.
Is there a nice way to change, say a folder, to a custom media type?
I am using Umbraco 7 and am looking to perform this migration on the Saved event on the content or media service in the App_Code folder.
I've had to do something very similar with document templates. You have two options - either you can change the media type, or you could create a new media with the correct type, copy properties over and destroy the old one. There should be plenty of code samples to do that but shout if you get stuck
You should just be able to add an event handler in the app_code folder to fire on save