Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2012-07-05 00:29:45

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11723
Website

broken image (GD)

Hi,

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?


Latest blog post on Piwigo.com: Piwigo 2.5 on Piwigo.com (March 7th, 2013)

Offline

#2 2012-07-05 16:45:47

rvelices
Piwigo Team
Registered: 2005-12-29
Posts: 1557
Website

Re: broken image (GD)

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

#3 2012-07-05 20:19:15

grum
Piwigo Team
Location: Nantes
Registered: 2007-09-10
Posts: 1371
Website

Re: broken image (GD)

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:

Code:

  <!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 :-(


My pictures with Piwigo, of course !
[ www.grum.fr ] [ photos.grum.fr ]

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013