db works fully for text elements

still cannot save images to db, but insert and query to string
work