contrib documentation

This commit is contained in:
Shish
2009-01-16 00:18:41 -08:00
parent 68159753d4
commit 17ad021cca
21 changed files with 116 additions and 12 deletions

View File

@ -4,7 +4,19 @@
* Author: Shish <webmaster@shishnet.org>
* License: GPLv2
* Description: Do things with a random image
* Link: http://trac.shishnet.org/shimmie2/wiki/Contrib/Extensions/RandomImage
* Documentation:
* <b>Viewing a random image</b>
* <br>Visit <code>/random_image/view</code>
* <p><b>Downloading a random image</b>
* <br>Link to <code>/random_image/download</code>. This will give
* the raw data for an image (no HTML). This is useful so that you
* can set your desktop wallpaper to be the download URL, refreshed
* every couple of hours.
* <p><b>Getting a random image from a subset</b>
* <br>Adding a slash and some search terms will get a random image
* from those results. This can be useful if you want a specific size
* of random image, or from a category. You could link to
* <code>/random_image/download/size:1024x768+cute</code>
*/
class RandomImage implements Extension {