From: Honza M. <hon...@ec...> - 2003-04-22 09:41:00
|
I already rewrote the code, so no resampling is done. I will send it to CVS. Honza On =DAt, 2003-04-22 at 11:15, Norbert Brazda wrote: > Hi, >=20 > 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? >=20 > you are right, no resample should be default behavior if there are no dim= ensions set. >=20 >=20 > norbert > br...@ch... >=20 >=20 > > 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 hei= gth > > >> if (!$new_w && !$new_h) $new_h=3D120; > > >> > > >> > > >> > > >>norbert > > >>br...@ch... > > >> > > >> >=20 >=20 >=20 > ------------------------------------------------------- > 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 >=20 |