Ok here's an idea
Lets say I upload a thumbnail image and I tack on the end of that image binary data (it will still look like a JPEG to most viewers).
That solves the thumbnail problem, it will just work.
Can I change the code that views the picture full size to be something else eg java so that I can display the info exactly how I want?
Cheers Chris.