currrent attach url is
not
To get the attached file directly.
I add this code in attachment.php
Otherwise, uploaded images or mp4 are loaded every time I viewed, When using the full size of the image in posting.
not cached at all, traffic wasted
So I changed .
Is there a problem with this method?
Quote:~/attachment.php?aid=90
not
Quote:/uploads/201808/post_1_1535168838_4cb9cc848adcfc900dasdzxc8b8dba7a.mp4
To get the attached file directly.
I add this code in attachment.php
Quote:header('Location: '.$mybb->settings['uploadspath']."/".$attachment['attachname']);
Otherwise, uploaded images or mp4 are loaded every time I viewed, When using the full size of the image in posting.
not cached at all, traffic wasted
So I changed .
Is there a problem with this method?