use correct image magic path