create  db with pictures