Allows adding of post id through post vars

Images can now be associated with posts, assuming they exist. Based on current xml-rpc method