Register Members List Search Today's Posts Mark Forums Read

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

vB Version: 3.6.1 Rating: (125 votes - 4.83 average) Installs: 1295
Released: 08 Jun 2006 Last Update: 06 May 2007 Downloads: 15883
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.




NCODE IMAGE RESIZER FOR VBULLETIN 3.6.0
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)"
(http://www.vbulletin.org/forum/showthread.php?t=93415)

VI. Copyright
please keep in mind that:
THIS IS NOT FREE SOFTWARE

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 - www.ncode.nl - info@ncode.nl

Support site:
http://www.ncode.nl/vbulletinplugins/

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

Thanks to Xboxworld.nl, rage3d.com, insomnia.gr, myxbox.gr and Distance for testing this mod

Previews:

Download Now

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

Screenshots

screenshot1.gif   screenshot2.gif   screenshot3.gif   screenshot4.gif  

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 01:05

Comments
  #2  
Old 08 Jun 2006, 19:56
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Great addon, thanks a lot for releasing it here!
Reply With Quote
  #3  
Old 08 Jun 2006, 20:07
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Wow. This looks completely sweet. A perfect solution for image resizing blues. I especially like how there's a user preference!

I'd like to see another option, if that's possible, and that is, to turn images off completely, when using certain skins. That would be useful when someone's using a mobile skin, for example.
Reply With Quote
  #4  
Old 08 Jun 2006, 20:11
Spleasure's Avatar
Spleasure Spleasure is offline
 
Join Date: Jun 2002
Real name: Jorrit Schippers
Is that because you don't want them to download the images or you want them to have such wide images?

I was also thinking about making the maximum height and width settable for users, what do you think about that.
Reply With Quote
  #5  
Old 08 Jun 2006, 20:18
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Originally Posted by Spleasure
Is that because you don't want them to download the images or you want them to have such wide images?
It's because they're on a mobile device, typically using a mobile skin... and loading images slows them down immeasurably. So they end up just avoiding threads that may have inline images in them. Cell data speeds aren't typically broadband, so every kb saved, counts!

The mobile skin typically has avatars turned off, but inline images are still included. And yes, the user can turn images off in the VB UserCP, but that setting will apply to ALL skins.

I just thought that since your advanced hack was dealing with images and user preferences, that it might provide (finally) an intelligent way to deal with this.

Originally Posted by Spleasure
I was also thinking about making the maximum height and width settable for users, what do you think about that.
That'd be kinda cool.
Reply With Quote
  #6  
Old 08 Jun 2006, 20:26
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Real name: allan
Yep, great hack, very nice

Click Install ^^

Your hack work with IE and Firefox ?
__________________
-------------------------------------------------------------------------------------------
Administrator vBulletin-Ressources.com, French vBulletin Resources.
Reply With Quote
  #7  
Old 08 Jun 2006, 20:32
utw-Mephisto utw-Mephisto is offline
 
Join Date: Feb 2005
Originally Posted by Allan
Your hack work with IE and Firefox ?
Important one

/me wants to know too
Reply With Quote
  #8  
Old 08 Jun 2006, 20:39
Pathor Pathor is offline
 
Join Date: Mar 2006
Real name: Patrick
Very very nice and useful.

The image-weight doesn´t appear in firefox 1.5.0.4.
Is this fixable?
Reply With Quote
  #9  
Old 08 Jun 2006, 20:43
imported_predatorkill imported_predatorkill is offline
 
Join Date: May 2005
Already installed few days ago,the best and most "user likeable" product among all the other image resizer products!

Good work Jorrit!
Reply With Quote
  #10  
Old 08 Jun 2006, 20:55
Spleasure's Avatar
Spleasure Spleasure is offline
 
Join Date: Jun 2002
Real name: Jorrit Schippers
It's supposed to work with Opera, IE and FireFox. If it doesn't, that doesn't mean I don't support it, but it means that there is a bug.
This script is mostly clientside, so for mobile users it's pointless. Putting that in a separate plugin might me more appropriate.
Pathor: what exactly do you mean?
Reply With Quote
  #11  
Old 08 Jun 2006, 21:00
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Originally Posted by Spleasure
This script is mostly clientside, so for mobile users it's pointless. Putting that in a separate plugin might me more appropriate.
Ah, I gotcha. Thanks for the explanation and for sharing this hack.

Originally Posted by imported_predatorkill
Already installed few days ago,the best and most "user likeable" product among all the other image resizer products!
Agreed!
Reply With Quote
  #12  
Old 08 Jun 2006, 21:34
Spleasure's Avatar
Spleasure Spleasure is offline
 
Join Date: Jun 2002
Real name: Jorrit Schippers
Originally Posted by Pathor
Very very nice and useful.

The image-weight doesn´t appear in firefox 1.5.0.4.
Is this fixable?
I now know what you mean by this. I'm sorry, only IE supports reading this. See it as an extra for IE users, not as something left out for Firefox users.

To all: Thanks for the great comments by the way

I also have a 3.5.4 compatible version lying around here, should I put it on here too?

Last edited by Spleasure; 08 Jun 2006 at 21:46.
Reply With Quote
  #13  
Old 08 Jun 2006, 21:57
El-Gazaly El-Gazaly is offline
 
Join Date: Apr 2006
Thanks For It
Installed
Reply With Quote
  #14  
Old 08 Jun 2006, 22:20
Pathor Pathor is offline
 
Join Date: Mar 2006
Real name: Patrick
Originally Posted by Spleasure
See it as an extra for IE users[...]
Unfortunately...

BTW: Installed on my local testboard.
Reply With Quote
  #15  
Old 08 Jun 2006, 22:34
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
you should put the notice and the image in a 1 cell 1 row table with a boarder.

It would look a lil more clean for transparent images.
__________________
If anyone wants any of my past modifications please PM me... I will provide you with a link to them. I have decided to remove all my modifications from VB.org because of a small incident...

You can get my popular hacks here: Coders Shack
Reply With Quote
Reply


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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 20:24.

Layout Options | Width: Wide Color: