updated photo vote to now work