This might be (probably is) a dumb question, but what's the best way to resize a photo to submit to a photo contest, in order to maximize image quality while meeting the specs for image size. Currently, I use LR 5 and PS Elements 10. When I resize a photo (usually just for uploading to dropbox or posting), I usually do it in PS and start by adjusting the length of the longest side and seeing what the result gives me in terms of maximum file size and if the file size is still too big, then I adjust the compression. But I'm not sure that's the best technique to produce a high quality image. I know that there are options in LR 5 to specify the length of the longest side and/or maximum file size. I've had no trouble with the former but I have had some weird results with the latter.
For example, here are image specs for a contest:
8-bit JPG files
72 ppi
Longest side about 1280 pixels
RGB color space (sRGB or Adobe RGB is fine)
not greater than 2MB
Sometimes you see specs that call for a minimum longest side length (e.g., at least 1280 pixels). And sometimes the specs mention a compression quality (e.g., max 8).
What steps should I take, in which sequence, to prepare the image for submission?
Thanks