vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=237650

Image Resizer - Using nCode Script
by Seven Skins
06 Mar 2010 13:40

7 Attachment(s)
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



.

Forum Lover 06 Mar 2010 13:51

Now, what could be more simpler then this! INSTALLED. :)

Kolbi 06 Mar 2010 13:56

I like that :)

Kolbi 06 Mar 2010 14:08

Nice hack but I causes a xhtml issue:
http://validator.w3.org/check?uri=ht...idator%2F1.654
Quote:

# Error Line 93, Column 105: there is no attribute "onload"

…o_white.gif" border="0" alt="" onload="NcodeImageResizer.createOn(this);" />vo…



You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

Seven Skins 06 Mar 2010 14:30

This error has always been there in nCode script. If or when he fixes that I will update this mod.

Kolbi 06 Mar 2010 14:52

Thatīs not a really good thing :(

samiro 06 Mar 2010 15:02

wow !!!
nice one !
MOTM

min0taur 06 Mar 2010 15:29

Can You Make it work to CMS??

Muggz562 06 Mar 2010 21:36

Now this I like :)

cindy helmond 06 Mar 2010 23:03

nice but can you add this for albums to ? its not working for albums

tuwebfacil 07 Mar 2010 00:00

Hi, its there any way to make it work with vbadvanced?

thank you, great mod!!

elwachiman 07 Mar 2010 01:36

tagged.........................

dihuta 07 Mar 2010 01:45

Doesn't work with vB4: SuperCharged mod (javascript optimize enable).
Turning off javascript optimize is ok.

Veer 07 Mar 2010 06:24

Hi, can you add different size options for blog page and forum post?

Dr.osamA 07 Mar 2010 07:01

thanxxx

installed
________


All times are GMT. The time now is 07:49.

Powered by vBulletin® Version 3.8.14
Copyright © 2023, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.