have a table need to save the image directly to the table
field set as binary, but get the Total length of file names exceeds field length error.
do i need a separate field for the file name??
You need to set the field size in your database. In your screenshot, the field is a binary field of size 1 only, too small to store your uploaded file. (Note that the Max file size (bytes) setting in the screenshot is the max file size of the uploaded file, not the field size for storing the uploaded file.)