Media relay & hosting for Instagram
Why Instagram photos need a public link, how the Social Madness media relay handles it, and the fallbacks you can choose.
5 minutes · Updated 5 November 2026
Facebook, YouTube, TikTok and X accept a file uploaded straight from your PC. Instagram is different for photos: it downloads them itself from a public web address. Links from Google Drive or OneDrive don’t work, because they return a web page instead of the raw image.
The media relay (default)
While your update period is active, Social Madness uses our media relay at relay.socialmadness.eu:
- The app converts the photo to JPEG (Instagram’s format) and uploads it to the relay.
- The relay gives Instagram a random, unguessable link that works for 2 hours.
- As soon as Instagram has fetched the photo, the app deletes it from the relay.
- Anything left over is deleted automatically after 24 hours.
Files are stored in the EU. The relay records only the size and time of each upload and a fingerprint of your licence key, for quota and abuse handling; no file names, captions or account names. Included: 5 GB of transfer per month and 300 uploads per day per licence.
Videos and Reels connected through Facebook Login for Business don’t use the relay: they upload directly to Meta.
Fallbacks
Choose one in Settings → Media hosting. The app uses it when the relay is unavailable, the quota is used up, or your update period has ended.
Facebook Page (experimental)
The photo is uploaded unpublished to your linked Facebook Page, its Meta link is given to Instagram, and the Page copy is deleted right after. No extra account needed.
Cloudinary
Create a free Cloudinary account, copy the API environment variable from the dashboard (cloudinary://key:secret@cloud) and paste it in Settings.
Your own S3-compatible bucket
Cloudflare R2, Amazon S3 or Backblaze B2. Create a private bucket and an access key limited to it, then enter endpoint, bucket, key and secret. The app creates a link valid for 1 hour per photo and deletes the file after publishing. Add a lifecycle rule to delete objects older than 1 day, as a safety net.