Added :medium as hash in photo decorator