From: Norbert B. <br...@ch...> - 2003-04-22 09:18:37
|
Hi, From: "Mitra" <mi...@ea...> > I didn't see any reply to this, do people have a preference -=20 > resample to huge number, or no resample? you are right, no resample should be default behavior if there are no = dimensions set. norbert br...@ch... > At 7:37 AM +1000 15/4/03, Mitra wrote: > >I agree that the current default of 120 is not appropriate. > > > >But instead of setting a larger default, I think it should just NOT=20 > >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=20 > >>ResampleImage function (include/imagefunc.php3) according to which=20 > >>image is resampled if its actual size is bigger than that. The=20 > >>default value should be reasonably high in order not to resize=20 > >>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=3D120; > >> > >> > >> > >>norbert > >>br...@ch... > >> > >> |