Member
Member
tehmartin   2008-01-02, 00:09
#1

I noticed that the image full-image.php returns is compressed. Reading up on imagejpeg on http://us2.php.net/imagejpeg tells us that without quality specified, it will use the IJG default (about 75).

I would suggest changing the (nearly) last line of full-image.php from
imagejpeg($newim);
to either
imagejpeg($newim,NULL,100);
or
imagejpeg($newim,NULL,$quality);

I would lean more towards defaulting to 100, or perhaps adding a full sized image quality option to the admin options and using $full_quality or something like that.

Found in version 1.1.3

-Thomas

Member
Member
sbillard   2008-01-02, 01:04
#2

Good idea, New functionality (with option) will be in an update soon.

Member
Member
tehmartin   2008-01-03, 03:06
#3

Noticed the change in the nightly build for 01.01.2008 and I also noticed that the switches in full-image.php are not case insensitive. Most of my images are *.JPG, so view full image wasn't working until I changed the code some.

Also, since I haven't said it before, zenphoto is great great great!!! I am humbled that you accepted my tiny suggestion.

-Thomas

Member
Member
sbillard   2008-01-03, 03:29
#4

Thanks for pointing out the case sensitivity. It will be fixed in tonight's build.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.