i did save image to mysql by creating a field type longblob and saving it by converting the image into byte(). my problem is the image cannot be to big else it fails. can anybody help me in this. i can send the sample code if requieres. thanks

Recommended Answers

All 2 Replies

May you make a timeout for transaction which is smaller than the time needed to send the binary data for the image and saving it in database I recommend you to open another thread in MySQL forum http://www.daniweb.com/forums/forum126.html you may find someone helps you...

thanks. i've found out actually the problem is mysql. i've declare longblob for image field but somehow it only can go upto 13b of size ? i'm trying to look in mysql documentation now.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.