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

fixes issue #10