Programmatically changing a gallery
-
Thank you for the NextGEN Gallery plugin which I have used via the NextGEN Gallery block
Having written simple custom plugins in the past I would now like to do something similar to programmatically alter which images are displayed in a given gallery.
I have NextGEN Gallery free Version 3.4.1 installed and activated. I understand [from e.g. the lightbox.php file included in the Version 3.4.1 download] I should be able to use in a custom plugin either the internal NextGEN Gallery API or NextGEN Gallery functions.
Unfortunately I have not been able to find anywhere with up to date advice exectly how to link from my custom plugin to the NextGEN V 3.4.1 plugin and my efforts have not worked so far!
I would be most grateful is someone could provide the code to use at the head of the plugin to allow me to use both the API and the functions approach (not at the same time of course – just to provide alternatives).
Thanks!
- The topic ‘Programmatically changing a gallery’ is closed to new replies.