i don't think you get it. the pictures are hosted elsewhere, so it will not bypass the size restriction. they can link to a picture that may be 2560x1600 resolution and 20MB in size. look at the code. it hotlinks the image. it doesn't somehow magically embed it into the forum post. so if you set size limits to what a user can attach to the board, that's the maximum they will be able to attach to the post - meaning the file gets uploaded to your server/database. all this code does is make a thumbnail of a picture located elsewhere on the internet. so when you hotlink to a really large picture that would otherwise distort the forum due to it's size (ie: widescreen pictures), this code just creates an elegant thumbnail so users can see the entire picture, but if they want to see the actual true size they click on it and it opens it in a new window.Stello wrote: That sounds fantastic
I'm just wondering - Do you know if that would work on a forum where the admin has restricted the image sizes? I mean: I've set the maximum width / height for any posted image to be 640 pixels. So, if I keep that restriction, but install that new BBcode, would it be possible to post larger than 640 images, by using this BBcode to make them appear smaller? Or would they still be recognised as too large for the forum?
(Of course, I can always test it myself, I'm just wondering if you happen to have tried that already..)
i've also just added this cool code, so thanks coder dude....
» When hotlinking to large resolution images, please use the cir= (Custom Image Resizer) code. The current forum standard for what we consider to be a large resolution image, and therefore use of the cir= code mandatory, is 1280x1024. This resolution is based on collated data from Internet trackers of many popular sites. This is a requirement only for hotlinked images. Images that are attached to the forum do not have these restrictions. The size of the image is irrelevant. This requirement is in place to try and prevent large resolution pictures from stretching and distorting the forums every which way, for those users that disable automatic image resizing in their browser. Here is an example of what not to do, and one of what to do.
to the forum rules.