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)
-   -   Show Thread Enhancements - Resize IMG tag with Highslide! (https://vborg.vbsupport.ru/showthread.php?t=172024)

Magnumutz 04-21-2008 01:56 PM

Ok, take a look here: http://www.arcademania.ro/showthread.php?t=149
It gives that javascript thing to all the sigs and even a smilie in someone's signature.

ry215 04-21-2008 02:07 PM

Quote:

Originally Posted by Magnumutz (Post 1495807)
Ok, take a look here: http://www.arcademania.ro/showthread.php?t=149
It gives that javascript thing to all the sigs and even a smilie in someone's signature.

This Mod for IMG tag: [IMG]url[/IMG]

rapidphim 04-21-2008 02:39 PM

Yes, I was first thought the mod was not working when I attached an image. Then, I later realized it was designed for img bbcode tag.

Take a look here for yourself http://www.viet-tube.com/showthread.php?p=7#post7

Magnumutz 04-21-2008 03:43 PM

Quote:

Originally Posted by ry215 (Post 1495818)
This Mod for IMG tag: [IMG]url[/IMG]

Yes dude, that's just an example link, look at the signature pics of the posters... even tiny pictures get "resized".
That shouldn't be happening, right?

ry215 04-21-2008 03:55 PM

@Magnumutz: if you get picture in the [IMG] tag , then this Mod works. Thanks!

MissKalunji 04-21-2008 03:56 PM

what his saying that he doesn't want Small pictures to use high slide

nirvana43 04-21-2008 04:42 PM

voted for mod of the month!!! wow man honestly telling this is some real cracking stuff i came across!!!! thanks a million bro! :)

Magnumutz 04-21-2008 05:39 PM

Quote:

Originally Posted by MissKalunji (Post 1495897)
what his saying that he doesn't want Small pictures to use high slide

Yeah, that's exactly what i'm trying to say.
Can this be modified or set to the limit i want?

MissKalunji 04-21-2008 06:56 PM

Quote:

Originally Posted by Magnumutz (Post 1495989)
Yeah, that's exactly what i'm trying to say.
Can this be modified or set to the limit i want?

i suppose a simple code would fix that but i wouldn't know :-/ sorry

rapidphim 04-21-2008 07:07 PM

He already provided you the code and you can manipulate the size at your liking.
Code:

/* Start Image RESIZE */ 

 $navigator_user_agent = ( isset( $_SERVER['HTTP_USER_AGENT'] ) ) ? strtolower( $_SERVER['HTTP_USER_AGENT'] ) : ''; 
if (stristr($navigator_user_agent, "msie")) { 
    return '<a href="' .  $link . '" class="highslide" onclick="return hs.expand(this)" ><img src="' .  $link . '" border="0" alt="" style="width: expression(this.width > 340 ? 180 : true);" /></a>'; 
} else { 
    return '<a href="' .  $link . '" class="highslide" onclick="return hs.expand(this)" ><img src="' .  $link . '" border="0" alt="" style="max-width: 430px;" /></a>'; 
}   
/* End Image RESIZE */



All times are GMT. The time now is 10:44 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.01387 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_code_printable
  • (4)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