Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Image Resizer Details »»
Image Resizer
Version: 1.0.2, by Jase2 Jase2 is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.2 Rating:
Released: 04-17-2008 Last Update: 04-17-2008 Installs: 1255
DB Changes Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

Modfication Unsupported: This modfication is now unsupported, due to lack of time to work on it. However, TCattitude has continued development and added many cool NEW features. You can see the updated version here: https://vborg.vbsupport.ru/showthrea...=Image+Resizer

Image resizer for vBulletin version 3.6 and 3.7.
version: 1.0.2

Please remember to click Mark as Installed if you use this modification. Support questions from members who have not marked this as installed will be considered low priority.

What is this?
This resizes images in post that are bigger than the set dimensions in your AdminCP options. It also adds an information bar (which is not displayed when the image isn't resized) giving information about the original dimensions and filesize. Filesize is only supported on Internet Explorer, other browsers don't reveal this information through javascript.

Configuration
Please read the included readme.html

A big thanks to Spleasure, who actually created this product. He has given me the rights to the code, so I will be keeping it going for future versions, fixing any bugs, and adding new features.

Thanks, and Enjoy.

Please report bugs, or feature requests into this thread.

Thank you.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
sodasusu

Comments
  #152  
Old 05-05-2008, 03:02 PM
danielc2384 danielc2384 is offline
 
Join Date: Jan 2008
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Only probably (minor) is that when a page loads up the image automatically opens big for a split second. I would prefer if it was the smaller size when opened.

Other then that great mod!
Reply With Quote
  #153  
Old 05-05-2008, 07:46 PM
Andy92 Andy92 is offline
 
Join Date: Jan 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same, if this could be fixed then it would be awesome!
Reply With Quote
  #154  
Old 05-06-2008, 06:17 AM
Stubbed's Avatar
Stubbed Stubbed is offline
 
Join Date: Dec 2007
Location: New Zealand
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by danielc2384 View Post
Only probably (minor) is that when a page loads up the image automatically opens big for a split second. I would prefer if it was the smaller size when opened.

Other then that great mod!
That's because the script is executed when the page is completely loaded, there's not really any way around this, as there are other effects on page loading/image viewing time.

There are a couple of bugs:

In readme.html

Quote:
Please report all bugs, or feature requests at: https://vborg.vbsupport.ru/showthread.php?t=176531
That actually links to /www.paulsonny.com

When selecting the option to reset the users settings, I get this error:

Quote:
Fatal error: Call to a member function query_write() on a non-object in /var/www/nzhondas.com/forum/includes/adminfunctions_options.php(473) : eval()'d code on line 11
Also, the settings in the user control panel appear to be broken. *edit* - I just noticed you are aware of that issue..

All of this is on 3.7 Gold.
Reply With Quote
  #155  
Old 05-06-2008, 04:24 PM
Andy92 Andy92 is offline
 
Join Date: Jan 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What you need to update is this...

1) Make the image auto resize before they have loaded. Because page breaks then fixes once the image has loaded.

2) Instead of when the person clicks the bar at the top of the image and then it opens up a new tab or window with the image url in, why not make it open with a lightbox? Like the click it, the page fades out and it appeares in that javascript lightbox?
Reply With Quote
  #156  
Old 05-06-2008, 06:15 PM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stubbed View Post
That's because the script is executed when the page is completely loaded, there's not really any way around this, as there are other effects on page loading/image viewing time.

There are a couple of bugs:

In readme.html



That actually links to /www.paulsonny.com

When selecting the option to reset the users settings, I get this error:



Also, the settings in the user control panel appear to be broken. *edit* - I just noticed you are aware of that issue..

All of this is on 3.7 Gold.
same issue
Reply With Quote
  #157  
Old 05-06-2008, 09:10 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, that error is known. I will try get a fix provided asap.
Reply With Quote
  #158  
Old 05-07-2008, 02:29 AM
Stubbed's Avatar
Stubbed Stubbed is offline
 
Join Date: Dec 2007
Location: New Zealand
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andy92 View Post
1) Make the image auto resize before they have loaded. Because page breaks then fixes once the image has loaded.
I don't see how you would do this, the hack is javascript based and is only going to know the full size of the image once it is completely loaded. You could in theory make a complete ground up hack using php to check the file dimensions first, and that would create much more traffic/load.

To me, the temporary breakage in theme is acceptable, if this was something that the coder would want to undertake it would have to be optional.

Quote:
Originally Posted by Andy92 View Post
2) Instead of when the person clicks the bar at the top of the image and then it opens up a new tab or window with the image url in, why not make it open with a lightbox? Like the click it, the page fades out and it appeares in that javascript lightbox?
Again, all these are great feature ideas for some people, but shouldn't be made the default/one and only option. A lot of my users don't use Lightbox because it's to slow.
Reply With Quote
  #159  
Old 05-07-2008, 08:01 AM
XiZa XiZa is offline
 
Join Date: Aug 2006
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

couldn't you use max-width (css) and ie hack to make sure it doesn't display the big image for a split second ?
Reply With Quote
  #160  
Old 05-07-2008, 08:02 AM
XiZa XiZa is offline
 
Join Date: Aug 2006
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

#posts img {
max-width:400px;
width: expression(this.width > 400 ? 400: true);
}
Reply With Quote
  #161  
Old 05-09-2008, 01:29 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this a stable mod or is it in Beta ?
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 09:38 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.18687 seconds
  • Memory Usage 2,303KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete