Image to Post - random

This commit is contained in:
Matthew Barbour
2020-10-26 10:17:15 -05:00
parent bfe95a09e7
commit 0db32f2ccc
4 changed files with 18 additions and 18 deletions

View File

@ -5,22 +5,22 @@ class RandomImageInfo extends ExtensionInfo
public const KEY = "random_image";
public $key = self::KEY;
public $name = "Random Image";
public $name = "Random Post";
public $url = self::SHIMMIE_URL;
public $authors = self::SHISH_AUTHOR;
public $license = self::LICENSE_GPLV2;
public $description = "Do things with a random image";
public $description = "Do things with a random post";
public $documentation =
"<b>Viewing a random image</b>
"<b>Viewing a random post</b>
<br>Visit <code>/random_image/view</code>
<p><b>Downloading a random image</b>
<p><b>Downloading a random post</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
the raw data for a post (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
<p><b>Getting a random post from a subset</b>
<br>Adding a slash and some search terms will get a random post
from those results. This can be useful if you want a specific size
of random image, or from a category. You could link to
of random post, or from a category. You could link to
<code>/random_image/download/size=1024x768+cute</code>";
}