module to allow viewing of certain items outside of the gallery3 pages.
Returns a thumb of a photo or album, with metadata about that item.
Latest Album:
http://EXAMPLE.com/gallery3/index.php/externals?block_id=latest_album
Latest Photo:
http://EXAMPLE.com/gallery3/index.php/externals?block_id=latest_photo
Random Album:
http://EXAMPLE.com/gallery3/index.php/externals?block_id=random_album
Random Photo:
http://EXAMPLE.com/gallery3/index.php/externals?block_id=random_photo
To call this on an outside page you would do this:
<?php $imglink = file_get_contents("http://EXAMPLE.com/gallery3/index.php/randimg?block_id=latest_album", "r"); echo "$imglink"; ?>
Unpack content in modules folder.
Activate the module: Login -> Admin -> Modules. Check the box next to the module. Click update at the bottom of the page.