Connect to the pics table and make a page to display the data