added file_size validation to photo.rb"