Using the API for AJAX-style loading

My image site uses a dynamic method to cycle through images, so I need the fotomoto toolbar to refresh every time a new image loads. I read before that it is possible to use the API (Fotomoto.runInit()) to get the toolbar to load, but cannot figure out how to get it to work.

I appended ?api=true to the script URL, but when I do that, none of the toolbar buttons work anymore. My script settings are correct in the site settings. I'm not sure what is causing the problem. I don't have to manually implement each button if the API's enabled, do I?
1 person has
this question