changes image-path to assets-path