EnglishHi,
http://www.annemasse-media.com/piwigo/i … ba7-me.jpg
My web browser tells me that the image can't be displayed because it contains error. When I download it with "wget", I can see it begins with:
[...] CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 95
Do you have an idea of the problem?
Offline
the images are well generated on disk, but for some reason the send_derivative function does not work properly ... (fopen, fpassthrough, ...)
should also test if action.php works correctly ...
Offline
Hi Pierrick
The file is corrupted.
It begins with 2 spaces..
Valid JPEG header:
FF D8 FF E0 00 10 4A 46 49 46
Here, the header is:
20 20 FF D8 FF E0 00 10 4A 46 49 46
There something wrong on the server side, when i.php return the file, spaces are added...
try removing this 2 car and I think you'll be able to open the file.
And you can see it on the anne-masse's piwigo site when looking the source of the page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html xmlns:fb="http://www.facebook.com/2008/fbml" lang="fr" dir="ltr"> <head>
there's 2 space before the <!DOCTYPE> markup...
I remember I had this problem when I've installed PEM for the first time on my server, but I don't remember why I had this problem and how I've solved it :-(
Offline