Welcome Guest, Not a member yet? Register   Sign In
(Solved) Uploading class won't resize height
#1

[eluser]markanderson993[/eluser]
I have a script that will resize a photo 4 times. Once for a full-size image, another for the profile, another for a mini profile image, and another time for a thumbnail. Everything works when the images a resized down to the correct dimensions. I also incorporated support that would allow for smaller images NOT be be resized (bloated into proportion). So here's the problem, when I upload an image 150px in width, by 50px in height, it detects the proportions and acts accordingly. However, when I upload a picture with a height of 500px and a width of 50 it fails to resize the height!

Here is my work, any help would be greatly appreciated! Thanks!

P.S. Sorry, but due to the size of the code I have to spread it out over multiple posts!


Messages In This Thread
(Solved) Uploading class won't resize height - by El Forum - 07-20-2008, 02:39 PM
(Solved) Uploading class won't resize height - by El Forum - 07-20-2008, 02:41 PM
(Solved) Uploading class won't resize height - by El Forum - 07-20-2008, 02:41 PM
(Solved) Uploading class won't resize height - by El Forum - 07-20-2008, 02:42 PM
(Solved) Uploading class won't resize height - by El Forum - 07-20-2008, 03:38 PM
(Solved) Uploading class won't resize height - by El Forum - 07-20-2008, 03:43 PM
(Solved) Uploading class won't resize height - by El Forum - 07-20-2008, 07:57 PM
(Solved) Uploading class won't resize height - by El Forum - 07-20-2008, 08:57 PM
(Solved) Uploading class won't resize height - by El Forum - 07-21-2008, 12:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB