change paths to images from localhost