What are the best camera phones?

The only really important aspect of a phone, for me, is its camera (for pictures, not even videos). I would love buying a cheap (or mid-range) smartphone but all the best phones seem to be on the flagship phones of each company.

Are there any mid range price phones with high end cameras?