Update image path and improve search pagination