updated photo.rb to be more adaptive to what sample image it fetches