Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Image Resizer - Using nCode Script Details »
Image Resizer - Using nCode Script
Mod Version: 1.6, by Seven Skins (Coder/Designer) Seven Skins is offline
Developer Last Online: Feb 2020 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (129 votes - 4.69 average) Installs: 1501
Released: 06 Mar 2010 Last Update: 03 Sep 2012 Downloads: 9830
Supported Uses Plugins Auto-Template Additional Files  

Image resizer using nCode script

This hack resizes external images (not attachments) in cms, blogs, posts, new thread preview, signatures, private messages, visitor messages and vBadvanced CMPS.

You have the option to:
Disable the hack.
Choose the resize mode.
Default Maximum width.
Enable and disable cms resize option.
Enable and disable postbit resize option.
Enable and disable signature resize option.
Enable and disable blogs resize option.
Enable and disable private messages resize option.
Enable and disable visitor messages resize option.
Enable and disable vBadvanced CMPS resize option.


This hack has been tested:
- Using IE, FF, Chrome and Opera using default skin.

Installation:
- Upload the contents of upload folder to the root of your forum.
- Import the XML file via Plugins & Products > Manage Products > Add/Import Products.
- If you want to use "Enlarge in the same window" option you must edit "Image Medium Max" stylevar for the style you are using. Set this stylevar to high number e.g. 2000px or more if needed.

Upgrade:
- Upload the contents of upload folder to the root of your forum overwriting the existing file.
- Remove old product from AdminCP produact Manager.
- Import the XML file via Plugins & Products > Manage Products > Add/Import Products.

PS. This hack adds one link in the footer to SevenSkins website.


_________________________________ _________________________________

Please:
Nominate this modification for the MOTM.
Support me by donating ... click the link on the right. (Support Developer)
Remember to click Mark as Installed if you use this hack.
_________________________________ _________________________________


03 Sep 2012
Version 1.6
-Added functionality: Resizing of the images in vBadvanced CMPS.

Total Installs to date: 1248
Total Downloads to date: 7068


31 July 2011
Version 1.5


29 Jun 2011
Version: 1.4

-Fixed to work with vBulletin 4.1.4
-remove yellow bar as it was causing issue with vBulletin 4.1.4.
-Added functionality: Resizing of the images in CMS comments.
-Added functionality: Resizing of the images in BLOG comments.


21 Dec 2010
Version: 1.3

Thanks to ZexTasy for cms plugin code.

Added these option:
-Enable and disable cms resize option.
-Enable and disable postbit resize option.
-Enable and disable signature resize option.
-Enable and disable blogs resize option.
-Enable and disable private messages resize option.
-Enable and disable visitor messages resize option.


25 June 2010
Version: 1.2.0
Fixed to work with vBulletin 404.

06 March 2010
Version: 1.0.0 Released



.

Download Now

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

Screenshots

Click image for larger version

Name:	image-resizer-1.png
Views:	1234
Size:	102.6 KB
ID:	140974   Click image for larger version

Name:	image-resizer-2.png
Views:	1753
Size:	45.2 KB
ID:	140975   Click image for larger version

Name:	image-resizer-3.png
Views:	948
Size:	83.4 KB
ID:	140976   Click image for larger version

Name:	image-resizer-4.png
Views:	674
Size:	68.1 KB
ID:	140977  

Click image for larger version

Name:	image-resizer-5.png
Views:	644
Size:	85.2 KB
ID:	140978   Click image for larger version

Name:	image-resizer-6.png
Views:	1167
Size:	195.8 KB
ID:	140979  

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
Show Thread Enhancements [New Version]MARCO1 Image Resizer - Using Java Script - Working with CSS Files MARCO1 vBulletin 4.x Add-ons 196 09 Apr 2016 12:06
Forum Display Enhancements MK Image Resizer dothanhtrung vBulletin 3.7 Add-ons 38 24 Jul 2011 00:30

  #496  
Old 11 Feb 2012, 19:09
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Originally Posted by Bulbucan View Post
How to change background of "Click here to see original size" ??
You can edit the css in ss_imageresizer template.

Originally Posted by Emeralda View Post
Where is that "Image Medium Max"? All I found was this: http://prntscr.com/613m3
This tylevar has been renamed to image_max_size
Reply With Quote
  #497  
Old 11 Feb 2012, 19:40
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Real name: Sara
Ok, I changed it to 2000px but now it cuts of the image: http://prntscr.com/61vku
__________________
Reply With Quote
  #498  
Old 17 Feb 2012, 22:33
Dwarden Dwarden is offline
 
Join Date: Nov 2011
any chance this mod may in future convert images bigger than size X bytes into URL ?
(or there is other mod for it?)
Reply With Quote
  #499  
Old 18 Feb 2012, 15:20
CnB CnB is offline
 
Join Date: Jul 2005
Sorry if i misunderstood this part but, is it in image_max_size you can change the size of the image in the posts?
Because right now its just way to small, some images could fit the post easily.
But are made thumbnail size.
Reply With Quote
  #500  
Old 29 Feb 2012, 20:58
KProjects KProjects is offline
 
Join Date: Feb 2006
Is there a way to make this work w/ album pics?
__________________

Stop Spammers
Reply With Quote
  #501  
Old 06 Mar 2012, 05:46
sportsfroma2 sportsfroma2 is offline
 
Join Date: Aug 2006
still working great in 4.1.11
Reply With Quote
  #502  
Old 08 Mar 2012, 23:40
soaringpine soaringpine is offline
 
Join Date: Mar 2011
Not working with avatars in 4.1.10

Image resizer is working great in threads but doesn't work for Avatars? Should it resize according to my avatar settings in the various usergroups? I am using 4.1.10.

Thanks.
Reply With Quote
  #503  
Old 09 Mar 2012, 03:16
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Originally Posted by soaringpine View Post
Image resizer is working great in threads but doesn't work for Avatars? Should it resize according to my avatar settings in the various usergroups? I am using 4.1.10.

Thanks.
your forum takes care of avatars .. not this mod
Reply With Quote
  #504  
Old 14 Mar 2012, 17:45
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
We're running vBulletin 4.1.3pl5 and v1.3 of Image Resizer, which we didn't upgrade past dues to reasons discussed in old posts.

Has anyone experienced problems with the code not being able to open a pic that exists and is properly stored on the server?

All I (and other members) see the thread is a "Not Found" error, when in fact the pic is store properly on the server and can be displayed by cutting and pasting the link into the browser directly.

When I use "Firebug" in FireFox to check the code execution, I get this...

<img border="0" onload="NcodeImageResizer.createOn(this);" alt="" src="http://www.xxxx.com/images/imported/2012/03/M14-1.jpg" original="http://www.xxxx.com/images/imported/2012/03/M14-1.jpg" style="">

... but, it's highlighted in RED and says it "Failed to load the given URL"?

It appears to just be happening with pics in the last month or so.

Regards,
Doug

ps: I substitiued XXX's in the link above for privacy and security reasons ..
Reply With Quote
  #505  
Old 14 Mar 2012, 18:22
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Follow up ....

Think I might have an answer ...

Note that NcodeImageResizer is reading the filename as M14-1.jpg (upper case M) when in fact the file is store on the Unix server as m14-1.jpg (lower case m) and the IMG code refers to is as m14-1.jpg (lower case m). So, for whatever reason NcodeImageResizer is converting it to an UPPER case and so it doesn't match.

Why is NcodeImageResizer doing this?

Thanks ..

Regards,
Doug
PayPal Donator to this mod ....

Edit: I changed the file name from m14-1.jpg to m141.jpg on BOTH the server under Unix and also within the IMG tags in the post… It works now …. I don't understand why removing the dash made any difference?

Last edited by BadgerDog; 14 Mar 2012 at 18:58.
Reply With Quote
  #506  
Old 14 Mar 2012, 21:41
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Originally Posted by BadgerDog View Post
ps: I substitiued XXX's in the link above for privacy and security reasons ..
Without the link to your site it is not possible to find out what,why,how???

You may send the link via pm or email from my site.
Reply With Quote
  #507  
Old 15 Mar 2012, 13:28
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by Seven Skins View Post
Without the link to your site it is not possible to find out what,why,how???

You may send the link via pm or email from my site.
Thanks ... sent emails ...

Regards,
Doug
Reply With Quote
  #508  
Old 16 Mar 2012, 18:38
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Real name: Dr.osama
thank you for update bro

i test it
__________________
Reply With Quote
  #509  
Old 13 Apr 2012, 13:45
MattGarner MattGarner is offline
 
Join Date: Apr 2006
Any way to give the users the choice of the options on what happens when you click enlarge?
Reply With Quote
  #510  
Old 14 Apr 2012, 06:32
RapidRippeR RapidRippeR is offline
 
Join Date: Mar 2012
wrks gr8 ...thanks
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 01:22.

Layout Options | Width: Wide Color: