fixing images paths for cds