Programmatically Adding Images to Image Management

Or an alternative: