RANDOM IMAGE ON WEBSITE???????

savemefromtears

Joined: 2005-02-11
Posts: 4
Posted: Fri, 2005-02-11 10:50

How do I get the random image to be displayed on the front of my website, then when they click the image it links to my gallery???

thanks so much!
- chaz

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-02-11 12:12

go to G2 -> Site Admin -> Random/Popular (imageblock) (perhaps you'll have to activate the image block first (in modules ->... activate)).
There you'll see the php code required to display a random/popular/newest/... image on any php website.

 
savemefromtears

Joined: 2005-02-11
Posts: 4
Posted: Fri, 2005-02-11 23:43

wait, where is this code then? i already enabled random images but if you 'view source' on the page it just points to the particular image that was genderated by gallery.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2005-02-12 00:24

Site Admin / Random/Popular
as valiant said.. it explains how to do it, you don't need to do view-source.

 
savemefromtears

Joined: 2005-02-11
Posts: 4
Posted: Sat, 2005-02-12 02:45

aw, there it is... thanks guys! also, i've been trying to get a border aruond the images and have found no luck. any ideas? thanks!
- chaz

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2005-02-12 04:11

docs for imageframes are there in the same place if you're using a recent snapshot; to just add a css border define class giThumbImage