There is no API available to do this. The only way is to just statically link files from Gallery into your page.
The random block can be used, but I don't believe it fills exactly what you're looking for.
Razgo
Joined: 2004-08-29
Posts: 63
Posted: Sun, 2004-08-29 22:40
ok , thanks. i just installed g2 and it looks like all possabilities will be opened up in this next version. i may wait for further developement in this front. it looks really cool and set to blow away any competition out there. i must say i am currently using a commercial gallery and this g2alpha already has my attention!
jonathon
Joined: 2006-07-17
Posts: 9
Posted: Sat, 2007-05-19 00:54
Can random block be called using html instead of php. If so can someone suggest a code variation to the needed component listed:
Posts: 2322
There is no API available to do this. The only way is to just statically link files from Gallery into your page.
The random block can be used, but I don't believe it fills exactly what you're looking for.
Posts: 63
ok , thanks. i just installed g2 and it looks like all possabilities will be opened up in this next version. i may wait for further developement in this front. it looks really cool and set to blow away any competition out there. i must say i am currently using a commercial gallery and this g2alpha already has my attention!
Posts: 9
Can random block be called using html instead of php. If so can someone suggest a code variation to the needed component listed:
<?php @readfile('http://mydoamin/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=owner'); ?>