[eluser]AtomicNicholas[/eluser]
Hi, Not sure if I should report this as a bug or it's just my particular system, but I've tried it on Firefox on a Mac and on IE in Parallels:
I've created a basic image uploading setup, much like the example in the user guide but which displays the image that was uploaded together with a thumbnailed version below it.
It works fine for the most part, but intermittently, the browser chokes (in Safari) or gives and outright error in Firefox:
Quote:A PHP Error was encountered
Severity: Warning
Message: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 7 extraneous bytes before marker 0xd9
Filename: libraries/Image_lib.php
Line Number: 1140
A similar warning is shown below it:
Quote:Message: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/path/to/my/codeigniter/installation/uploads/THEFILE_01.JPG' is not a valid JPEG file
This is likely with GD / GD2, but it does this randomly regardless of what JPG image I use, and the JPG images are all fine, since the image opens fine and the upload is always successful. I also noticed that sometimes, the thumbnail isn't shown when this error occurs. In Safari the browser just chokes midway, though pressing the upload button a second time fixes it immediately. This occurs randomly, and like 10%-20% of the time.
Secondly, the thumbnails also sometimes goes off-color.
Any ideas? Thanks!