create media with uri(fail),minimize picture