render pics real time and search bar