dovrei aver risolto: mi è bastato passare da un campo di tipo BLOB a uno di tipo MEDIUMBLOB.

saluti. :)