vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - Image Resizer (https://vborg.vbsupport.ru/showthread.php?t=176531)

SessizDunya 06-04-2008 09:13 AM

You just saved my life , thanks a lot, great hack...
Installed & Working well on VB 3.7.0

Joe1967 06-04-2008 04:57 PM

Does this work when IMG tags are used?

R1lover 06-04-2008 05:02 PM

Quote:

Originally Posted by Joe1967 (Post 1540771)
Does this work when IMG tags are used?

Thats the only thing it works on... :)

rknight111 06-05-2008 12:47 AM

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

Jase2 06-05-2008 08:03 AM

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.

TCattitude 06-06-2008 04:04 PM

Quote:

Originally Posted by Jase2 (Post 1493924)
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!

TCattitude 06-06-2008 04:43 PM

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 ;)

Jase2 06-06-2008 06:20 PM

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". :)

D.Baker 06-07-2008 02:33 AM

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!

montdyatna.com 06-07-2008 07:07 AM

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:


All times are GMT. The time now is 09:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01314 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete