make img paths relative