Re: Picture Compression BUG In The Album
Thank you for the reply
MG, I posted a picture yesterday in the Test forum (there are 2 pictures from me) and it was the one that I used to test the behaviour here, the size was changed. Today all seems fixed, but you turned midsize pictures on, yesterday they were off if I'm not wrong, with the mid thumbs on the picture shows on it's original size on my site too, if they are off the problem appears. However today here on your site the problem is vanished. I made some mess with the files on my place and now the compression problem is gone but on some pictures the size is nearly doubled when one watches the pic, doh...
However, there should not be anything that changes the original picture size when sent to the browser, there is something in the album_image_class.php file or somewhere else. I can show you the behaviour, even if actually the problem is reversed: the picture is bigger than the original:
this link
http://www.posetteforever.com/show-pic-asp3976.html goes to the picture as it's shown on my album, and I attach you the same picture downloaded from the server, you can see the size difference
Update:
I have uploaded the original files related to the album of the 058b release but the behaviour is the same: with mid-images turned off and all qualities set to 100 the image in the album shows only partially , about 1/3 of the heigth from above and then stops to load. I had to turn this line
function JpegQuality($quality = 75)
to
function JpegQuality($quality = 100)
in the album_image_class.php file to "fix" it but the image showed is not the same size of the file on the server with useless waste of bandwidth
I've also noticed that the thumbnail cache is not working even if set, the thumbnails are shown as album_thumbnail.php?pic_id=xxx and not with the link to the cached file. All chmod are set to 777 of course. I assume that the in order to show the thumbnail the full picture as to be loaded and then resized, this is not good.
Description: |
|
Download |
Filename: |
original.jpg |
Filesize: |
49.74 KB |
Downloaded: |
1596 Time(s) |