Register Members List Search Today's Posts Mark Forums Read

Mod Options
Image resizer Details »
Image resizer
Mod Version: 1.0.1, by Spleasure (Member) Spleasure is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.1 Rating: (125 votes - 4.83 average) Installs: 1294
Released: 08 Jun 2006 Last Update: 06 May 2007 Downloads: 15908
Not Supported DB Changes Uses Plugins Template Edits Additional Files Translations  

This mod is not supported anymore by Spleasure/nCode, please look at these threads:
Image Resizer
The Image Resizer. Powered with Lytebox / Highslide / Lightview / and many more!
Probably many more. Have one to put here? Contact me using the PM feature.

version: 1.0.1

I. What does it do
This plugin enables you to automatically resize every user-posted image which is larger than given dimensions. Users can choose the maximum dimensions and the resize method to use.
The resize methods are:
- No resizing
- Enlargement in the same document
- Enlargement in the same window (replacing the forum thread document)
- Enlargement in a new window

It also adds an information bar (which is not displayed when the image is too small) giving information about the original dimensions and filesize. Filesize is only supported on Internet Explorer, other browsers don't reveal this information through javascript.

II. What does it not do
- It does not do server side resizing of images. Everything is done clientside
- It does not prevent long loading times. The images have to be downloaded completely by the client before the script can resize them.

III. Installation / Upgrade
1. Upload "ncode_imageresizer.js" to the clientscript directory in your vBulletin installation.
2. Import "product-ncode_imageresizer.xml" in your vBulletin forum. Enter your AdminCP and go to Plugins & Products -> Manage Products. Click on [Add/Import Product] and refer to the XML file.
The installation script will detect which database modifications have to be performed and will display the query that is going to perform these modifications.
If something fails, execute that query yourself.
3. The file "vbulletin-language-nl.xml" can be used to import dutch versions of the used phrases. Import it in your language manager and overwrite the installed language "Nederlands". It will not remove any phrases, just add new ones.

The installation adds a couple of settings, phrases, templates and plugins, all of which are easily recognizable. It also adds the fields `ncode_imageresizer_mode`, `ncode_imageresizer_maxwidth` and `ncode_imageresizer_maxheight` to your `user` table, in which the resizesettings are saved. These fields are removed when the plugin is removed.

IV. Configuration
Administrators can change the maximum dimensions and resize mode in the options window. These values will be the default for users without a setting of their own and anonymous users.
The installation script creates a new option group called "nCode Image Resizer Options" in which you can enter these values.
As said in section I, users can edit their preference in their User Control Panel at the Options page in the "Thread Display Options" section. The administrator can however limit the options the user can set. The administrator can choose between letting the user change all options, no options at all, only the resize mode, or all options except that the maximum dimensions can't exceed the default dimensions.

V. Version history
1.0.1 (May 6th, 2007)
- fixed javascript file version
- fixed vBAdvanced compatibility problem

1.0 (April 24th 2007, 2007)
- added code to make phrases javascript safe, multiline phrases and phrases with accents
should work now.
- added compatibility with vBAdvanced
- improved installation procedure

1.0 release candidate 4 (February 21th, 2007)
- improved speed for posts with many small images
- work around for text display problem in Safari
- Improved installer
- Improved user control panel options: added information about default settings and option to explicitly use the default resize mode.
- Added option to disable the system
- Added option to reset all user specific settings

1.0 release candidate 3 (February 4th, 2007)
- added warning on installation when javascript is not present.
- removed redundant plugins
- small bugfixes
- signature resizing is optional. turn resizing of hotlinked images on or off in the control panel
- improvements in javascript code
- changed hook method so all bbcode class users get resize functionality automatically

1.0 release candidate 2 (October 3rd, 2006)
- images weren't correctly resized when both height and width restrictions were in effect.
- added robustness for IE flaws, not perfect yet
- images in post previews get resized as well

1.0 release candidate 1 (Juli 16th, 2006)
- bug preventing proper uninstallation fixed

1.0 beta 3 (June 23th, 2006)
- Bugfixes
- Now resizes signaturepictures too
- Administrators can limit the user-settable options

1.0 beta 2 (June 20th, 2006)
- Made maximum width and height userspecific and editable

1.0 beta 1 (June 8th, 2006)
- First public release

VI. Incompatibilities
Incompatibilities have been reported with:
"Transparency PNG pictures with Internet Explorer 6 (server-side solution)"

VI. Copyright
please keep in mind that:

You are allowed to install this in your forum, and you are allowed to make suggestions for improvements. It is not allowed to redistribute the files in any other way than as a zipfile with the XML and this readme in original state.

(c) 2005 - 2007 nCode - - [email protected]

Support site:

Like it? Please donate
You can donate by PayPal: USD or EUR
Alternatively, you can donate using MoneyBookers to account jorrit[at]

Thanks to,,, and Distance for testing this mod


Download Now

Only licensed members can download files, Click Here for more information.


Click image for larger version

Name:	screenshot1.gif
Views:	9794
Size:	71.8 KB
ID:	49704   Click image for larger version

Name:	screenshot2.gif
Views:	161752
Size:	118.4 KB
ID:	49705   Click image for larger version

Name:	screenshot3.gif
Views:	5337
Size:	22.7 KB
ID:	49706   Click image for larger version

Name:	screenshot4.gif
Views:	5107
Size:	45.8 KB
ID:	49884  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases Image Resizer Jase2 vBulletin 3.7 Add-ons 384 23 Nov 2014 02:05

Old 27 Jun 2008, 23:20
usmansabir's Avatar
usmansabir usmansabir is offline
Join Date: Jun 2008
great release.. thankx...
Reply With Quote
Old 25 Sep 2008, 23:02
Mu Basheer Mu Basheer is offline
Join Date: Sep 2008

but there is one compatible with VB 3.7.3?

Best regards
Reply With Quote
Old 29 Sep 2008, 18:46
Marco Marco is offline
Join Date: Nov 2001
Version 1.0.1 works fine on vBulletin 3.7.3.
Reply With Quote
Old 11 Nov 2008, 17:26
sR->Shaun sR->Shaun is offline
Join Date: Jun 2008
Originally Posted by Chris-777 View Post
Great mod, but I'm getting W3 validation errors with the "onload" attribute.

Here's a thread with the problem if you want to toss into
Originally Posted by Spleasure View Post
Known problem. It's on my todo list

Any progress on this?
Reply With Quote
Old 05 Jan 2009, 15:06
Greni01 Greni01 is offline
Join Date: Jul 2006
Great Addon !! I love it .

Just a question, where can i change the sentence
"This image has been resized. Click this bar to view the full image. The original image is sized 1024x768."

I would like to translate it to german for my users.

Thx in advance
Reply With Quote
Old 12 Jan 2009, 01:52
PachiUniverse PachiUniverse is offline
Join Date: Feb 2008
If this is my site "" will this work on images from ""?

That's how all my images are now and I'm wondering if there is a way for this to work on outside image sources.

Reply With Quote
Old 19 Jan 2009, 15:28
JohorBahru JohorBahru is offline
Join Date: Jan 2009
will it resize with correct ratio?
Reply With Quote
Old 11 Feb 2009, 06:32
maybepost maybepost is offline
Join Date: Dec 2008
Does this work with 3.8.1?
Reply With Quote
Old 03 Apr 2009, 03:22
whitesoxfan5622 whitesoxfan5622 is offline
Join Date: Feb 2009
I have it running with 3.8.1
Only problem is the bar says
"This image has been resized. Click this bar to view the full image. The original image is sized %1%2."

It uses %1%2, if anyone know how to just remove that part, let me know!
Reply With Quote
Old 16 Apr 2009, 22:52
voter's Avatar
voter voter is offline
Join Date: Dec 2006
After I tried to unsintall this I am not more able to change any of my templates.

After pressing save the error comes

It comes Fatal error: Call to undefined method vb_activecache::flush() in ...includes/adminfunctions_template.php(2359) : eval()'d code on line 6

Any idea.
Reply With Quote
Old 17 Apr 2009, 00:39
Dollarsign's Avatar
Dollarsign Dollarsign is offline
Join Date: Apr 2009
when posting a large image, is it normal for the image to load at its original dimensions and then be resized into the resize box?
Reply With Quote
Old 17 Apr 2009, 11:21
fly fly is offline
Join Date: Oct 2003
Originally Posted by Dollarsign View Post
when posting a large image, is it normal for the image to load at its original dimensions and then be resized into the resize box?
Yes. Resizing is all done client side.
Reply With Quote
Old 06 Nov 2009, 23:20
accludetuner accludetuner is offline
Join Date: Jun 2009
Works flawlessly in 3.8.4! Thank you!
Reply With Quote
Old 07 Nov 2009, 16:34
joeycannoli joeycannoli is offline
Join Date: Nov 2009
Silly question but does anyone know where in Vbulletin to find the options menu as shown i nthe 4th picture?
Reply With Quote
Old 02 Jan 2010, 07:43
muratcan25's Avatar
muratcan25 muratcan25 is offline
Join Date: May 2009
Real name: MuRaTCaN
Thanks For It
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 10:36.

Layout Options | Width: Wide Color: