pass media[] parameter as blob image
fixes issue #10