Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 02:12 am EST

Downloads

Root : Add-ons : 
snapshot
Category: Add-ons
Tags: -
Date: 2005-02-28 13:50
Size: 1.42 KB
Version: 1.1
MD5: cca0f0301ff385043ff3f91c1e1f73ef
Submitter: Gest user
Rating: 0.00
Popularity: 753   POP
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