Skip to main content

Adding a photo gallery.

I am trying to add a photo gallery to a site using a method that employs .php files and javascript. I don't see anywhere to upload .php files to use them on the site or to use them as the main page in the site's layout. How do I use .php files with Nationbuilder? Alternatively, what would be the best way to create a on the site that uses Flickr or some other photo-sharing website as the source?

Official response from

Hey Keith, we support PHP via our API, but not natively on our websites. The workaround you outlined (in the comments) using JQuery is great, and the FancyBox/Liquid suggestion that Zach posted is also a perfect way to display a photo gallery.

Share this post

Showing 15 reactions

Please check your e-mail for a link to activate your account.