I learned that 1024px wide and 800 high is the best option in most cases, too much iq loss with other formats mainly 'cause of compression, unless you do stitched panos obviously.
I choose 300dpi but thats mainly out of convenience, dont want too many jpg versions stored.