fixes download paths for images (frontend)