Welcome to Geeklog, Anonymous Saturday, November 14 2026 @ 01:17 pm EST

Downloads

Random Photo from Stories Block POP

Category: Add-ons
Version: 1.1 Size: 1.42 KB Date: 2005-02-28 13:50
Submitter: Gest user Web: http://tokyoahead.com Rating: 0.00 Popularity: 982 Tags: -
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