add voting to each photo