Hello,
I'm using a Drupal 5 website and successfully integrated Gallery2.
Now I wanted to insert random images into pages with this php command:
Quote:
<?php @readfile('http://www.example.com/gallery2/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_itemId=22');?>
But my hoster seems to not support this sort of things. Now I've tested it on an other server and there it works.
Is there any other possibility to insert random images from specific albums into pages?
Thanks for your help
Posts: 189
The G2 filter that comes with the Drupal Gallery module should be able to do this without you needing to code anything.
Posts: 8
@kiz_0987
could You please add a short howto?
That would be nice; i'm really new this sort of things and need some time to have an idea how it works ;)
Thanks