make search functional on images page