Learn how to use the Galleria API to hook into events and use different API calls by creating a customized gallery that utilizes them.
For this exercise, we'll be going through an example that utilizes an event listener and API calls. To start us off, create an
api-example.html file in the development folder.
flickrplugin. That way we don't have to reference any local images as shown in the following code: