Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 02:12 am EST
Downloads
This block shows a random picture from your stories. You can choose all or one certain topic, if you want to link to the story and if you want to display the story title below. Also you can choose a max-width of the picture to make sure they fit into the block
It will show only the pictures of a story that the current user is allowed to see.
To install this, copy and paste the function without the <? ?> into your /system/lib_custom.php and add a php-block that calls the phpblock_rand_story_pic function.
Improvements to version 1.0:
- wrong commenting style
- picture width setting
- alt-tag inserted
To install this, copy and paste the function without the <? ?> into your /system/lib_custom.php and add a php-block that calls the phpblock_rand_story_pic function.
Improvements to version 1.0:
- wrong commenting style
- picture width setting
- alt-tag inserted