Allow post media to work with urls

Currently only works with local files, not useful for tweeting images stored remotely