Created image table in the database. Gallery now also pulls from the DB