Change sql statement of the picture to binary

fixes #5