Occasional Image 'mutation' with GR upload?

Dozza
Dozza's picture

Joined: 2007-08-28
Posts: 112
Posted: Wed, 2008-01-23 12:10

I've just noticed a strange thing happening with a few of my images being uploaded with GR. All has been fine up 'till now.

Go to http://www.milliepilkington.com/v/children/?g2_page=3 and see images 36, 38 & 40. A small row section of the top of the image is being placed at the bottom of the image (thumbnail & resize). They are being uploaded from an XP laptop, latest GR, resize B4 upload.

Any ideas anyone?

Gallery version = 2.2.3 core 1.2.0.5
PHP version = 4.4.7 cgi
Webserver = Apache/1.3.33 (Unix)
Database = mysqlt 5.0.45-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, NetPBM, Thumbnail, Gd, jpegtran, SquareThumb
Acceleration = none, none
Operating system = Linux infong 2.4 #1 SMP Thu Jan 13 08:59:31 CET 2005 i686 unknown
Default theme = matrix
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/523.12 (KHTML, like Gecko) Version/3.0.4 Safari/523.12
Rows in GalleryAccessMap table = 79
Rows in GalleryAccessSubscriberMap table = 303
Rows in GalleryUser table = 12
Rows in GalleryItem table = 300
Rows in GalleryAlbumItem table = 17
Rows in GalleryCacheMap table = 0

 
Dozza
Dozza's picture

Joined: 2007-08-28
Posts: 112
Posted: Tue, 2008-01-29 12:48

I've had a look at the 'originals' uploaded via G2 and stored in the g2data folder. Before uploading via GR, the images are batch resized to 1000px maximum dimension (Automate>Fit Image) to reduce the amount of work GR has to do.

It appears the original 1000px versions on the server also bear this imperfection, hence it is passed to the resize and thumbnail. This leads to the question, do the originals and 1000px versions that were uploaded bear the imperfection? (i'm enquiring about this).

If they do not, then the imperfection has been introduced during the resizing/upload via Gallery Remote. Two things I immediately noticed when looking at the cimages on the server (g2data) were:
They are all labelled ‘XX.jpg’ or ‘XX.JPG’, where XX is a number, but two of the images with an imperfection are labelled ‘38_001.jpg’ and ‘40_001.jpg'. Could his be at the root of the problem? They don’t have this label when displayed on the site???
Also, the three images with imperfections are all portrait shots and correctly display portrait on the site thumbnail/resize – however the 1000px versions uploaded to the server are all rotated 90 degrees (ACW) - I'm enquiring if this was this how they were shot and if they were rotated subsequently once they were on the server – it may have been introduced then.

Anyone got any ideas on this - I'll update the post when I get a reply from the client.