MyBB Community Forums

Full Version: Plugin that resiZes images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a plugin that resizes big images? And if you click it will be back to its original siZe?
there is the fit on page plugin that uses javascript to make a clickable image, but its once the page is rendered.

due to the way that the MyBB attachment code works, you'd need to rewrite it or hijack the whole process via plugin and resize that way.
I don't understand what you are saying. Sorry.Sad
there is a plugin called "fit on page" that will scale images on the fly using javascript so they do not mess up layout. it does not resize the image, but will scale to a max size you define.

due to the way MyBB's attachment system is coded, you can not use a simple plugin to resize images upon uploading. you would need an advanced plugin that hijacks the existing mybb attachment code and resizes the images directly for you

or make a plugin that would resize after the attachment has been uploaded. but that would force you to disable mybb's built-in attachment size checks and handle those yourself with a plugin. then update the attachment stats afterwards.
Here:

http://mods.mybb.com/view/fit-on-page

Just as Pavemen says, it doesn't 'resizes', it just scales down a picture so it doesn't mess your layout.

But for your basic needs, that technical stuff doesn't matters as long as the plugin suites your needs, and this does. Big Grin