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 (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: 15900
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

Click image for larger version

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

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

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

Name:	screenshot4.gif
Views:	5095
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 01:05

  #271  
Old 05 Feb 2007, 23:31
Spleasure's Avatar
Spleasure Spleasure is offline
 
Join Date: Jun 2002
Real name: Jorrit Schippers
Originally Posted by Tralala View Post
In case it hasn't already been said... Spleasure is a rock star. This is one excellent add-on. Working great for me. Thanks so much for sharing it, Spleasure!
He says this because I fixed the safari bug. It will be in the next release.
Reply With Quote
  #272  
Old 06 Feb 2007, 16:25
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Hello Spleasure

Is it possible to 2 section ? 1st is the forumdisplay image adjustment,2nd one is the signature image adjustment.

Thanks
__________________

Reply With Quote
  #273  
Old 06 Feb 2007, 17:05
Spleasure's Avatar
Spleasure Spleasure is offline
 
Join Date: Jun 2002
Real name: Jorrit Schippers
Originally Posted by Bulent Tekcan View Post
Hello Spleasure

Is it possible to 2 section ? 1st is the forumdisplay image adjustment,2nd one is the signature image adjustment.

Thanks
What do you mean? Separate maximum dimensions for post images and signature images?
Reply With Quote
  #274  
Old 06 Feb 2007, 19:01
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Originally Posted by Spleasure View Post
What do you mean? Separate maximum dimensions for post images and signature images?
Yes.....I think best product for all forum admin.

Thanks
__________________


Last edited by Bulent Tekcan; 08 Feb 2007 at 09:36.
Reply With Quote
  #275  
Old 06 Feb 2007, 21:46
KipLarson KipLarson is offline
 
Join Date: Jul 2005
Does this work with 3.61 and 3.64?
Reply With Quote
  #276  
Old 06 Feb 2007, 21:54
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
Originally Posted by KipLarson View Post
Does this work with 3.61 and 3.64?
yes.
Reply With Quote
  #277  
Old 06 Feb 2007, 22:27
JohnBee JohnBee is offline
 
Join Date: Oct 2004
I have two request

1) Is it possible to have the image enlarge when clicked on(instead of the bar)
2) What are the chances of getting lightbox effect when enlarged

Those features would be awesome, especially the lightbox
Reply With Quote
  #278  
Old 07 Feb 2007, 15:32
Spleasure's Avatar
Spleasure Spleasure is offline
 
Join Date: Jun 2002
Real name: Jorrit Schippers
Originally Posted by JohnBee View Post
I have two request

1) Is it possible to have the image enlarge when clicked on(instead of the bar)
2) What are the chances of getting lightbox effect when enlarged

Those features would be awesome, especially the lightbox
I have specifically made an information bar so [url ][/url] scenario's would still allow the image to have a link.
The lightbox effect is something I consider for a future version.
Reply With Quote
  #279  
Old 07 Feb 2007, 19:28
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Originally Posted by Spleasure View Post
I have specifically made an information bar so [url ][/url] scenario's would still allow the image to have a link.
The lightbox effect is something I consider for a future version.
Ah well the link makes lots of sense, I dreaded some other version which did just that(really anoying)

Totally looking forward to the lighbox on this, your mod would become the cream of the crop with such features.

Great work!
Reply With Quote
  #280  
Old 09 Feb 2007, 22:45
taydu taydu is offline
 
Join Date: Oct 2006
try to update to RC3 and got this error message

Fatal error: Call to undefined function: ncode_imageresizer_replace() in ......../public_html/forums/includes/class_bbcode.php(415) : eval()'d code on line 2

I got this error when tried to access the forum and login in admincp

Last edited by taydu; 10 Feb 2007 at 15:46.
Reply With Quote
  #281  
Old 11 Feb 2007, 04:27
taydu taydu is offline
 
Join Date: Oct 2006
Can someone help??? I Did an upgrade and got the message above, but if I install on a fresh test board then it work great.
Reply With Quote
  #282  
Old 12 Feb 2007, 02:54
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Has the safari bug been fixed and if so, does the file download reflect the change?
Reply With Quote
  #283  
Old 12 Feb 2007, 04:02
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Real name: Z.R.
didnt find any option for sigs..

hope it wont effect on sigs..

if image is smaller than given dimension...image will not be enlarged >??????
like dimension is : 320 X 480 pix
if posted image is 300 X 400 pix. then image wont be enlarged ....right?
Reply With Quote
  #284  
Old 12 Feb 2007, 19:42
fly fly is offline
 
Join Date: Oct 2003
I have a user who keeps getting this error with IE7:
stop running this script? a script running on this page is causing internet explorer to run slowly. if it continues to run, your computer may become unresponsive.
Its definently the resizer, because if I disable it the error goes away...
Reply With Quote
  #285  
Old 14 Feb 2007, 04:53
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Originally Posted by Spleasure View Post
The lightbox effect is something I consider for a future version.
Originally Posted by JohnBee View Post
Totally looking forward to the lighbox on this, your mod would become the cream of the crop with such features.
Hell yeah, this mod got me thinking the same. Check out this demo! The "zoom" transition is sexy.

If "lightboxing" was an option for enlarging images with this hack... I think I'd faint from excitement.
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


New To Site? Need Help?

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

Layout Options | Width: Wide Color: