Finally, I solved the problem by writing a Store Procedure to convert Image field data to TEXT field data, and split them into small block (8K). It seems that PHP may not handle image fields or large/long data/string block correctly.