Write in db
problem with images