handle simple posts and serve images