add attr_accs for image
use rails 3.2 style migration
use params in photo hash