Draft code to upload pictures to wordpress

Rough draft of wordpress uploads---still uses the caption from Twitter---
but it seems to work