Toronto park users can now slather on sunscreen from free dispensers thanks to a pilot project that aims to prevent skin cancer.

Dispensers have been installed in six locations near the city’s waterfront.

The project is being paid for by the David Cornfield Melanoma Fund and the Douglas Wright Foundation, with the city providing only administrative support.

Danielle Paterson, who represents both of the non-profits involved, said that melanoma -- a deadly form of skin cancer -- is one of the faster growing cancers in Canada.

“Fortunately, skin cancer is largely preventable,” she said. “By protecting your skin from the sun with shade, long clothing, hats, sunglasses and sunscreen,” she added.

Dr. Eileen de Villa, Toronto's Medical Officer of Health, said the initiative “provides a great opportunity to remind residents of simple ways that they can incorporate sun safety in their outdoor activities this summer."

The project was inspired by similar initiatives in U.S. cities, including Miami and Boston, according to a news release from the City of Toronto.

The dispensers are located in Kew Gardens Park, Sherbourne Common, Harbour Square Park, HTO Park and Little Norway Park. More details are available on the website BeSunSafe.ca.