This plugin can be used to show a random image on your Nucleus blog and link these images to somewhere else.
| General Plugin info | |
|---|---|
| Current Version: | 1.3 |
| Download: | http://foto-cs.de/blog/downloads/NP_RandomImg-1.3.tgz (format: tgz, size: 3.0 kB, 2 files) or here |
| Forum Thread: | http://forum.nucleuscms.org/viewtopic.php?p=34902#34902 |
| Author: | Carsten Schurig (cs42) http://foto-cs.de/blog/ |
Besides showing a random image on your page, with this plugin it is possible to
alt tag too),width and height property),</li><%RandomImg%> to show an image on your page<%RandomImg(title)%> to get the section title textAll options are blog specific, so they are in the blog settings area.
/images. The plugin does not prepend anything other to the image href than this parameter.
Empty fields are ignored and to get valig XHTML output, the properties are dropped. If no image file name is given, no img tag is set and if the file name to link to is empty, no link is defined. A new line starts a new definition, empty lines are supposed to be ignored. So if you would like to show an image thumb.jpg with a title of This is a nice picture, a width of 100 and heigt of 200, and like to link it to sample.html you have to add:
thumb.jpg|sample.html|This is a nice picture|100|200
PHP code, so I did want to keep the code as simple as possible,GD)NP_RandomImg version 1.3 works with Nucleus CMS 3.31 - 2007-10-28 Armon