g->image fullsize image display

galilei

Joined: 2009-06-26
Posts: 1
Posted: Mon, 2009-06-29 17:10

Hi all,
I'm doing some theme development and need to get full size images displaying via the album.tpl
I'm using jquery to rotate them, which is neither here nor there, but I want to use gallery's fantastic backend.

Anyhow, the documentation for g->image is very sparse, and in fact only indicates pretty much that all of the parameters are optional, and not what data type is expected. ( http://codex.gallery2.org/Gallery2:Themes:Reference:Tags#image )

I'm at a loss. Anyone know how to do this?
~Mike

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-06-29 18:12

Have you put Gallery into debug mode to see the Smarty debug popup?

FAQ: How to set/use Gallery in debug mode?

Although I think you're still going to need to edit theme.inc to actually load that extra data because I don't think it's loaded by default when looking at album.tpl

I think the slider theme has a pretty good example of how it does this.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here