Gallery2:Modules:lastuploaded - Gallery Codex
Personal tools

Gallery2:Modules:lastuploaded

From Gallery Codex

Revision as of 13:59, 1 July 2013 by Bharat (Talk | contribs) (Text replacement - "gallery.menalto.com" to "galleryproject.org")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Last uploaded Module

Provides direct url to thumbnail of last item uploaded.

Description

Show thumbnail of last item uploaded.

Features

Installation

Usage

     http://yourdomain.com/main.php?g2_view=lastuploaded.LastUploaded

will give you the thumbnail of the last photo item in the db, and

     http://yourdomain.com/main.php?g2_view=lastuploaded.LastUploadedLink

will give you a link to the item page for that item.

So you should be able to include html like this:

    <a href="main.php?g2_view=lastuploaded.LastUploadedLink"><img src="main.php?g2_view=lastuploaded.LastUploaded"></a>

to include the thumbnail *and* make it a link to the item page.

Requested Features

Currently there are no feature requests for this module.

Bugs

Currently there are no known issues for this module.

advertisements