2nd change to make image dynamic in search