JPG quality

I am working on a portfolio site for a photogpraher so the quality of jpgs is very important. I want to know what the ideal way is? When I used 150dpi on my site and had the sliding bar etc, the image quality was very poor. so, what dpi/how to load/any tricks/etc. Anything would help -
thanks.