Make it smaller.
Was it complaining that the picture was too large in dimensions, or in number of bytes? Whichever it was, you can use a photo editing program to either make the picture smaller to fit in any length/width constraints, or you can save it at a lower resolution to make it smaller in terms of number of bytes.