Not Solved [How To?] Real attachment link and using CDN
#1
Not Solved
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?
Could be wrong but worth a try.
Reply
#2
Not Solved
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.
Could be wrong but worth a try.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)