I am having a problem when I allow 2 images. I want to allow images at a max width and height of 480X175. I understand what it is doing by combining the width's and the height's of each of the images and telling the user they are using 2 images and they are larger than 480x175 but the problem I have with this is I want to be able to use 2 images and not add up the width's of those 2 images just check to make sure that neither 1 of them are larger than 480. And still check the combined height to make sure its not larger than 175.
Any way to modify the code to do this?
|