This adds a new ubb code (thumb). When a users posts an image with the thumb tag it is display with a fixed width of 400 pixels (you can change the code to have any width). When you click on the image it opens the original fullsize in a new window.
This DOES NOT reduce the size of the image, you are still downloading the whole pic. It does however ensure that people can't use IMG to post 1600x1200 images that stretch the topic page and look really ugly. This is great for gaming sites that have a lot of screenies.
I also added the reverse code so that it is quotable and editable (it broke if HTML is turned off before that).
demo:
Click here Download:
Click here Please report any bugs in this thread, and if anyone determines that has security issues please point them out.