Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Auto Resize large images in an IMG tag Details »
Auto Resize large images in an IMG tag
Mod Version: 1.00, by mr.gamesbay (Member) mr.gamesbay is offline
Developer Last Online: Dec 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (16 votes - 4.50 average) Installs: 271
Released: 01 Sep 2006 Last Update: Never Downloads: 1194
Not Supported Template Edits Code Changes Additional Files  

First, sorry about my bad english

With this small hack, all large images in an IMG Tag will be resized after the site has loaded. With a click on the resized imge, it will open in an new window with the original size. Works in Firefox, Opera, IE and i think in all other browser.
Here is a Demo: Link

Work with vB 3.6.0 - 3.6.4

INSTALLATION:

--------------------------------

- Copy the file resizevbimg.js in the dir clientscript.

--------------------------------

Open the file includes/class_bbcode.php
Search the line(~line 1887 ):


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

and replace with:

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

Save and upload.

--------------------------------

Styles & Templates > Search the SHOWTHREAD Template
Seach:

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

Replace with:

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

Save the template.

--------------------------------

Styles & Templates > Search the NEWREPLY Template
Search:

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

Replace with:

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

Save the template.

--------------------------------

- Styles & Templates > Style Manager > Common Templates > headinclude
Search:

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

After, add:

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

Save the template.

--------------------------------

Styles & Templates > Style Manager > Main CSS > Additional CSS Definitions

After, add:

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

Save.
--------------------------------

Done

Download Now

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

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 Auto Resize large images in an IMG tag mr.gamesbay vBulletin 3.7 Add-ons 38 28 Sep 2010 10:04
Auto Resize large images in an IMG tag mr.gamesbay vBulletin 3.5 Add-ons 39 16 Dec 2008 15:47
Auto-Resize Large Images - EASY Version paul41598 vBulletin 3.5 Add-ons 34 02 Aug 2007 20:20

  #61  
Old 28 Sep 2006, 04:58
transitbus's Avatar
transitbus transitbus is offline
 
Join Date: Aug 2006
This would be great if it resized the pop up to the image and had an onclick close option
Reply With Quote
  #62  
Old 28 Sep 2006, 13:30
GoNz00 GoNz00 is offline
 
Join Date: Jan 2005
finally got round to installing this, top hack many thanks.
Reply With Quote
  #63  
Old 02 Oct 2006, 17:30
transitbus's Avatar
transitbus transitbus is offline
 
Join Date: Aug 2006
I am uninstalling this mod/hack baecause of your refusal to support it and it's incomplete state. It need some basic functinality (auto window resizing and click to close) before it is ready.

If you are not going to support your own mod why post it?
Reply With Quote
  #64  
Old 02 Oct 2006, 20:32
mr.gamesbay's Avatar
mr.gamesbay mr.gamesbay is offline
 
Join Date: Sep 2004
Originally Posted by transitbus
I am uninstalling this mod/hack baecause of your refusal to support it and it's incomplete state. It need some basic functinality (auto window resizing and click to close) before it is ready.

If you are not going to support your own mod why post it?
This mod is complete. If u need extra functions, u still have to wait if someone will realese it oneday for free.
Realy, i dont know how someone will need for this mini hack Support.
Reply With Quote
  #65  
Old 02 Oct 2006, 20:49
transitbus's Avatar
transitbus transitbus is offline
 
Join Date: Aug 2006
no, this is a not an addon but a hack to make images resize. If it was complete you would have support for options instead of hard coding it into a php file or the js file. You have no options for closing the window once open and you have nothing for auto resizing the window once open.

refer to this mod for a finished product:

http://www.vbulletin.org/forum/showthread.php?t=118048
Reply With Quote
  #66  
Old 02 Oct 2006, 21:02
mr.gamesbay's Avatar
mr.gamesbay mr.gamesbay is offline
 
Join Date: Sep 2004
Originally Posted by transitbus
refer to this mod for a finished product:
http://www.vbulletin.org/forum/showthread.php?t=118048
I know this mod too, its a fine one.
But if someone dont need many options (like me) and more sql database queries those one is the wrong.
Feel free and use what u like.
Reply With Quote
  #67  
Old 16 Oct 2006, 23:33
iran.gs's Avatar
iran.gs iran.gs is offline
 
Join Date: Jul 2006
humm ever since i upgraded to 3.62 this hack wont work on my new 3.62 skins or any other skins older or newer it only works on the one i coded before upgrade is there any chance i am doing something wrong or this does not work on 3.62 ????
Reply With Quote
  #68  
Old 18 Oct 2006, 20:29
keyness keyness is offline
 
Join Date: Oct 2006
It's working on my 3.6.2. This one is a lovely hack, thank you very much.
Reply With Quote
  #69  
Old 20 Oct 2006, 19:03
FeNeRisT's Avatar
FeNeRisT FeNeRisT is offline
 
Join Date: Apr 2006
Danke
Reply With Quote
  #70  
Old 20 Oct 2006, 21:11
johnnyusa johnnyusa is offline
 
Join Date: Jul 2004
Works like a dream on vb 3.6.2, thanks mate. INSTALLED
Reply With Quote
  #71  
Old 20 Oct 2006, 23:13
haytham's Avatar
haytham haytham is offline
 
Join Date: Jan 2003
Real name: Haytham
The only mod that worked for me..great thanks..INSTALLED
Reply With Quote
  #72  
Old 21 Oct 2006, 05:50
HAVOK USA HAVOK USA is offline
 
Join Date: Aug 2006
I have followed the instructions perfectly - two times now and it does not work.

Im using vb 3.62


can anyone help?
Reply With Quote
  #73  
Old 01 Nov 2006, 22:11
GNDI's Avatar
GNDI GNDI is offline
 
Join Date: Jun 2005
do you have other scrips installed that might conflict with this one?
__________________
BSD

VIB-host
Reply With Quote
  #74  
Old 05 Nov 2006, 03:46
javo javo is offline
 
Join Date: May 2004
Not working for me either on 3.6.1
I have no other mods that would affect it. I run a pretty vanilla site.

Any suggestions?
Reply With Quote
  #75  
Old 18 Nov 2006, 15:03
ashley53680 ashley53680 is offline
 
Join Date: Dec 2003
Real name: Umm... Ashley ;)
Anyone have this working on 3.6.3? I've tried a few times and I keep getting an error on the class_bbcode.php file.
__________________

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:04.

Layout Options | Width: Wide Color: