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: Nov 2021 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (130 votes - 4.69 average) Installs: 1503
Released: 06 Mar 2010 Last Update: 03 Sep 2012 Downloads: 9877
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:	1270
Size:	102.6 KB
ID:	140974   Click image for larger version

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

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

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

Click image for larger version

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

Name:	image-resizer-6.png
Views:	1199
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

  #46  
Old 09 Apr 2010, 18:34
osayidan osayidan is offline
 
Join Date: Sep 2006
So in the end this is actually the best and simplest image resizer. I've now tried all of them, and played around with the code on each, and this one is the winner.

I managed to create a very crude fix for enabling CMS resizing on this one. Problem with it is that the warning bar on top becomes over-sized, probably some CSS issue. Here is an example:


If you do not mind this, do not want to wait for a new hack or update to this one, and understand that you are doing this at your own risk, then here is how I did this:

Open: product-sevenskins_imageresizer-v1.0.0.xml

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Bellow this, and above "</plugins>, add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save as a NEW file, this way you have the original to go back to if needed.
Uninstal/delete the old hack, you do not need to delete the contents of "upload" folder.
Import the edited one, you do not need to reupload the "upload" folder.

Check if it works for you.

If not, to revert to the old version, uninstal/delete this one. Import the original.


This is likely a very crude method of accomplishing this, and I'm only sharing this for those desperate for a good resizer that works on CMS. For me this is a temporary fix until the author of this hack releases something better.

Note: this was done on 4.0.2, I have no idea how it will behave on any other variation, or if any other mods will interfere.
Reply With Quote
  #47  
Old 09 Apr 2010, 19:12
murekhalir murekhalir is offline
 
Join Date: Oct 2006
Does this work on the CMS?
Reply With Quote
  #48  
Old 09 Apr 2010, 19:32
osayidan osayidan is offline
 
Join Date: Sep 2006
Originally Posted by murekhalir View Post
Does this work on the CMS?
Not by default but see my post right above yours and see if that helps you.
Reply With Quote
  #49  
Old 12 Apr 2010, 05:00
Morsolo's Avatar
Morsolo Morsolo is offline
 
Join Date: Aug 2006
Location: Melbourne, Australia
Real name: James
I have always been a fan of the nCode resizer, primarily because of the bar above the image, which allows users to wrap [URL] around the image. Most - if not, all - resizers make the image clickable to enlarge, so wrapping [URL] has no effect; and a lot of my members do that.

I'd like to see multiple inputs on the AdminCP with multiple locations of images. (For example, being able to set a different max width for CMS, Blog, Posts, PM's, etc.)... Also, I've noticed that it doesn't resize [SIGPIC], which is a minor annoyance.

Also, any know how to set a different width if an image is quoted? My forum is fixed at 900px wide, so my images are resized down to 500px, but then if quoted, they stick out, so I make them set at about 460px... I'd like to be able to utilize max available area.

Even better, is it at all possible to just make max width "100%", so that it'll just resize down to the available area?

...But I'm just nitpicking here, brilliant mod
__________________
NaviForums.com - James Cameron's AVATAR Fansite

Last edited by Morsolo; 12 Apr 2010 at 05:08.
Reply With Quote
  #50  
Old 14 Apr 2010, 07:54
Alucard^'s Avatar
Alucard^ Alucard^ is offline
 
Join Date: Feb 2008
Real name: Laureano
Best image resizer!

But i have a suggestion (that i need) so if you can add it, would be really cool.

I want to use the plugin for signatures too, but with another width and height max.

Sry for my english.

Installed, ofcourse.
Reply With Quote
  #51  
Old 14 Apr 2010, 09:14
sticky sticky is offline
 
Join Date: Sep 2003
Anyone? Does it resize attachments and links?

Does it work with the CMS?
Reply With Quote
  #52  
Old 14 Apr 2010, 12:59
Morsolo's Avatar
Morsolo Morsolo is offline
 
Join Date: Aug 2006
Location: Melbourne, Australia
Real name: James
Originally Posted by sticky View Post
Anyone? Does it resize attachments and links?

Does it work with the CMS?
Osayidan added to the code to allow it to function with the CMS, seen only a few posts above...
http://www.vbulletin.org/forum/showp...8&postcount=46

vBulletin resizes attachments itself and ... how can you resize a link?
__________________
NaviForums.com - James Cameron's AVATAR Fansite
Reply With Quote
  #53  
Old 17 Apr 2010, 17:15
mofeu's Avatar
mofeu mofeu is offline
 
Join Date: Oct 2007
how is this image resizer work?
Reply With Quote
  #54  
Old 17 Apr 2010, 17:27
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by mofeu View Post
how is this image resizer work?
It works well.
Reply With Quote
  #55  
Old 21 Apr 2010, 10:04
sticky sticky is offline
 
Join Date: Sep 2003
Originally Posted by Morsolo View Post
Osayidan added to the code to allow it to function with the CMS, seen only a few posts above...
http://www.vbulletin.org/forum/showp...8&postcount=46

vBulletin resizes attachments itself and ... how can you resize a link?
I meant resizing linked images.
Reply With Quote
  #56  
Old 23 Apr 2010, 21:35
Big_Jason Big_Jason is offline
 
Join Date: Feb 2010
Originally Posted by Alucard^ View Post
Best image resizer!

But i have a suggestion (that i need) so if you can add it, would be really cool.

I want to use the plugin for signatures too, but with another width and height max.

Sry for my english.

Installed, ofcourse.
x2 on that request. You'd solve my #1 headache if this could independently resize signatures to a different size than posts in images and blogs.

Any thoughts on making that a reality? Pretty please?

Oh and installed
Reply With Quote
  #57  
Old 24 Apr 2010, 09:49
MikeWarner's Avatar
MikeWarner MikeWarner is offline
 
Join Date: Nov 2001
I love this hack - other resizers make something that should be simple into something complicated. This hack keeps it nice and simple!

Quick question though - on trying to improve my YSlow score, it is saying that the ncode js file reference should be moved to the footer. How can I do this?
__________________
No signature - please check back later
Reply With Quote
  #58  
Old 26 Apr 2010, 11:00
Sworm Sworm is offline
 
Join Date: Feb 2008
anybody has tried to use it on 4.0.3?
Reply With Quote
  #59  
Old 26 Apr 2010, 11:16
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by Sworm View Post
anybody has tried to use it on 4.0.3?
Yep. Working fine for me on 4.03.
Reply With Quote
  #60  
Old 26 Apr 2010, 16:30
[email protected] Alex@Mk3OC is offline
 
Join Date: Dec 2007
Working fine on 4.0.3 here as well
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 08:10.

Layout Options | Width: Wide Color: