fixing image type on content when editing an article