Random-Block Question.

ryanrk

Joined: 2003-12-15
Posts: 1
Posted: Mon, 2003-12-15 06:32

I'm looking for a way to randomly grab the large picture instead of the thumbnail. Any idea how i can do this? I'm using the Block-random from the download section of the gallery page.

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Wed, 2003-12-17 13:52

Change

$album->getThumbnailTag($index)

to

$album->getPhotoTag($index, TRUE/FALSE)

TRUE if you want the full-sized original or FALSE if you want the intermediate "sized" image (if one exists).

-Beckett (

)