implements image downloading and removing width and height attributes options