fix post thumbnail errors
Merge branch 'master' of github.com:fiftyandfifty/ffw_media

* 'master' of github.com:fiftyandfifty/ffw_media:
  media function