changing img paths to relative