replace path consts with $images_path