only upload media if there is one
Merge pull request #178 from simplysoft/master

only upload media if there is one