The standard for ephemeral media sharing on the Hotline Communications network.
Required Field: file (Binary image data)
Optional Field: client_id (String, max 50 chars. e.g. "MyHotlineClient-v1")
// JSON Response
{
"success": true,
"url": "http://images.bigredh.com/u/abcdef123.jpg",
"width": 1024,
"height": 768,
"expires_at": "2026-03-18 21:00:00"
}
Clients should scan chat for this Regex and render the results as an image tag:
http:\/\/images\.bigredh\.com\/u\/[a-f0-9]+\.(jpg|jpeg|png|gif|bmp)
Administrators should set a Cron Job to run hourly (0 * * * *):
php /path/to/cleanup.php