From: Mitra <mi...@ea...> - 2003-04-14 21:46:24
|
I agree that the current default of 120 is not appropriate. But instead of setting a larger default, I think it should just NOT resample if neither new_h nor new_w are set. - Mitra At 4:59 PM +0200 14/4/03, Norbert Brazda wrote: >There is default setting for maximum height of image in >ResampleImage function (include/imagefunc.php3) according to which >image is resampled if its actual size is bigger than that. The >default value should be reasonably high in order not to resize >images where there are no maximum dimensions set in admin interface. > >I suggest to increase it from 120 to at least 2400: > > # if dimensions of new picture are not set, then set default heigth > if (!$new_w && !$new_h) $new_h=120; > > > >norbert >br...@ch... > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Apc-aa-coders mailing list >Apc...@li... >https://lists.sourceforge.net/lists/listinfo/apc-aa-coders -- Mitra Technology Consulting - www.mitra.biz - mi...@mi... 02-6684-8096 or 0414-648-0722 Life is a Mystery to be Lived, not a Problem to be Solved |