Different countries and portals ask for different pixel sizes and file limits. Find yours, then prepare the file here.
Digital photo rules for popular applications.
Typical limits and tips for local portals.
Resize first, then compress to the limit.