updating image tags to image_tag format, updating file ext