Add image to posts

also use the newer `validates` syntax: `validates :url, format: ...`