GD question
From: AJ (nospam_at_redcatmedia.net)
Date: 02/28/04
- Next message: NotGiven: "Re: need help with code irregular working code"
- Previous message: Geoff Berrow: "Re: need help with code irregular working code"
- Next in thread: Andy Hassall: "Re: GD question"
- Reply: Andy Hassall: "Re: GD question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 28 Feb 2004 15:35:45 +0000 (UTC)
Hi all
I've just written a little content management system with an image upload
function. As part of this, it resizes any uploaded image to have a maximum
size of 300 pixels wide. This is the situation:
Image 1.
1.1MB, around 2000 x 1500 pixels. Uploads fine but doesn't get resized.
I then take the same image and resize it in Photoshop so that it's 1280 x
960 and 875kb. I can't remember the exact dimensions but it's exactly the
same aspect ratio as Image 1.
This gets resized perfectly.
It obviously not a file size issue, and it's not my logic (which does some
calculations on aspect ratio).
I've tried taking it down in steps from 2000 px wide but it never gets
processed until it hits 1280. I haven't done small steps so I can't say
what would happen as 1281 etc.
Is there some sort of limitation on this? I'm running 4.3 and GD2.
Regards
Andy
- Next message: NotGiven: "Re: need help with code irregular working code"
- Previous message: Geoff Berrow: "Re: need help with code irregular working code"
- Next in thread: Andy Hassall: "Re: GD question"
- Reply: Andy Hassall: "Re: GD question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|