Sunday, November 10 in 2024
Module Frontpage Slideshow
Modul: Random Hoverbox
Nick: BlackBird
Version: 1.01
State: Beta
License: GPL
GUID: E14FA553-1D3D-4D53-9897-8F37FBBEFC6E
Platform: 2.7 and 2.8
Last info: 2010-09-01
Rating:
54.0
541 votes
1 2 3 4 5
Download: here
Forum: here
Web Link: here
Description: Simple snippet to show some random images from a folder of your choice.

Just add the following call to your template:

random_hoverbox();

This uses "media" as the base directory and shows 4 random images from that dir. (*.jpg, *.gif, *.png)

You may give a directory and a number of images to show:

random_hoverbox( '/media/folder', 5 );

To change the appearance, edit the frontend.css.

Info: The script uses the file name of the image file to create the content of the alt attribute. So just name your image files like the titles you wish to use.

Example:
Filename -> My_holidays_in_Canada.jpg
ALT -> "My holidays in Canada"
Image: