
ImgLink for XenForo
The ImgLink XenForo plugin is a production-ready PHP 8 add-on for XenForo 2.2+. It injects a toolbar button into the rich text editor, uploads images to ImgLink's global CDN over HTTPS with the X-API-Key auth scheme, and inserts the resulting direct URL into the post — all in under a second. Exponential-backoff retry logic, strict config validation, and BOM-free PHP ensure reliable operation at any forum scale without touching XenForo's core files.
Requirements
- PHP 8.0 or higher
- XenForo 2.2+
- cURL PHP extension enabled
- ImgLink API key (free)
Gaming communities, support boards, brand forums
What's included
Installation Guide
Follow these steps to integrate ImgLink with XenForo.
Download & extract
Download the ZIP and copy src/ImgLinkPlugin.php into your XenForo add-on directory.
Generate an API key
In your ImgLink account go to Settings → API Keys and create a key scoped to your forum domain.
Configure credentials
Copy config.example.json to config.json and fill in apiBase and apiKey.
{
"apiBase": "https://imglink.cc",
"apiKey": "YOUR_KEY_HERE",
"timeoutSeconds": 30,
"retries": 3
}Install via XenForo ACP
In ACP → Add-ons → Install/Upgrade, select the add-on. The ImgLink toolbar button appears in the editor immediately.
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 XenForo?
Download the plugin, add your API key, and go live in under 10 minutes. Free to use — no credit card required.



