pics_page now dynamically loads pics from database