MyBB Community Forums

Full Version: Real attachment link and using CDN
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to use attachment (images or other uploads) real link instead of using attachment.php?aid=xxx?
And how will CDN work if attachments are output by PHP script? Doc says CDN setting can serve uploads/* https://docs.mybb.com/1.8/faq/using-a-cdn-with-mybb/

Second question, how's MyBB community forum done to use a camo server to display in-post attached images?
OK. Seems currently (1.8.21), there's no option for switching attachment to output real links.

And as for CDN, current code will only get following assets using CDN:
  • cache/themes/*
  • images/*
  • jscripts/*
  • uploads/avatars/*
The uploads/* will not be through CDN.