enable string based media upload

allow to upload media from a string instead of a file