Gallery2:Embedding:Code Snippets
来自站长百科
Gallery 2 Embedding Code Snippets[ ]
These are some more or less useful code snippets that may or may not be useful. Feel free to add your own snippets or to use the posted ones.
- Note: Please post maximally 15 lines of code, for longer code snippets, please create your own codex page under
http://codex.gallery2.org/index.php/Gallery2:Embedding:Code_Snippets:Something whereas you should replace 'Something' with sth more meaningful and then add a link here on this page to your code snippet page.
Also see: Gallery Embedding Overview
Example for a G2 Embed Wrapper / Entry File[ ]
A small code snippet to examplify the basics of GalleryEmbed is attached to this post (sample_embedding_wrapper.zip).
Integration with an LDAP User Directory[ ]
How a LDAP authentication could be done, take a look at http://gallery.menalto.com/node/27280#comment-96078