for some reason the parameters for this code is not working... when I say the parameters I am saying under both the image1 and image2 php files if I change the "if ($width==1080 && $height==1080) PHP: it doesn't seem to matter the size... this form still will not approve the image size. Still stuck with 80x80 or 640x358. Even if you get them all the same from "Post-new.php, upload-image1.php, and upload-image2.php. If someone with better knowledge of this could help that would be great! Here are the links to the full pages of code below. post-new.php - http://pastebin.com/9FaUj8yJ upload-image1.php - http://pastebin.com/a4YqbhkJ upload-image2.php - http://pastebin.com/vL1jZeJ3
The line you posted here will just trigger if the width and height is exactly 1080 - if you want anything up to 1080, you need to change == to <= (less than or equal to).