Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Image Resizer - CMS | Blogs | Posts | Signatures | Albums | VM's | PM's Details »
Image Resizer - CMS | Blogs | Posts | Signatures | Albums | VM's | PM's
Mod Version: 1.0, by Seven Skins (Coder/Designer) Seven Skins is offline
Developer Last Online: Feb 2020 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 4.0.2 Rating: (1 vote - 5.00 average) Installs: 21
Released: 13 Mar 2010 Last Update: Never Downloads: 87
Not Supported Uses Plugins Auto-Template Additional Files  

Image Resizer - CMS | Blogs | Posts | Signatures | Albums | VM's | PM's - Using JQuery Script


This hack resizes LARGE images in CMS, Blogs, Posts, Signatures, Albums, Visitor Messages, Private Messages ...


Warning: Please note that this hack will resize all LARGE images in the IMG tags.
If you are using large images for your logo or background and they are in IMG tags they will be resized too.
This hack works perfectly fine with default vBulletin styles and in Internet Explorer 8, FireFox 3.5, Chrome and Opera.


You have the option to:
  • Disable the hack.
  • Choose default message for warning bar.
  • Option to choose the height and width in CMS.
  • Option to choose the height and width in Blogs.
  • Option to choose the height and width in Posts.
  • Option to choose the height and width in Albums.
  • Option to choose the height and width in VM's.
  • Option to choose the height and width in PM's.



LIVE DEMO
Username: demo
Password: demo



Installation:

Upload jquery.min.js to clientscript folder.
Import the XML file via Plugins & Products > Manage Products > Add/Import Products.

Note #1. This script will work after page is fully loaded. While the images are being downloaded they will be seen in full size.
Note #2. At the moment there is option to resize/exclude images in signatures. Signatures will be resized to the same size as posts.


If you have a LARGE LOGO and you dont want resized, do this:

In the header template find:

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


Replace it with: (Edit the height and width in the above code to the size of your logo.)

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



And this for other images you don't want resized:
Normal img tag:

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

Edit it to for this hack:

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


_________________________________ _________________________________

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


13 March 2010
Version: 1.0 Released


.

Download Now

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

Screenshots

Click image for larger version

Name:	jqir_00.png
Views:	88
Size:	89.0 KB
ID:	114072   Click image for larger version

Name:	jqir_01.png
Views:	106
Size:	59.2 KB
ID:	114073   Click image for larger version

Name:	jqir_02.png
Views:	96
Size:	75.2 KB
ID:	114074   Click image for larger version

Name:	jqir_03.png
Views:	60
Size:	46.4 KB
ID:	114075  

Click image for larger version

Name:	jqir_04.png
Views:	55
Size:	67.3 KB
ID:	114076   Click image for larger version

Name:	jqir_05.png
Views:	47
Size:	63.5 KB
ID:	114077   Click image for larger version

Name:	jqir_06.png
Views:	61
Size:	127.1 KB
ID:	114078  

Show Your Support

  • 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
Major Additions AME 2.5 - Media Embedding for posts, sigs, vm's, groups and blogs The Geek vBulletin 3.8 Add-ons 1702 18 Nov 2014 02:42

  #16  
Old 14 Mar 2010, 20:34
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Originally Posted by Kolbi View Post
Can you minimize the jquery.min.js file?

Because it is loaded on every page.
I will add conditional in the next update to exclude this from some pages.
Reply With Quote
  #17  
Old 14 Mar 2010, 20:49
tafreeh's Avatar
tafreeh tafreeh is offline
 
Join Date: May 2008
Location: Canada
Real name: DON
good one.. but here is what i want...

I want signatures to resize, but i do not want to show that yellow strip on top of the image, that says "click here to view the full size image" .. but at the same time i want that to show to in post...

Is it possible to do that?
__________________
Vb Forum
Reply With Quote
  #18  
Old 14 Mar 2010, 21:02
AzzidReign's Avatar
AzzidReign AzzidReign is offline
 
Join Date: Apr 2006
Just what I was looking for!
__________________
Xbox 360 Mods
Reply With Quote
  #19  
Old 14 Mar 2010, 23:12
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Originally Posted by tafreeh View Post
good one.. but here is what i want...

I want signatures to resize, but i do not want to show that yellow strip on top of the image, that says "click here to view the full size image" .. but at the same time i want that to show to in post...

Is it possible to do that?
Not with this hack. You may reduce the size of warning box or remove the warning box and just leave the message only.
Reply With Quote
  #20  
Old 15 Mar 2010, 00:11
ximcix ximcix is offline
 
Join Date: Mar 2005
Thumbs up

I'm using the other hack & loving it. the only downside it has is that i can only set width

I would love to be able to limit both the height & width (which this new version allows) but without having to manually make template changes. Most of the themes I use have large headers & my forum has several themes.

Even though the addition of lightbox would help make it more fancy (would be sweet if it could be coded to make use of vB's lightbox), it really isn't needed.

Just a simple hack that resizes large images posted by the members in specified regions is all we need.
Reply With Quote
  #21  
Old 15 Mar 2010, 02:51
RaceJunkie RaceJunkie is offline
 
Join Date: Jun 2005
This seems like a good hack but having to add every image you don't want to re size to your header is really a hassle.

This mod also will re size any images you have in your advertisement blocks. So how do you prevent it from resizing your ads?
Attached Images
File Type: png screenshot_01.png (55.7 KB, 18 views)

Last edited by RaceJunkie; 15 Mar 2010 at 03:04.
Reply With Quote
  #22  
Old 15 Mar 2010, 04:44
valendono valendono is offline
 
Join Date: Feb 2008
can u set if 728x90px ignored ?
Reply With Quote
  #23  
Old 15 Mar 2010, 10:25
Athena1984 Athena1984 is offline
 
Join Date: Nov 2009
Why is this making my images smaller than the specified height and width?

EDIT: No worries, I fixed the issue. I'll be marking this as installed. Thank you for this!

Last edited by Athena1984; 15 Mar 2010 at 10:32.
Reply With Quote
  #24  
Old 15 Mar 2010, 17:56
AndrewDavis AndrewDavis is offline
 
Join Date: Mar 2009
Lightbulb

Question: It's not better to give the image, there not to resized a class? For example :

<img src="example.pic" class="notresized" /> ?

Cheers AndrewD
Reply With Quote
  #25  
Old 16 Mar 2010, 03:26
RaceJunkie RaceJunkie is offline
 
Join Date: Jun 2005
uninstalled
Reply With Quote
  #26  
Old 17 Mar 2010, 13:27
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
Originally Posted by RaceJunkie View Post
This seems like a good hack but having to add every image you don't want to re size to your header is really a hassle.

This mod also will re size any images you have in your advertisement blocks. So how do you prevent it from resizing your ads?
need some improvements ... hope the dev will release an upgrade soon ...
Reply With Quote
  #27  
Old 17 Mar 2010, 15:00
argothiusz argothiusz is offline
 
Join Date: Nov 2008
What about option to define the size of signature?
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:15.

Layout Options | Width: Wide Color: