![]() |
Resize IMG tag with Highslide!
This is small hack and easy to resize large Images in [IMG] tag with using Highslide.
vBulletin Version: 3.6.x, 3.7.x and 3.8.x File Edits: 0 New Files: Yes Template Edits: 0 New Templates: 2 New Phrases: 11 Uses Hooks: 7 Setting: 5 Uses Plugins: Yes Time to install: 1 minute max New Install: 1) Upload folder highslide in your root folder. 2) Import file XMl via Manage Products ACP >> Plugins & Products >> Manage Products >> [Add/Import Product] Upgrade from v 2.x.x: 1) Upload folder highslide in your root folder. 2) Import XML file via Manage Products ACP >> Plugins & Products >> Manage Products >> [Add/Import Product] Choose YES for Allow Overwrite Upgrade from v 1.3: 1) Upload folder highslide in your root folder. 2) Reupload file includes/class_bbcode.php. 3) Import XML file via Manage Products ACP >> Plugins & Products >> Manage Products >> [Add/Import Product] Choose YES for Allow Overwrite 4) Revert template postbit_attachmentthumbnail. Options: ACP >> vBulletin Options >> HS IMG Tag Resize Options History: v 1.0 (04-03-2008) - First Released. v 2.0 (30.08.2008) - Update mod
Thank you for using this mod! That?s all Have fun! ;) |
thanks
very nice ^_^ |
Very nice mod.
Can you make it "Multilanguage" (i can translate it into Spanish)? Thanks Regards! |
Seems to work as intended.
However, when editing the code gets some added stuff. It may be something you need to look at. :) |
WooooooWwWwW
wonderful work :) thanx ry215, very nice but :D signature pictures is highslide appearing :) |
That's what I've been looking for. Because I'm a great fan of Highslide I decided to install your great hack and Nominated for MOTM! :up: Thank you very much, Sir ;) -Mike
BTW: Nicky Nguyễn... Whoooaaaa... what a damn nice looking young lady :up: Nominated for GOTM :D |
Thanks all :)
|
nominated to MOTM also. :)
|
Thank you
|
very nice, i try that later. thanks in advance
|
Only to confirm ... works in vb 3.6.8?
I already nominated too :D All the best Joao barroca aka beduino Quote:
Quote:
|
Most hacks which use Lightbox and Highslide tend to break the inline editing on threads. Does this?
|
Quote:
?t?s work well in vbb 3.6.8. Have fun! |
Quote:
Thanks for your reply! :) |
This mod is friggen awesome good job!
|
Thanks! But 2 inquiries in base and
(2 queries for uncached templates) Uncached templates: hs_resize (1) Uncached templates: hs_resize_bg (1) |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
wow....
Good Job anh ban. Minh dang luc tim cai nay. |
ry215,
Uncached templates: hs_resize (1) Uncached templates: hs_resize_bg (1) fixed. But has appeared Uncached templates: hs_show (1) :confused: |
Quote:
|
everytime i'm try to install highslide mod, nothing happening but just have 'loading' on the pictures...how can i fixed this problem? i;m heard that highslide can't work with vbseo..please can someone give me a solution to this matter?
|
Quote:
/* 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 */ ^^^^ do i have to edit both numbers for my width ? |
Quote:
|
Quote:
|
ok thanks..i'm try to install back..really hope its working..
|
Is it supposed to apply the highslide to really small pictures too?
Even my tiniest pictures are effected by it, but not resized. It's kinda annoying if you can't have it ignore small pictures. Maybe I'm doing something wrong. |
i get the following error
XML Error: XML_WAR_UNKNOWN_VERSION at Line 229 in the 229 line the only think exist is "</product>" |
fixed it has an error in the first line of the product
|
Quote:
/* 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 */ ^^^^ EDIT THIS NUMBERS ^^^^ That will fix your problem |
I discovered one think.
If an image has a link, doesnt not open the link, its opening the image with this effect :( is there any solution? |
Nominated for MOTM! Thank you very much
|
Quote:
|
This hack is great but how do I exclude signatures from using highslide. I edited the image sizes and it still does not exclude signatures.
What sizes have to be put for it to work correctly? |
Quote:
https://vborg.vbsupport.ru/showpost....5&postcount=32 |
once again for everybody:
/* 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 */ ---------------------------------------------------------------------------------------------------- (this.width > 340 ? 180 : true); this width 340 ? means max size before the hack make it small to this size ? 180 u have to edit both numbers !!! style="max-width: 430px; here u have to add ur max size again !!! i hope my english is not that bad ;-) |
MOVE don't worked my forum
|
Quote:
If you were doing it for your forum, what would you enter in those fields? |
All times are GMT. The time now is 09:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|