forked from Cavemanon/cavepaintings
contrib documentation
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user