
ImgLink for Invision Community
The ImgLink Invision Community plugin provides a PHP 8 class-based integration for IPS 4.x and later. It exposes a static upload() method with first-call config validation, exponential backoff retries, and structured exception handling. Returns a full upload response including CDN url, thumbnail, width, and height — ready to store in IPS's media table. Compatible with both self-hosted and cloud Invision installations.
Requirements
- PHP 8.0 or higher
- Invision Community 4.x or newer
- cURL PHP extension
- ImgLink API key (free)
Brand communities, fan sites, enterprise support boards
What's included
Installation Guide
Follow these steps to integrate ImgLink with Invision Community.
Download the package
Extract ImgLink-Plugin-Invision.zip and copy ImgLinkInvision.php into your IPS application directory.
Generate an API key
In ImgLink Settings → API Keys, generate a key for your IPS domain.
Configure credentials
Edit config.json with your apiBase and apiKey.
{
"apiBase": "https://imglink.cc",
"apiKey": "YOUR_KEY_HERE",
"retries": 3
}Call from your IPS hook
Invoke ImgLinkInvision::upload($filePath, $config) in your upload hook and store the returned url.
$result = ImgLinkInvision::upload('/path/to/image.jpg', $config);
$cdnUrl = $result['url'];Why host images on ImgLink?
Global CDN
Images served from a global edge network. Sub-100ms load times. No bandwidth cost to your forum server.
Scoped API Keys
One API key per forum. Revoke or rotate instantly. Keys never leave your config file — never hardcoded.
Retry Safety
Exponential backoff on every upload. Images never fail silently — retries handle transient network issues.
Ready to deploy ImgLink on Invision Community?
Download the plugin, add your API key, and go live in under 10 minutes. Free to use — no credit card required.



