Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #212  
Old 06-04-2008, 09:13 AM
SessizDunya SessizDunya is offline
 
Join Date: May 2008
Location: Turkiye
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You just saved my life , thanks a lot, great hack...
Installed & Working well on VB 3.7.0
Reply With Quote
  #213  
Old 06-04-2008, 04:57 PM
Joe1967 Joe1967 is offline
 
Join Date: May 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work when IMG tags are used?
Reply With Quote
  #214  
Old 06-04-2008, 05:02 PM
R1lover's Avatar
R1lover R1lover is offline
 
Join Date: Apr 2006
Location: Northern Ca
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Joe1967 View Post
Does this work when IMG tags are used?
Thats the only thing it works on...
Reply With Quote
  #215  
Old 06-05-2008, 12:47 AM
rknight111 rknight111 is offline
 
Join Date: Oct 2006
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since I upgraded to 3.7.1 All my Images are coming up huge and right off the screen, I cannot get this running on my forum or on my test forum with no mods. Am I missing some settings?
I have it set to 600 wide, I even changed it to 300 and no changes.

RON
Reply With Quote
  #216  
Old 06-05-2008, 08:03 AM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

rknight111, I suggest you uninstall then re-install. If the same problem occurs, you can send me an admin login to your board and ftp login details via Private Message and I shall take a look when time permits.
Reply With Quote
  #217  
Old 06-06-2008, 04:04 PM
TCattitude's Avatar
TCattitude TCattitude is offline
 
Join Date: Oct 2004
Location: Chile
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jase2 View Post
Unfortunately, I don't have the vBblog addon to test it with that. Someone else is free too do it, however.

I can't understand why people would want it for albums, since you can already set the preferred dimensions

If there are more, please let me know.
An easy way to make this work for blogs is...

Create a new plugin in this hook:
blog_complete

Put this for plugin content:
PHP Code:
$content ncode_imageresizer_replace($content); 
Done

I think it can be applied to the same hook bbcode_parse_complete that this product uses, but i'm too lazy to do that now. Is a thing about conditional for this_script == 'blog', and add a similar reference like $text but for $content.

Jase2, feel free to add this to the product.

Greetings!
Reply With Quote
  #218  
Old 06-06-2008, 04:43 PM
TCattitude's Avatar
TCattitude TCattitude is offline
 
Join Date: Oct 2004
Location: Chile
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another quick fix, now for albums.

Create a new plugin in this hook:
parse_templates

Put this for plugin content:
PHP Code:
if (THIS_SCRIPT == 'album') {
$vbulletin->templatecache['album_pictureview'] = str_replace('\" alt=\"''\" onload=\"NcodeImageResizer.createOn(this);\" alt=\"'$vbulletin->templatecache['album_pictureview']);
}

if (
THIS_SCRIPT == 'group') {
$vbulletin->templatecache['socialgroups_picture'] = str_replace('\" alt=\"''\" onload=\"NcodeImageResizer.createOn(this);\" alt=\"'$vbulletin->templatecache['socialgroups_picture']);

In that way, the img tag in album pictures is successful modified and the ncode part is added.
I think, again, that this could be added in some part of the original plugins to alter based in a this_script conditional. But, again, i'm too lazy to keep testing.

And, again, feel free to use this ideas-code, Jase2.

Benefits: you now can setup a high limit for width and height to album pictures, and not deform your website layout when show those big images. And allow members to click to see the full image, and keep them... wallpapers, for example.

Greetings
Reply With Quote
  #219  
Old 06-06-2008, 06:20 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, that's what I had in mind for the blog. tmiland got it working for the blog, however, he simply double the code -- and I don't like doing it like that hehe.

Any more suggestions from people? Oh, that reminds me, I need to clean up the UserCP options -- my life is just so busy at the moment, with leaving school ect. If I end up going in the Royal Navy, then I may not be able to support this anymore. However, I will pop in now and again when time permits to say "HI".
Reply With Quote
  #220  
Old 06-07-2008, 02:33 AM
D.Baker D.Baker is offline
 
Join Date: May 2008
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Jase,
Congrats on finishing school, that's a big deal. What are you looking to do in the Navy?

My only request is the Lightbox one I have mentioned (resized images that enlarge using Lightbox). It never occurred to me that people might use IMG tag albums, but I can see TCatitiudes suggestions being useful.

Thanks for the hard work!
Reply With Quote
  #221  
Old 06-07-2008, 07:07 AM
montdyatna.com's Avatar
montdyatna.com montdyatna.com is offline
 
Join Date: Mar 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

I want to thank the product coder cause it's the best image resizer i got
all previous resizer didn't work so good ans sometimes coudln't resize some pics plus it make the threads exploring more slow

this product make exploring faster and also resize 100% of pics successfuly

Thanks ALLAH (god) that i got it and thanks for the coder

the product marek as installed also i give the it excellent :up:
Reply With Quote
Reply


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 01:45 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.04698 seconds
  • Memory Usage 2,323KB
  • 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
  • (2)bbcode_php
  • (2)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