Fix image url attributes