Add image in edit post page.
Fix url generation.