hi. i know that storing images in the database is a controversial topic. however, for a variety of reasons, i have chosen this method. my problem is that images 50-60k and greater are only partially displayed when retrieved. usually only about 80% of the image gets displayed and the remainder is gray. smaller images work fine. i'm using a long blob field, and the file size of the blob matches the size of the original file. it's as if php does not know how long the fetched binary data should be. any ideas? thanks.