g->image arguments

mtoigo

Joined: 2008-08-26
Posts: 3
Posted: Tue, 2008-09-09 21:15

Hi,

Is there documentation that describes what exactly needs to be passed to the smarty tag g->image ?

The info at:
http://codex.gallery2.org/Gallery2:Themes:Reference:Tags#image

isn't very helpful. Don't have any idea exactly what needs to be passed to the item= and image= parameters. Just looking for somewhere where this tag might be better described and maybe have an example of how to construct data in a plugin to pass to it. Does it just take a GalleryItem object or does something else have to be passed to it? Also, what exactly is each argument doing?

Thanks
Matt