Add destroy to gend_images controller.