I'm also using the Raspberry Pi camera board with a longer cable, I didn't notice any loss of image quality compared to the shorter cable.

I bought a 24 inch long cable from Adafruit for 3 bucks: https://www.adafruit.com/products/1731 They have a variety of lengths as well.