Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Maximum Embedded Image (File) Size Restriction by BOP5 Details »
Maximum Embedded Image (File) Size Restriction by BOP5
Mod Version: 1.5, by BirdOPrey5 (IB Staff) BirdOPrey5 is offline
Developer Last Online: Mar 2021 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (6 votes - 4.83 average) Installs: 19
Released: 15 Apr 2012 Last Update: 03 May 2012 Downloads: 60
Supported Uses Plugins Translations External Content  

Brought to you by BirdOPrey5
www.Qapla.com


Version 1,5 - Fixed new bugs - Added yes/no option for edits
Version 1.4 - Simplified code - should fix any remaining issues
Version 1.3 - Fixes big with WYSIWYG Editor on New Threads in VB 4.1.4 and lower (Including 3.x)
Version 1.2 - Fixes "Cannot Re-declare function" error with some mods
Version 1.1 - Better support for CKEDITOR in VB4
Version 1.0 - Initial Release

Live Demo:Max Image Size Restrictions Demo at Qapla.com

The purpose of this mod is to make forum pages load faster. Too often users don't care how big (in bytes) the images they link to are. If you have an image resizer all they care about is that it fits on the page but not how long it may take to download. If you have a post with several or even dozens of these images you can quickly create a slow loading page. Search Engines give priority to faster loading pages so it could even be damaging SEO.

This mod will automatically check every image being embedded via [IMG] BBCode. If the file size is over a value you specify the mod will automatically change the [IMG] code to a [URL] link instead. You can choose to include the file size (in kB) next to the link and you can specify the text of link as well- or simply use the URL as the link text. Go to the mod settings after installation to set these options.

Note- Changes are made at the time the post is submitted or edited so it will not change existing posts.

Should be compatible with all VB 3.6.x +

Please Mark as Installed if you use this.
Donations Always Appreciated.

Download Now

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

Screenshots

Click image for larger version

Name:	max_img_size_post_vb3.jpg
Views:	260
Size:	140.8 KB
ID:	137800   Click image for larger version

Name:	max_img_size_post_vb4.jpg
Views:	224
Size:	85.2 KB
ID:	137801   Click image for larger version

Name:	max_img_size_settings.jpg
Views:	163
Size:	185.5 KB
ID:	137802  

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
New Posting Features Maximum Embedded Image (File) Size Restriction by BOP5 BirdOPrey5 vBulletin 4.x Add-ons 11 22 Jul 2013 15:04

  #16  
Old 19 Apr 2012, 18:44
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Maybe that is the problem.

You have to go to Admin CP -> Settings -> vBulletin Options and choose Max Image Size Restriction by BOP5 from the list.

Double-click on it and you can enable the mod and set the file size.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #17  
Old 19 Apr 2012, 18:49
ricardoNJ's Avatar
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Originally Posted by BirdOPrey5 View Post
Maybe that is the problem.

You have to go to Admin CP -> Settings -> vBulletin Options and choose Max Image Size Restriction by BOP5 from the list.

Double-click on it and you can enable the mod and set the file size.
Enable Mod?: Yes

Max Image File Size: 1024

Show File Size?: Yes

Link Text: Large Image Link

Disable in These Forums: None



Like your example.
Reply With Quote
  #18  
Old 19 Apr 2012, 18:51
ricardoNJ's Avatar
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
If you select right click- info you can see:

Dimensions: 1,536px 2,048px (scaled to 700px 933px)

in the picture that you posted in my forum
Reply With Quote
  #19  
Old 19 Apr 2012, 18:56
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
1024 is the file size in kilobytes. The mod doesn't care about the image dimensions. But it should be working with the test image regardless... http://www.qapla.com/ju/DSC01846.JPG

I will pm you back.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #20  
Old 19 Apr 2012, 19:21
ricardoNJ's Avatar
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Uninstalled....sorry
Thanks for help anyway!
Reply With Quote
  #21  
Old 20 Apr 2012, 07:01
home9000 home9000 is offline
 
Join Date: Aug 2005
Dear BirdOPrey5

I test it with new large image but nothing happen
It's ignore the hack and insert the images as image not link
Reply With Quote
  #22  
Old 20 Apr 2012, 16:47
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by home9000 View Post
Dear BirdOPrey5

I test it with new large image but nothing happen
It's ignore the hack and insert the images as image not link
And you are sure you enabled the mod in settings?

I don't know what the issue is- if you want to give me temporary admin access PM me and I will take a look and figure out the problem.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #23  
Old 26 Apr 2012, 07:11
home9000 home9000 is offline
 
Join Date: Aug 2005
Originally Posted by BirdOPrey5 View Post
And you are sure you enabled the mod in settings?

I don't know what the issue is- if you want to give me temporary admin access PM me and I will take a look and figure out the problem.
Yes I am sure this the mod is enabled

I can't give you access because this forum owned by a company I am just a worker with them
Reply With Quote
  #24  
Old 26 Apr 2012, 13:52
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Do you use a lot of other mods? Can you go to product manger and paste a list of the mods installed here?

Maybe something will stick out.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #25  
Old 28 Apr 2012, 13:55
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
updated to 1.4 - simplified code - suggest everyone upgrade. Anyone who was having problems, please try this new version.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #26  
Old 03 May 2012, 20:57
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Updated to 1.5 - Fixed a bug where the mod wouldn't disable on new threads even on forums listed as disabled.

Added new Yes/No option to enable on post edits or not.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #27  
Old 05 Nov 2012, 20:45
home9000 home9000 is offline
 
Join Date: Aug 2005
BirdOPrey5

I use the following hack :
http://www.vbulletin.org/forum/showthread.php?t=123338

but desent work if the file size rech the maximum size

Can I make the following order :

1- if there is any image first Image Cache hack will run
2- after that Maximum Embedded Image will run

now what is happen is opposite Maximum Embedded Image run then Image Cache hack
Reply With Quote
  #28  
Old 10 Nov 2012, 20:09
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
You can do whatever you want if you can figure it out- I'm sorry I don't have time to look into how the image cache hack works.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #29  
Old 13 Nov 2012, 06:36
al2thero al2thero is offline
 
Join Date: Aug 2008
thanks a lot
Reply With Quote
  #30  
Old 01 Apr 2013, 23:43
Dwarden Dwarden is offline
 
Join Date: Nov 2011
is there known issue on 4.2.x with this plugin ? I tried use your example picture and it fails to be replaced , yet on some other hosting it is replaced ....
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 19:50.

Layout Options | Width: Wide Color: