MyBB Community Forums

Full Version: Image resizer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have made a plugin that resizes images which exceed a given maximum width.

This plugin allows you to:
  • specify a maximum width of images
  • specify to what width images should be resized if they exceed the maximum width
  • add a message, which is shown beneath the resized image
  • add a bit of css to the resized images

You can download it here

Any suggestions on improvements are welcome.
Er, this doesn't work for me...
What doesn't work?

Do you have javascript enabled?
Which browser do you use?

Some more info would be welcome.
It doesn't resize the images. (edit: or add the message or anything)

Yes, I have javascript enabled, and I use Firefox... I just tested this out on my test board, and it worked fine, but it doesn't work at my forums, http://forums.rctgo.com/
Sorry, it seems to have been my fault, I didn't remove all traces of my old image resize mod.
I think this is the problem
Quote:<body onload="resize_images()" onload="fiImageResize();">

What is the other function, looking at the name it does the same. What if you remove that call?
Look at my previous post; that is what I forgot to remove from my old image resize mod.
I got one question. How to add some changes to this mod. Like thumbnail is linked to orginal size image?
It already does, when you click on a resized image, a new window will open with the original image.