Skip to main content

Back to Case Studies

Great Things Photo Contest

Every summer Coastal Community Credit Union runs a contest in which local photographers submit photos taken from their favorite locations around Vancouver Island. After the photo submissions period ends, there is a voting period where users register for the website and vote for their favorite photos. The winners are featured in Coastal Community’s Great Things Calendar.

The photo submission and voting mechanism was custom built using Gravity Forms and AJAX respectively.  Along with a custom registration and login form, the website is easy to use for both photographers and voters.


With the website having a period for both photo submissions and voting along with the rest of year where there is no photo submissions or voting, three different menus are required to be displayed depending on the time of the year.

The menu for the majority of the year is pretty simple with only 3 items

During the photo submission period, a button is added to the menu which leads the user the photo submission page

During the voting period, a button is added to the menu which leads the user the voting page

Voting Process

The voting process requires a user to create an account using a custom registration page powered by Gravity Forms and after completing the registration process they can vote their favorite photos.

After a user clicks the button of the photo they wish to vote for, an AJAX function runs. This function first checks if the user has already voted for the photo to prevent an duplicate votes  then records the vote in the database.

As user is also able to remove a vote for a photo if they choose.

A fully custom login form was created along with a custom registration page and lost your password form.

After voting, the place your vote button is changed to a remove vote button