hooked up our database with pictures