A quick {g-> needed for a quick £10

darrenUK

Joined: 2007-01-02
Posts: 20
Posted: Thu, 2007-11-15 12:26

If anyone can tell me the {g-> call that would retrive the URL location of the next image in the Photo.tpl I'll Paypal them £10 GBP this instant!

So I want the next image URL not the next page URL.

For example

Quote:
{g->image item=$navigator.back.item image=$navigator.back.thumbnail}

But for just the URL location of the image and the regular size not the thumbnail.

If this can't be done can someone please let me know.

 
serbanc

Joined: 2006-05-19
Posts: 314
Posted: Thu, 2007-11-15 12:59

{g->url arg1="view=core.ShowItem" arg2="itemId=`$navigator.back.item.itemId`"}

is this what you need?
serbanc - www.e-poze.ro

 
darrenUK

Joined: 2007-01-02
Posts: 20
Posted: Thu, 2007-11-15 13:17

Nearly!!!

It generates this

main.php?g2_itemId=

But I need something like this

main.php?g2_view=core.DownloadItem&g2_itemId=426

I've changed it to this

{g->url arg1="view=core.DownloadItem" arg2="itemId=`$navigator.next.item.itemId`"}

But still no itemId

 
darrenUK

Joined: 2007-01-02
Posts: 20
Posted: Thu, 2007-11-15 13:23

Got it!!!!!

{g->url arg1="view=core.DownloadItem" arg2="itemId=`$navigator.next.item.id`"}

PM me!