Hello. I have a problem with GD. I have some code that takes a jpeg and resizes it. The way it works is the parameters for maximum width, maximum height and the file, and it resizes the jpeg file keeping the length to width ratio constant. My problem however, is not the code. I run this code on a local machine with php set up, get a 1600x1200 image, and I can resize it to any size. Once I upload it to the server however, I take that same image, and the same code, but I am only able to resize up to 100x134, even though I set max_width and max_hieght to 600. I tried this with 6 pictures, all of size 1600x1200.
Bottom line, works fine on my test machine, works badly on the webserver. Can someone please shed some light on this problem for me? Is there anything I can do? Do I have to complain about the PHP setup?
Thanks!
GD problem
Moderator: General Moderators
- evilmonkey
- Forum Regular
- Posts: 823
- Joined: Sun Oct 06, 2002 1:24 pm
- Location: Toronto, Canada
- evilmonkey
- Forum Regular
- Posts: 823
- Joined: Sun Oct 06, 2002 1:24 pm
- Location: Toronto, Canada