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 2019 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: 9821
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:	1226
Size:	102.6 KB
ID:	140974   Click image for larger version

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

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

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

Click image for larger version

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

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

  #616  
Old 04 Sep 2013, 06:09
Ba'al's Avatar
Ba'al Ba'al is offline
 
Join Date: Oct 2010
Originally Posted by Ba'al View Post
Can you point to the variable where i can change the color of the header from yellow to whatever,i am sure it is vb default but i am just not seeing it.
Nevermind, i found it.
__________________
Reply With Quote
  #617  
Old 05 Sep 2013, 19:01
nisanboard nisanboard is offline
 
Join Date: Apr 2013
teşekkürler
Reply With Quote
  #618  
Old 05 Sep 2013, 22:48
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Originally Posted by nisanboard View Post
teşekkürler
All posts must be in English please.
Reply With Quote
  #619  
Old 06 Sep 2013, 06:32
Ba'al's Avatar
Ba'al Ba'al is offline
 
Join Date: Oct 2010
Originally Posted by ozzy47 View Post
All posts must be in English please.
He says Thanks lol
__________________
Reply With Quote
  #620  
Old 13 Nov 2013, 21:35
katie hunter's Avatar
katie hunter katie hunter is offline
 
Join Date: May 2007
Thanks! It works great but there is a bug

After you post a pic using quick editor, the image doesn't get resized, i have to refresh the page to see it re-size, with Tcat mod http://www.vbulletin.org/forum/showthread.php?t=184571 this didn't happen.

Can we also add the different styles of image resizers, some of them load nicely and look quite fantasy.

I also use this pretty image resizer on my homepage and it looks really good style and function wise. Ex http://www.nihonomaru.com/profile/rina-touin.1/wall or http://www.nihonomaru.com/profile/yuneko.52/wall click on the image or gif (it works on gifs too!) I have never seen this on any vb mod before.

Last edited by katie hunter; 13 Nov 2013 at 21:46.
Reply With Quote
  #621  
Old 25 Jul 2014, 20:13
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
I'm just curious, is there a solution for the issue of not resizing when advanced reply is used??

The image shows up there with full size... any fix for that?
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
Reply With Quote
  #622  
Old 04 Aug 2014, 08:30
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
I want to add an extra class to ncode_imageresizer_warning, how do I do that??

from the script!!!
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
Reply With Quote
  #623  
Old 04 Aug 2014, 10:04
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Originally Posted by fxdigi-cash View Post
I'm just curious, is there a solution for the issue of not resizing when advanced reply is used??

The image shows up there with full size... any fix for that?
Need to refresh the page.

Originally Posted by fxdigi-cash View Post
I want to add an extra class to ncode_imageresizer_warning, how do I do that??

from the script!!!
Edit ncode_imageresizer.js in clientscripts folder and add class near line 120.
Reply With Quote
  #624  
Old 04 Aug 2014, 16:34
leclownos leclownos is offline
 
Join Date: Sep 2009
thank you, great mod!!
Reply With Quote
  #625  
Old 04 Aug 2014, 16:51
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Real name: Md Tajirul Islam
Originally Posted by Seven Skins View Post
Need to refresh the page.
Please can you make its work via AJAX?
Reply With Quote
  #626  
Old 05 Aug 2014, 00:33
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by Seven Skins View Post
Edit ncode_imageresizer.js in clientscripts folder and add class near line 120.
Thanks a lot. That what I thought actually, but didn't work for me... possibly because I'm using a Java script combiner to combine all js files. I guess there is a conflict with some other script...

Thanks again,
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
Reply With Quote
  #627  
Old 10 Aug 2014, 06:44
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by Seven Skins View Post
Need to refresh the page.

Edit ncode_imageresizer.js in clientscripts folder and add class near line 120.
sorry, maybe I wasn't clear enough. I want to place the Class inside the <img> tag

how do I do that?

Thanks
Edit: Is it possible to replace also the tag src with data-original because I want to use Lazy load on that??
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily

Last edited by fxdigi-cash; 10 Aug 2014 at 08:12.
Reply With Quote
  #628  
Old 10 Aug 2014, 20:49
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
You can add additonal class using jquery (I tried this couple of years back and it works). I have not tried data-original though.
Reply With Quote
  #629  
Old 11 Aug 2014, 07:37
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by Seven Skins View Post
You can add additonal class using jquery (I tried this couple of years back and it works). I have not tried data-original though.
I just added a class through Jquery, but still don't know how to replace src with data-original... is there a part of the script or anywhere in the template to change the code from src to data-original??

I tried to use jquery to override the src replacement with data-original, but didn't work only for this mod. The other attachments work fine though...

any idea?

Update: It is ok, I fount it in the plugin itself. Thanks.

Update 2: I tried many times and different ways, but not working... any idea??
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily

Last edited by fxdigi-cash; 11 Aug 2014 at 09:33.
Reply With Quote
  #630  
Old 18 May 2015, 16:21
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
I haven't got downloadsII installed on my server so I cannot test it.
Make a plugin and see if you can preg_replace in downloadsII templates.

PS: This hack works with only external images, not with attachments.
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 22:07.

Layout Options | Width: Wide Color: