vote photo templating not working