We currently have an issue where some users are linking to images on Imgur in their statuses and these images are monstrously huge. Is there a way to automatically resize how they're displayed on the forum?
You may use @AndyB 's add-on 'Convert image' that automatically converts all URL linked images to attachment which you can control the size in Attachment options in ACP.
You may use @AndyB 's add-on 'Convert image' that automatically converts all URL linked images to attachment which you can control the size in Attachment options in ACP.
above code is pretty useful but would not reduce the download size of the hotlinked image
there are server based solutions available for this. cloudflare has a paid product (mirage and polish). or if you are self managing your server, you can look into implementing something like
Another cool thing about Imgur... They actually have multiple size versions of the images. So if a user posts something like: https://i.imgur.com/Fj0iyPL.png, you can basically just rename the file to https://i.imgur.com/Fj0iyPLh.png (added h at the end of file name). you can also replace png with jpg to further reduce the file size. i imagine one can create a regex powered file and replace command that could potentially rename all imgur image links to smaller sized versions. that part is out of my expertise.