PDA

View Full Version : Show Thread Enhancements - Resize IMG tag with Highslide!


Pages : [1] 2

ry215
03-03-2008, 10:00 PM
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
Don?t edit file includes/class_bbcode.php
Options for maxwidth and maxheight to resizev 2.0.1 (05.09.2008) - Update mod
Resize in Signaturev 2.0.2 (04.10.2008) - Update mod
Add Resize IMG TAG in Blog Entryv 2.0.3 (28.10.2008) - Update mod
Add option for Signature (Enable/Disable) :Dv 2.0.4 (05.11.2008) - Fixed
Don't Resize on Quick Edit
v 2.0.5 (13.12.2008) - Fixed
Option for Signature don't workv 2.1.0 (17.12.2008) - update

Update with new Highslide ver 4.0.1
Work fine with vBulletin 3.8.x (tested)v 2.1.0 (20.12.2008) - fixed

Just fixed some bugs with IE!



Thank you for using this mod!

That?s all
Have fun! ;)

7lanet
03-04-2008, 12:47 AM
thanks

very nice

^_^

mauro1947
03-04-2008, 01:47 AM
Very nice mod.
Can you make it "Multilanguage" (i can translate it into Spanish)?
Thanks
Regards!

Brew
03-04-2008, 03:40 AM
Seems to work as intended.

However, when editing the code gets some added stuff. It may be something you need to look at.

:)

dj_f16
03-04-2008, 06:04 AM
WooooooWwWwW
wonderful work :) thanx ry215, very nice but :D signature pictures is highslide appearing :)

Mike-D
03-04-2008, 08:25 AM
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

ry215
03-04-2008, 08:34 AM
Thanks all :)

RvG2
03-04-2008, 08:36 AM
nominated to MOTM also. :)

Opelx
03-04-2008, 09:10 AM
Thank you

Playa82
03-04-2008, 09:12 AM
very nice, i try that later. thanks in advance

barroca
03-04-2008, 01:07 PM
Only to confirm ... works in vb 3.6.8?

I already nominated too :D
All the best
Joao barroca
aka beduino


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

nominated to MOTM also. :)

TWTCommish
03-04-2008, 01:14 PM
Most hacks which use Lightbox and Highslide tend to break the inline editing on threads. Does this?

ry215
03-04-2008, 01:16 PM
Only to confirm ... works in vb 3.6.8?

I already nominated too :D
All the best
Joao barroca
aka beduino

Thanks! :)

?t?s work well in vbb 3.6.8.

Have fun!

ry215
03-04-2008, 01:21 PM
Most hacks which use Lightbox and Highslide tend to break the inline editing on threads. Does this?

I don?t know, but i using this mod for my Forum and without problem, hope you like.

Thanks for your reply! :)

Evolution06
03-04-2008, 04:05 PM
This mod is friggen awesome good job!

Martell
03-04-2008, 04:22 PM
Thanks! But 2 inquiries in base and
(2 queries for uncached templates)
Uncached templates: hs_resize (1)
Uncached templates: hs_resize_bg (1)

Mike-D
03-04-2008, 04:29 PM
Only to confirm ... works in vb 3.6.8?Yep, without any problems, Sir ;)

Playa82
03-04-2008, 05:40 PM
WooooooWwWwW
wonderful work :) thanx ry215, very nice but :D signature pictures is highslide appearing :)

yep, is there a option to turn it off at your sigs ?

RvG2
03-04-2008, 06:01 PM
Thanks! But 2 inquiries in base and
(2 queries for uncached templates)
Uncached templates: hs_resize (1)
Uncached templates: hs_resize_bg (1)

kindly find a way to fix this... :)

ry215
03-04-2008, 06:23 PM
Thanks! But 2 inquiries in base and
(2 queries for uncached templates)
Uncached templates: hs_resize (1)
Uncached templates: hs_resize_bg (1)

Done, i have fixed. Have fun! :D

vietfancy
03-04-2008, 07:07 PM
wow....

Good Job anh ban. Minh dang luc tim cai nay.

Martell
03-04-2008, 07:31 PM
ry215,
Uncached templates: hs_resize (1)
Uncached templates: hs_resize_bg (1) fixed.

But has appeared Uncached templates: hs_show (1) :confused:

ry215
03-04-2008, 07:55 PM
ry215,
Uncached templates: hs_resize (1)
Uncached templates: hs_resize_bg (1) fixed.

But has appeared Uncached templates: hs_show (1) :confused:

No Sir, that?s Script and Style added to Temp headinclude for Show HS. Sorry for my Eng.

ayam
03-05-2008, 04:31 AM
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?

Playa82
03-05-2008, 04:31 AM
yep, is there a option to turn it off at your sigs ?

^^^^ ???

/* 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 ?

ry215
03-05-2008, 05:44 AM
^^^^ ???

^^^^ do i have to edit both numbers for my width ?

Yeah! if you want, no problem ^_^

ry215
03-05-2008, 05:48 AM
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?

I using highslide for my Forum without problem. This mod work with vbseo, my Forum using vbseo. Look at Live Demo :)

ayam
03-05-2008, 06:15 AM
ok thanks..i'm try to install back..really hope its working..

furst
03-05-2008, 07:14 AM
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.

Aligator21
03-05-2008, 08:22 AM
i get the following error

XML Error: XML_WAR_UNKNOWN_VERSION at Line 229

in the 229 line the only think exist is "</product>"

Aligator21
03-05-2008, 08:27 AM
fixed it has an error in the first line of the product

Playa82
03-05-2008, 08:46 AM
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.


/* 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

Aligator21
03-05-2008, 09:11 AM
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?

Alex_Volovenko
03-05-2008, 04:41 PM
Nominated for MOTM! Thank you very much

ry215
03-05-2008, 08:40 PM
Nominated for MOTM! Thank you very much

Thank a lot! Hope you like this Mod.;)

CrashPush
03-06-2008, 01:16 AM
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?

Playa82
03-06-2008, 06:55 AM
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?

Try this:

https://vborg.vbsupport.ru/showpost.php?p=1457375&postcount=32

Playa82
03-06-2008, 07:03 AM
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 ;-)

anestetic
03-06-2008, 11:30 AM
MOVE don't worked my forum

CrashPush
03-06-2008, 11:36 AM
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 ;-)

Your English is a little hard to understand. You're not explaining what exactly has to be entered in the red. I entered all kinds of sizes and it doesn't work. Give an example of what number we have to input.

If you were doing it for your forum, what would you enter in those fields?

Playa82
03-06-2008, 11:49 AM
Your English is a little hard to understand. You're not explaining what exactly has to be entered in the red. I entered all kinds of sizes and it doesn't work. Give an example of what number we have to input.

If you were doing it for your forum, what would you enter in those fields?

This is what i got at my Site:

/* 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 > 700 ? 600 : true);" /></a>';
} else {
return '<a href="' . $link . '" class="highslide" onclick="return hs.expand(this)" ><img src="' . $link . '" border="0" alt="" style="max-width: 600px;" /></a>';
}
/* End Image RESIZE */


vvvvv Preview here vvvv
http://crackmuzik-gfx-elite.de/site-news-updates/2450/resize-img-tag-highslide-added.html

furst
03-06-2008, 10:48 PM
This is what i got at my Site:

/* 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 > 700 ? 600 : true);" /></a>';
} else {
return '<a href="' . $link . '" class="highslide" onclick="return hs.expand(this)" ><img src="' . $link . '" border="0" alt="" style="max-width: 600px;" /></a>';
}
/* End Image RESIZE */


vvvvv Preview here vvvv
http://crackmuzik-gfx-elite.de/site-news-updates/2450/resize-img-tag-highslide-added.html
That's the same result that I got.

I don't like how the highslide effects even very small pictures (like the ones in the sigs on your site). I want it to leave small pictures alone.

I'm using Firefox, BTW.

beduino
03-07-2008, 01:29 AM
a little thing ... to fix a problem with vbadvanced I change hs_show template to

</script>
<script language='javascript1.2' src='http://yourultoforumroot/highslide/highslide.js'></script>

and works fine !
tks
beduino

Playa82
03-07-2008, 04:17 AM
That's the same result that I got.

I don't like how the highslide effects even very small pictures (like the ones in the sigs on your site). I want it to leave small pictures alone.

I'm using Firefox, BTW.


oh, i dunno how to do that. but maybe the creator of this hack...

sensimilla
03-07-2008, 11:41 AM
Hmmm.. your demo site is down.

Playa82
03-07-2008, 05:06 PM
Hmmm.. your demo site is down.

check my site, i installed it

SAWASCI
03-08-2008, 03:15 AM
Warning: Cannot modify header information - headers already sent by (output started at /includes/class_bbcode.php:2434) in /includes/functions.php on line 2858

i m using vbadvanced and vbseo and a few pruduct .this is the error.i did not understand anything so i ll uninstalled.but good work.

codershark
03-08-2008, 08:58 AM
when I go over a picture and klick on it only load and not make a highslide :(

Playa82
03-08-2008, 10:35 AM
hey, that hack doesnt work with thumbnail uploads like this:

https://vborg.vbsupport.ru/ (http://imageshack.us)

is there an udpate to correct this ?

mastertek2000
03-08-2008, 11:55 AM
it does not work for me 3.7.6 when i click on it pic pops up like old 3.6 did any help pls

codershark
03-08-2008, 01:06 PM
@mastertek2000: This Hack is only for 3.7 Beta X and not for 3.6.x

mastertek2000
03-08-2008, 02:43 PM
@mastertek2000: This Hack is only for 3.7 Beta X and not for 3.6.x

if you read my post this is on 3.7 beta 6

anestetic
03-08-2008, 04:41 PM
meta name="description" content="340 ? 200 : true); /> bu tarique ile uyurken 340 ? 200 : true); /> bos ders 340 ? 200 : true); /> mherfish ve feysa )))" />



what ? description this php code ? 340 ? 200 : true);

Goofy12
03-10-2008, 06:00 AM
how can I use this on attachment images inline? with [ATTACH] [/ ATTACH]

samet54
03-10-2008, 06:57 AM
XML Error: XML_WAR_UNKNOWN_VERSION Satır 230

velias
03-10-2008, 11:28 AM
Don´t work whit vbAnonymizer!!

gamerscms
03-12-2008, 01:25 AM
Great, installed and clicked MOTM

M-Tuning
03-12-2008, 04:48 PM
Nice, but got a problem:

How to exclude small pictures and signature pics?

I think it could be done with:

http://us.php.net/manual/nl/function.getimagesize.php

burntire
03-13-2008, 02:29 AM
This hack has a bunch of potential. Nice Job.

Here are some things that would be nice.

1. When an image that is large is down sized it would be nice to have a boarder letting the user know that they can click the image to view the full size

2. Image quality is suffering when they are downsized.

3. Find a way to exclude it from signature images. Maybe code to have it ignore images smaller than a certain size.

4. Stop the image from moving when hover over.

I use 800x600 for images. Anything larger I want resized. Anything smaller I don't.

softvnzla
03-13-2008, 03:40 AM
As turning off the dark background to make clik?

DDolphins
03-14-2008, 01:44 AM
Well I ran into an interesting glitch. Running this on 3.7 Beta 6 (test forum though so not open to public). In Firefox everything seems to work ok.

In IE it seems to shrink the image even further which is ok but when you click on it, rather then expand it seems to shrink further till you cant see it anymore. It doesn't expand like it does in Firefox just disappears basically. Is this a limit of the mod or is it not compatible with IE?

burntire
03-14-2008, 02:19 AM
Everything worked fine in IE7 & FF for me, but the mod needs more work before I will use it.

Netaudio
03-14-2008, 09:55 AM
Question:
Is Highslide also works with images not on the same server?
or
Can i with externally mounted pictures with the addon work?

*sorry* for my bad english too

burntire
03-14-2008, 05:04 PM
Question:
Is Highslide also works with images not on the same server?
or
Can i with externally mounted pictures with the addon work?


*sorry* for my bad english too

Works on externally linked images.

Netaudio
03-14-2008, 09:45 PM
hmmm.... dosn´t work for me with external images...

burntire
03-14-2008, 10:09 PM
hmmm.... dosn?t work for me with external images...

Are they wrapped with IMG tags?

Netaudio
03-16-2008, 11:45 AM
Does not
example:

[U*R*L="http://farm3.static.flickr.com/2389/2188515422_7ea2ee84f5_o.jpg"][I*M*G]http://farm3.static.flickr.com/2389/2188515422_7ea2ee84f5_o.jpg[/I*M*G][/U*R*L]

ry215
03-16-2008, 01:40 PM
Does not
example:

[U*R*L="http://farm3.static.flickr.com/2389/2188515422_7ea2ee84f5_o.jpg"][I*M*G]http://farm3.static.flickr.com/2389/2188515422_7ea2ee84f5_o.jpg[/I*M*G][/U*R*L]

Work fine Sir! I have your image posted in my forum.
DEMO: http://www.giaitriviet.de/forum/thung-rac-thu-nghiem/1593-test-vbb-org.html

MissKalunji
03-16-2008, 08:37 PM
everything works fine

but when u use [attach] code it doesn't apply to that...How can i fix that?

MissKalunji
03-17-2008, 04:39 PM
I found it

in class_bbcode

$replace[] = "<a href=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&amp;d=$attachment[dateline]\" $addtarget><img src=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&amp;thumb=1&amp;d=$attachment[thumbnail_dateline]\" class=\"thumbnail\" border=\"0\" alt=\""

Search for

and replace it with :

$replace[] = "<a href=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&amp;d=$attachment[dateline]\" $addtarget class=\"highslide\" onclick=\"return hs.expand(this)\"><img src=\"{$this->registry->options['bburl']}/attachment.php?{$this->registry->session->vars['sessionurl']}attachmentid=\\1&amp;thumb=1&amp;d=$attachment[thumbnail_dateline]\" class=\"thumbnail\" border=\"0\" alt=\""
.

I've put in bold all i added to make it work.

Thanks!

dj_f16
03-18-2008, 03:18 PM
the vBulletin 37.0 Beta 6 not to be.....

XML loading error :S "XML_WAR_UNKNOWN_VERSION Satır 230"

what is this?

but the DEMO web site is becoming :S

maxicep
03-19-2008, 07:17 AM
Does not
example:

[U*R*L="http://farm3.static.flickr.com/2389/2188515422_7ea2ee84f5_o.jpg"][I*M*G]http://farm3.static.flickr.com/2389/2188515422_7ea2ee84f5_o.jpg[/I*M*G][/U*R*L]

Yes

Modification is perfect but doesn't work on images which added with a link.

Just try ,
[ url =http://www.vbulletin.org][ img ]http://image_adress[ /img ] [ /url ]

Image doesnt follow the link, image still show with highslide .



So, i must to remove it temporarly now, Please fix that problem.

Thanks

ry215
03-19-2008, 08:54 AM
Yes

Modification is perfect but doesn't work on images which added with a link.

Just try ,
[ url =http://www.vbulletin.org][ img ]http://image_adress[ /img ] [ /url ]

Image doesnt follow the link, image still show with highslide .



So, i must to remove it temporarly now, Please fix that problem.

Thanks

Please read post #68 :)
https://vborg.vbsupport.ru/showpost.php?p=1466128&postcount=68

thanks!

maxicep
03-19-2008, 09:15 AM
Doesn't work for me.

I tried many times,

if image has a Link, link doesnt work , image is doing highslide

Are there any code fix or what ?

MissKalunji
03-19-2008, 04:29 PM
Doesn't work for me.

I tried many times,

if image has a Link, link doesnt work , image is doing highslide


Are there any code fix or what ?

there could be

You didn't add the proper fix to the php bbcode file

maxicep
03-19-2008, 06:38 PM
What do u mean ?

I edited the class_bbcode.php file

to

/* 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 */

What's wrong ? or not proper ?

MissKalunji
03-19-2008, 06:47 PM
you're on 3.7?

Netaudio
03-19-2008, 07:06 PM
hmmm :erm:
Unfortunately, it does not

1 (http://www.techno-house-electro.de/sachsen/10574-28-03-2008-toktok-live-superkronik.html) 2 (http://www.techno-house-electro.de/sachsen/10558-04-04-2008-chris-liebing-triebwerk-dresden.html) 3 (http://www.techno-house-electro.de/sachsen/10557-22-03-2008-eiertanz-triebwerk-dresden.html)


it work.. when the picture on same server as forum

<< test (http://www.techno-house-electro.de/festival-open-air-event-s-2008/8573-18-07-2008-20-07-2008-melt-festival-ferropolis.html) >>>

maxicep
03-19-2008, 07:16 PM
Pff

I know that already .

I talking about that, if u add a link to any image, then image's link won't work when u click.

Just try !

[ url =http://www.vbulletin.org][ img ]http://image_adress[ /img ] [ /url ]

Image doesnt follow the link, image still show with highslide .

Now, show me, how u will click and go url at image ?

When u click, u will see highslide effect on image, u will not follow the link of image.

also;
i m running at vbb 3.7 b6

MissKalunji
03-19-2008, 09:00 PM
oh THAT i didn't understand. My bad. well that's the way it supposed to be :-/ you want to resize the image to be able to make it bigger so i doubt linking it will work

maxicep
03-20-2008, 06:50 AM
I want just show only images in highslide.

Not linked images.

But this mod has problem with linked images.

jack bro
03-20-2008, 09:52 AM
Will the modification be lost if you upgrade vbulletin?

Because when you edit the file in the includes folder when you upgrade vbulletin wouldn't you have to overwrite that?

Thanks,

Jack.

MissKalunji
03-20-2008, 12:42 PM
Will the modification be lost if you upgrade vbulletin?

Because when you edit the file in the includes folder when you upgrade vbulletin wouldn't you have to overwrite that?

Thanks,

Jack.

yes you over write and redo the php modification

ZeroHour
03-21-2008, 12:32 AM
I am getting a IE popup error on attached images.
The error says "Operation could not be completed" then it displays a IE7 "dianose a connection fault" error page.
When you click back the images work as they are supposed to but its a very annoying error.

Ideas?

Cheers

GoodKarmaKid
03-21-2008, 11:30 PM
Thanks for the nice mod.

I know you've tried to explain a few times, but I guess I still don't understand how to exclude small images. I have some images that are only 50x50 or smaller, but when you mouse over them you get the little maginfying glass with the +.

This would also be a great addion to members allbums, hovering over them would bring up the highlside effect.

thanks,
Jason

malag
03-22-2008, 10:51 PM
So nice! :)

Thanks!

ZeroHour
03-23-2008, 04:57 PM
I *may* be able to submit a code fix to help remove this issue.

Thanks for the nice mod.

I know you've tried to explain a few times, but I guess I still don't understand how to exclude small images. I have some images that are only 50x50 or smaller, but when you mouse over them you get the little maginfying glass with the +.

This would also be a great addion to members allbums, hovering over them would bring up the highlside effect.

thanks,
Jason

Fatsobob
03-23-2008, 05:31 PM
When I try to import the product after doing the php file modification, I get the following error message.
XML Error: XML_WAR_UNKNOWN_VERSION at Line 230

Any thoughts on what is going wrong?

BTW I am using 3.7.0 Beta 6 for now, but I am gonna upgrade once I get this working.

RvG2
03-23-2008, 06:20 PM
version still shows 1.2.0 (just upgraded from 1.2.0 so it should show now as 1.2.2) :)

rizelim
03-23-2008, 06:34 PM
thanks

very nice

beduino
03-25-2008, 10:06 PM
version still shows 1.2.0 (just upgraded from 1.2.0 so it should show now as 1.2.2) :)

Yes! I will post this.
works for me in vb 368 - but don't in rc1 :confused: 'loading .................' and don't load

=== in time ===
Your description talk 3 templates / 3 plugins
But I only see 2 templates and 2 plugins in my install

What I can do?

ry215
03-26-2008, 05:30 AM
Yes! I will post this.
works for me in vb 368 - but don't in rc1 :confused: 'loading .................' and don't load

=== in time ===
Your description talk 3 templates / 3 plugins
But I only see 2 templates and 2 plugins in my install

What I can do?

I use RC1 on my Forum, and that?s work good :eek:

===PS===
Oh, i forgot edit my Post. Thanks!

maxicep
03-26-2008, 06:50 AM
Yes it works on me too ( vbb 3.7 rc1 )

But i have still same problem.
When i click the linked images, i see highslide effect. Image doesnt fallow the Link.


Anyone have same problem ?

Can u try and tell me please?

Add a picture the your message then add a Link ( URL ) to which added image on the post. And Send.

And click the image now ?

Are there Highslide effect or are u going to URL on the image ?

Netaudio
03-27-2008, 06:13 PM
hmmm :erm:
Unfortunately, it does not

1 (http://www.techno-house-electro.de/sachsen/10574-28-03-2008-toktok-live-superkronik.html) 2 (http://www.techno-house-electro.de/sachsen/10558-04-04-2008-chris-liebing-triebwerk-dresden.html) 3 (http://www.techno-house-electro.de/sachsen/10557-22-03-2008-eiertanz-triebwerk-dresden.html)


it work.. when the picture on same server as forum

<< test (http://www.techno-house-electro.de/festival-open-air-event-s-2008/8573-18-07-2008-20-07-2008-melt-festival-ferropolis.html) >>>

With vBSEO inaktive = works great !

How can Help me, please!

ZiG
03-27-2008, 06:53 PM
if you have vbseo disable rel=nofollow

Netaudio
03-27-2008, 07:03 PM
Internal rel="nofollow"s

Add rel="nofollow" to ALL Sorting Links No

Add rel="nofollow" to ALL Dynamic Pages No

Add rel="nofollow" to Links pointing TO Member Profiles FROM Postbit No

Add rel="nofollow" to Links pointing TO Member Profiles FROM Forumhome No

External rel="nofollow"s

Add rel="nofollow" to ALL External URLs No

no go

maxicep
03-27-2008, 07:31 PM
So, it doesn't work exactly at this time

( u can see my prev. post on this page , problem on linked images )

vb 3.7 rc1 and vbseo 3.1

mastertek2000
03-27-2008, 07:42 PM
thanks great stuff marked installed:up:

extremesanity
03-28-2008, 03:59 AM
This mod is awesome!

How can I speed it up though? On my computer its not as snappy as it is on the highslide site.

Tom_S
03-28-2008, 11:56 PM
This mod js file is causing loads of errors with IE

MissKalunji
03-29-2008, 12:12 AM
uhm no? it has to be you...I have it runing on 3.7 tested on IE Firefox and Safari and nothing like that wrong it could be something else like you forgot to close a statement etc

Tom_S
03-29-2008, 02:30 AM
ummm. ..like no..are we talking in valley high talk? Use IE and look bottom left of your browser since you have script debugging turned off as most do. I fixed mine though. Nothing to do with me. It was the highslide.js file. :p

extremesanity
03-29-2008, 02:34 AM
ummm. ..like no..are we talking in valley high talk? Use IE and look bottom left of your browser since you have script debugging turned off as most do. I fixed mine though. Nothing to do with me. It was the highslide.js file. :pWant to share with the rest of the class?

Tom_S
03-29-2008, 03:00 AM
I used my js from my photoplog
EDIT:
Since it is free to redistribute here the js is.

MissKalunji
03-29-2008, 03:20 AM
ummm. ..like no..are we talking in valley high talk? Use IE and look bottom left of your browser since you have script debugging turned off as most do. I fixed mine though. Nothing to do with me. It was the highslide.js file. :p

Really? Look for yourself honey. Like i said it had to be you...

extremesanity
03-29-2008, 03:40 AM
How do I add this functionality to the user albums?

Tom_S
03-29-2008, 04:09 AM
Really? Look for yourself honey. Like i said it had to be you...

Okay honey. I'm not arguing with you. I gave an easy fix and if you don't want to use it don't. I suggest you turn debugging ON in your browser so you know what the heck you are talking about. Here is a graphic of YOUR website not mine.

Use the fix or don't.

Thanks

MissKalunji
03-29-2008, 04:39 AM
that's a bug with vbadvanced not the script itself get inside the forum and see if you got the problem.

did you even look at what i showed you? the actual script in action no script error

anyways

since i don't know what im talking about

p.s who ever has vbadvanced outside the forum folder try this

(if you are using vbadvanced) is going into the template : hs_show

editing this line : <script language='javascript1.2' src='./highslide/highslide.js'></script>

and change it to : ./your forum path/highslide/highslide.js

The error was saying that it couldn't find the highslide script

Tom_S
03-29-2008, 04:43 AM
I erased that nightmare of a rant. Sorry kiddo. Long day. You did good on the fix. My bad. I peeked over at your site again and it is by the way wonderful. Thanks for the tip on vbadvanced.

Tom_S
03-29-2008, 04:54 AM
Was that the old js or the one I uploaded?

MissKalunji
03-29-2008, 04:56 AM
no biggie thanks for letting me know i never noticed the error since i don't use IE

Was that the old js or the one I uploaded?

the old i didnt upload anything

Tom_S
03-29-2008, 05:08 AM
Cool. I don't use IE either. I use Firefox. My members pointed it out.

extremesanity
03-29-2008, 05:36 PM
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;
d=$attachment[dateline]" class="highslide" onclick="return hs.expand(this)" id="attachment$attachment[attachmentid]">

<img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;stc=1&amp;thumb=1&amp;d=$attachment[thumbnail_dateline]" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[attachmentid]">$vbphrase[image_larger_version_x_y_z]</phrase>" style="width: expression(this.width > 140 ? 80 : true);" />

</a>

&nbsp;<if condition="$show['br']"><br /><br /></if>


What elements of this do I need to add to my picture album templates in order to get the same functionality in user albums?

I already added class="highslide" onclick="return hs.expand(this)" but that is not enough to get it to work...

MissKalunji
03-30-2008, 12:25 AM
i think you would need the pluging to be activated in the album area (cause righ tnow the plugin is only in showthread)

extremesanity
03-30-2008, 05:21 AM
i think you would need the pluging to be activated in the album area (cause righ tnow the plugin is only in showthread)I tried to add the following to the xml file:


<plugin active="1" executionorder="5">
<title>HS IMG Tag Resize - HS 2</title>
<hookname>album_album_picturebit</hookname>
<phpcode><![CDATA[ // ThaiNgoc MyTu @ GiaiTriViet.De
$hs_resize_controlbar = '<!-- / start content table -->';
$vbulletin->templatecache['album_picturebit'] = str_replace($hs_resize_controlbar,$hs_resize_contr olbar.fetch_template('hs_resize_controlbar'),$vbul letin->templatecache['album_picturebit']);
]]></phpcode>
</plugin>


But it didn't work.

I am starting to have the sneaking suspicion that I have no clue what I am doing. :D

furst
03-31-2008, 02:14 AM
I don't think there's any point to use highslide in the albums. It's good for when there's more than one photo to browse through but the albums aren't arranged that way.

The albums need a simple resize mechanism like the one DeviantArt (http://www.deviantart.com) uses. Hopefully once we're into gold we'll see something like that be released.

macc
04-01-2008, 11:03 AM
hello!

have one problem in user albums pictures... depent which style is used...

http://belaplay.com/vb/libar/album.php?albumid=4&pictureid=5&styleid=8

have you some sugestion or help to use and get picture inside in style ...


have not this hack .. just ask for help

regards

macc

ten1nch
04-02-2008, 04:22 AM
I installed, and everything is working flawlessly in firefox. I can't say the same for ie, though.

My only problem is the text color is yellow, and nearly transparent. How can I change it to a darker color? Thanks.

Oh, and is there any way to make the original image launch in a new window when resize is clicked?

TRABZONLUKAPLAN
04-02-2008, 03:34 PM
Its just working with firefox well but it has some slowing problems with other browsers...

yathyo
04-03-2008, 10:33 PM
I installed the plugin but it doesnt add the script required in the header :(

drpeppper
04-04-2008, 12:52 AM
I like the idea of this..

But it not allowing a URL IMG is a real downside. On my forums tons of members have there image Signatures link to a thread of there current WiP.

This this installed all it does is bring any URL IMG up in highslide.

very mod, but fixing the signature should be top of the list.

I need to uninstall =(

samet54
04-04-2008, 05:45 AM
bunu yapabılen arkadaslara ıhtıyacım var ben yapamadım kodlar bozuluyor :(

Tom_S
04-04-2008, 07:07 AM
Huh?

tazzarkin
04-08-2008, 09:26 AM
After looking at the demo, I totally lost my train of thought and forgot what the Mod was for. I nominate Nicky for vbulletin GOTM as well.

As for the Mod, it does seem to have the limitation the guy spoke of two threads earlier. Will the signature be fixed in the future?

fsbmax
04-09-2008, 08:08 PM
awesome mod, but its turning my signatures into clickable images aswell!

nice demo with the asian, ill give her a 8/10 ;)

Playa82
04-09-2008, 08:13 PM
can somebody fix the errors ?

1. disable signatures as clickable images

2. When i click the linked images, i see highslide effect. Image doesnt fallow the Link

fsbmax
04-09-2008, 10:55 PM
dude im in the same spot, why does it call the signature bit??? is there a way to vote not to install??? lol

Ali's
04-10-2008, 04:05 PM
I have a proplem , !!

please check this post in my forum and watch how it looks when u clik on the image , !
http://www.shababjo.com/vb/showthread.php?p=112087#post112087
it dosent show the next and the previous ,

sorry for my bad english , I think if u see it u will know what the proplem is

alkahf
04-11-2008, 06:56 AM
when I go over a picture and klick on it only load and not make a highslide :(
The same problem with me!
I have vB 3.7.0 Rc2

Tom_S
04-11-2008, 07:33 AM
Uninstalled until issue is resolved

doraj
04-12-2008, 12:57 PM
Hello,

I installed this Mod and it works fine...congratulations is very nice!

Link (http://www.p2psin.net/forum/anime-manga-cartoni/25917-raccolta-wallpapers-e-sfondi-vari-cartoni-animati.html)

But I have a little problem, when I click on image I don't see, botton "previos, next and close"

How Can I resolve this issue?

Thanks :)

Ali's
04-12-2008, 06:27 PM
Hello,

I installed this Mod and it works fine...congratulations is very nice!

Link (http://www.p2psin.net/forum/anime-manga-cartoni/25917-raccolta-wallpapers-e-sfondi-vari-cartoni-animati.html)

But I have a little problem, when I click on image I don't see, botton "previos, next and close"

How Can I resolve this issue?

Thanks :)

the same proplem with me .

we need a solution !!

nightbloom
04-12-2008, 09:53 PM
I installed to check it out and it works lovely with images in the body of a post, but it also works on signatures and other small pictures that I do not wish it to work on.

It is too bad because it is such a good idea.

If it is further developed, I would be more than happy to try it again.

lolo?
04-16-2008, 03:21 AM
the resize image dosent work for me on firefox
and all sigs are clicable now :S
uninstall

Hendrizius
04-16-2008, 08:15 PM
Signatures need to be fixed. Thanks for this mod. And perhaps an option, to only include this features for x,x,x usergroups.

Uninstalled until signatures are fixed.

kevcj
04-17-2008, 02:12 AM
This is freaking AWESOME!!!! Thank you.

Voted - MOTM

rapidphim
04-17-2008, 03:00 AM
Hey kevcj, did you check out to see if it works on RC3?

Seb@
04-17-2008, 07:36 PM
not work property with this hack Link Anonymizer and Censor ,

maxicep
04-17-2008, 07:51 PM
can somebody fix the errors ?

1. disable signatures as clickable images

2. When i click the linked images, i see highslide effect. Image doesnt fallow the Link

same here

Bad modification . :mad:

karim004
04-17-2008, 08:35 PM
i stoped the signatures turnning into clickable images by creating a new bbc for images :
admincp---Custom BB Codes-- Add New BB Code
title = photo
tag = ph
Replacement = <img src="{param}">
Exemple = xyz
Button Image (Optional)= link to your image

upload this icon https://vborg.vbsupport.ru/external/2008/10/10.gif to your server and change the red text with the full link
after that force your users to dont use the [img] tag in thier signatures :
go to admincp ---------usergroups------Usergroup Manager -----Signature Permissions :
Allow Image BB Code = select NO
and they will use the new bbc [ph] to publish thier signatures and you enjoy this nice mod just for your images

install :up:

Hendrizius
04-17-2008, 09:07 PM
i stoped the signatures turnning into clickable images by creating a new bbc for images :
admincp---Custom BB Codes-- Add New BB Code

upload this icon https://vborg.vbsupport.ru/external/2008/10/10.gif to your server and change the red text with the full link
after that force your users to dont use the [img] tag in thier signatures :
go to admincp ---------usergroups------Usergroup Manager -----Signature Permissions :
Allow Image BB Code = select NO
and they will use the new bbc [ph] to publish thier signatures and you enjoy this nice mod just for your images

install :up:

Sounds good, but I have 200 000 members of which not all will change their Signature :P.

karim004
04-17-2008, 09:15 PM
Sounds good, but I have 200 000 members of which not all will change their Signature :P.
they will because just the link for thier images will show up when you change the sig permission : Allow Image BB Code to NO

kevcj
04-17-2008, 11:13 PM
Hey kevcj, did you check out to see if it works on RC3?

Works fine, see live demo - http://www.survivalistboards.com/showthread.php?t=11115

I installed RC3 - 3 days ago and this mod yesterday, everything is working fine.

========EDIT=========

Users with IE 7 are complaining that they get an error after the last image. The error is that it can not open the thread.

Here is a screen print of the image. My site is using VB 3.7 RC3.

https://vborg.vbsupport.ru/

utw-Mephisto
04-18-2008, 08:40 AM
XML Error: XML_WAR_UNKNOWN_VERSION Satır 230

the vBulletin 37.0 Beta 6 not to be.....

XML loading error :S "XML_WAR_UNKNOWN_VERSION Satır 230"

what is this?

but the DEMO web site is becoming :S

When I try to import the product after doing the php file modification, I get the following error message.
XML Error: XML_WAR_UNKNOWN_VERSION at Line 230

Any thoughts on what is going wrong?

BTW I am using 3.7.0 Beta 6 for now, but I am gonna upgrade once I get this working.



Same problem here - doesn't work on recent 3.7.x and a shame that the author seems to have deserted this mod :(

Golzarion
04-18-2008, 11:17 AM
Same problem here - doesn't work on recent 3.7.x and a shame that the author seems to have deserted this mod :(

I have the same problem ! It is not xhtml validation ! see here (http://validator.w3.org/check?uri=http%3A%2F%2Fforum.golzarion.com&charset=%28detect+automatically%29&doctype=Inline&group=0)

I think when this hack is the candidate of Month Hack ... the author should do some thing about it ! I agree it's the shame ....

MissKalunji
04-18-2008, 12:21 PM
Works fine, see live demo - http://www.survivalistboards.com/showthread.php?t=11115

I installed RC3 - 3 days ago and this mod yesterday, everything is working fine.

========EDIT=========

Users with IE 7 are complaining that they get an error after the last image. The error is that it can not open the thread.

Here is a screen print of the image. My site is using VB 3.7 RC3.

https://vborg.vbsupport.ru/

Last time i saw that error that's cause they weren't signed in (they were guest) and attachement are not viewable by guest.

H_A_R_R_Y
04-18-2008, 12:36 PM
Thanks

Good Work

karim004
04-18-2008, 03:07 PM
Same problem here - doesn't work on recent 3.7.x and a shame that the author seems to have deserted this mod :(
works on vb 3.7.0 rc3
Originally Posted by Fatsobob View Post

When I try to import the product after doing the php file modification, I get the following error message.
Code:

XML Error: XML_WAR_UNKNOWN_VERSION at Line 230

Any thoughts on what is going wrong?

BTW I am using 3.7.0 Beta 6 for now, but I am gonna upgrade once I get this working
upload a new class_bbcode.php to your include and import first the product then do the modification in class_bbcode.php

saviola8x
04-19-2008, 06:37 AM
Bạn ơi, sao tôi cài rồi mà chả thấy nút next các thứ gì cả í.

ry215
04-19-2008, 09:24 AM
Hello,

I installed this Mod and it works fine...congratulations is very nice!

Link (http://www.p2psin.net/forum/anime-manga-cartoni/25917-raccolta-wallpapers-e-sfondi-vari-cartoni-animati.html)

But I have a little problem, when I click on image I don't see, botton "previos, next and close"

How Can I resolve this issue?

Thanks :)

Maybe you have mod used, which includes highslide.js :)

EX: Goldbrick Audio/Video Media System or AnyMedia Player

Steeler Nation
04-19-2008, 01:47 PM
This works perfectly on my forum and is a HUGE hit with the members.

rapidphim
04-19-2008, 01:48 PM
ry215, does that mean that you can only install one of the mod with highslide feature only?

Seb@
04-19-2008, 02:17 PM
not work with link anonymizer & censor any chance fix this '?????

nirvana43
04-20-2008, 03:41 AM
hi. i've installed this mod on my forum : Projects Planet Forums (http://www.projectsplanet.com)

There are 2 errors while validating w3c markup/css. Please have a look at those errors here :
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.projectsplanet.com%2Fin dex.php
please can you help me rectify those 2 errors?? :(

nirvana43
04-20-2008, 03:43 AM
hi. i've installed this mod on my forum : Projects Planet Forums (http://www.projectsplanet.com)

There are 2 errors while validating w3c XHTML markup. Please have a look at those errors here :
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.projectsplanet.com%2Fin dex.php

Here are those errors :
Line 348, Column 10: required attribute "type" not specified.

<script>



The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.


Line 353, Column 66: required attribute "type" not specified.

?uage='javascript1.2' src='./highslide/highslide.js'></script>



The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

please can you help me rectify those 2 errors?? :( :confused::(

nirvana43
04-20-2008, 07:04 AM
hi. i've installed this mod on my forum : Projects Planet Forums (http://www.projectsplanet.com)

There are 2 errors while validating w3c XHTML markup. Please have a look at those errors here :
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.projectsplanet.com%2Fin dex.php

Here are those errors :
Line 348, Column 10: required attribute "type" not specified.

<script>



The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.


Line 353, Column 66: required attribute "type" not specified.

?uage='javascript1.2' src='./highslide/highslide.js'></script>



The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

please can you help me rectify those 2 errors?? :( :confused::(

Ok i fixed all the errors!! :up:
Just replace contents of hs_show template by below code :
<!-- HS Images Resize -->
<script type="text/javascript">
<!--
folder="./highslide/";
//-->
</script>
<script type="text/javascript" language='javascript1.2' src='./highslide/highslide.js'></script>

<script type="text/javascript">
hs.registerOverlay(
{
thumbnailId: null,
overlayId: 'controlbar',
position: 'top right',
hideOnMouseOut: true
}
);
hs.graphicsDir = 'highslide/graphics/';
hs.outlineType = 'rounded-white';
hs.restoreTitle = 'Click to close, use arrow keys for next and previous';
hs.loadingText = 'Loading...';
hs.fullExpandTitle = 'Expand to actual size';
hs.focusTitle = 'Click to bring to front';
hs.loadingTitle = 'Click to cancel';
hs.align = 'center';
hs.easingClose = 'easeInQuad';
hs.expandDuration = Math.max(1, 702);
hs.restoreDuration = Math.max(1, 702);
hs.expandSteps = 20;
hs.restoreSteps = 20;
hs.showCredits = false;
hs.captionId = 'the-caption';
hs.captionSlideSpeed = 0;
hs.allowSizeReduction = false;
hs.dimmingOpacity = 0.7;
hs.dimmingDuration = 100;
hs.spaceForCaption = 50;
</script>
<script type="text/javascript">
hs.easing = 'easeInBack';
</script>
<script type="text/javascript">
hs.allowSizeReduction = true;
</script>
<script type="text/javascript">
hs.easing = 'easeInBack';
</script>
<script type="text/javascript">
hs.allowSizeReduction = true;
</script>
<style type="text/css">
.highslide {
cursor: url(highslide/graphics/zoomin.cur), pointer;
outline: none;
}
.highslide-active-anchor img {
visibility: hidden;
}
.highslide:hover img {
border: 2px solid white;
}
.highslide-wrapper {
background: white;
}
.highslide-image {
border: 2px solid white;
}
.highslide-image-blur {
}
.highslide-dimming {
background: black;
position: absolute;
visibility: hidden;
}
.highslide-active-anchor img {
visibility: hidden;
}
.highslide-caption {
display: none;

border: 2px solid white;
border-top: none;
font-family: Verdana, Helvetica;
font-size: 10pt;
padding: 5px;
background-color: white;
}
.highslide-loading {
display: block;
color: white;
font-size: 9px;
font-weight: bold;
text-decoration: none;
padding: 3px;
border-top: 1px solid white;
border-bottom: 1px solid white;
background-color: black;
}
a.highslide-credits,
a.highslide-credits i {
padding: 2px;
color: silver;
text-decoration: none;
font-size: 10px;
}
a.highslide-credits:hover,
a.highslide-credits:hover i {
color: white;
background-color: gray;
}
.highslide-move {
cursor: move;
}
.highslide-overlay {
display: none;
}
a.highslide-full-expand {
background: url(highslide/graphics/fullexpand.gif) no-repeat;
display: block;
margin: 0 10px 10px 0;
width: 34px;
height: 34px;
}
.control {
float: right;
display: block;
position: relative;
margin: 0 5px;
font-size: 9pt;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
margin-top: 1px;
margin-bottom: 1px;
}
.control:hover {
border-top: 1px solid #333;
border-bottom: 1px solid #333;
margin-top: 0;
margin-bottom: 0;
}
.control, .control * {
color: #666;
}
.highslide-display-block {
display: block;
}
.highslide-display-none {
display: none;
}
.highslide-background {
color: #000000;
}
</style>


<!-- / HS Images Resize Code edited by Aditya Projects Planet-->


And now its working on Vbulletin 3.7.0 RC3!! :D
check out the working demo here : http://www.projectsplanet.com/robotics-projects/574-wireless-unmanned-ground-vehicle-pick-place-robot-college-project.html

Thanks a milion for this mod bro!!! :o

Golzarion
04-20-2008, 04:16 PM
Ok i fixed all the errors!! :up:
Just replace contents of hs_show template by below code :


Thank you very much . :up:

The validation errors has been fixed .
how about put the link of this post on first post ?

thank you .

rapidphim
04-21-2008, 04:56 AM
working for me...

Magnumutz
04-21-2008, 10:19 AM
This still hasn't fixed the bug that it tries to enlarge small pics...

rapidphim
04-21-2008, 01:53 PM
I don't have an issue at all. Only issue is that if you replaced the codes in postbit_attachmentthumbnail, the attachement with built-in default highslide will not be working.

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
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: url

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
This Mod for IMG tag: url
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
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
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.
/* 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 */

Magnumutz
04-21-2008, 07:15 PM
No, that's the maximum size to which a picture should get expanded by default.

Pipe Hitter
04-21-2008, 10:59 PM
The mod is working beautifully on my site with one exception.

Some of my images are using some weird redirect path, the images using this are not working, they show as loading but do nothing. Where is this coming from and what can I do to change/fix it?

Example:
http://www.registerofmerit.com/forums/redirect-to/?redirect=http:/www.ironlinekennels.com/Page_27_Norrod/IMAG0010.JPG

Pipe Hitter
04-21-2008, 11:48 PM
The mod is working beautifully on my site with one exception.

Some of my images are using some weird redirect path, the images using this are not working, they show as loading but do nothing. Where is this coming from and what can I do to change/fix it?

Example:
http://www.registerofmerit.com/forums/redirect-to/?redirect=http:/www.ironlinekennels.com/Page_27_Norrod/IMAG0010.JPG

*FIXED*

It was my VBSEO

Works like a champ now!

No problem with images in signatures. If there is I haven't noticed yet.

notrious
04-22-2008, 01:08 AM
.. Getting this error..

Vbulletin Version: 3.6.8

every thing seems fine ... but browse scrolling bar ... is stat .

any help ...

nirvana43
04-22-2008, 03:38 AM
.. Getting this error..


Vbulletin Version: 3.6.8

every thing seems fine ... but browse scrolling bar ... is stat .


any help ...

can you please mention more details about your error?

anoob
04-22-2008, 09:45 AM
I am confused, I read here where it says it works in 3.6.8 and I read elsewhere it says you need 3.7 Which is it?

I ask, because I have 3.6.8 and tried installing it, and although it works, the scroll bar on my browser stopped working, along with you can not use your mouse to highlight text anymore.

I've temporarily un-installed this mod til I figure this out. Any thoughts?

Thanks! :)

?t?s work well in vbb 3.6.8.

Have fun!

Magnumutz
04-23-2008, 04:44 AM
Ok, so will it be fixed? I really don't like small images to be "resized".

Magnumutz
04-24-2008, 03:11 AM
Bump??

rapidphim
04-24-2008, 03:43 AM
never mind

MrD
04-24-2008, 09:37 AM
Hi,
vb3.7 have highslide on board.
Is there any option, that the onboard Higslide are using for resizing?

Sorry for my Bad English.

In german:
VB 3.7 hat ja von Haus aus highslide.
Gibt es die Möglichkeit, dieses für den Resizer zu verwenden?

kevcj
04-24-2008, 11:50 AM
Ok, so will it be fixed? I really don't like small images to be "resized".

There is nothing to fix, just change these values

"width: expression(this.width > 640 ? 640 : true);" /></a>';

<img src="' . $link . '" border="0" alt="" style="max-width: 800px;" /></a>';

The mod works fine, you just have to put in the size that you want to use.

the 640 twice means everything bigger then 640 will be resized to 640

this is a fine mod and I do not understand what people are complaining about? Just put in the values that you want to use.

The first 640 - Anything bigger then this will be resized.

the second 640 - resized to this size.

So if you want anthing bigger then 800 to be resized to 640, put exactly that in the values.

Magnumutz
04-24-2008, 01:54 PM
AS i said, that does NOT help.
Here's a screenshot: http://img355.imageshack.us/img355/7339/newbitmapimage7tj6.jpg

MissKalunji
04-24-2008, 02:05 PM
open a thread here : https://vborg.vbsupport.ru/forumdisplay.php?f=15

and ask its probably just an if statement but id on't know it

kevcj
04-24-2008, 03:29 PM
No, that's the maximum size to which a picture should get expanded by default.

This line of code defines what size images should be resized -

"width: expression(this.width > 340 ? 180 : true);"

If an image is over 340, it will be resized to 180.

Please post the code you are using. If the script is not working, lets see what you have it set to.

I had the same problem, even small images were getting resized. All I did was change that code to


"width: expression(this.width > 640 ? 640 : true);" and everything is working good.

Here is a thread on my site - http://www.survivalistboards.com/showthread.php?t=11115

The images are at photobucket, are 640X480 and are not being resized.

MissKalunji
04-24-2008, 04:05 PM
What his trying to say is to resize but not to include the Signature image to the slideshow...some of my users have images over 350 they get resized fine but when you click highslide and next you will see each of those images...and he would want to exclude those from the slideshow

NoKawaii
04-24-2008, 08:06 PM
Installed resize works fine, but a got an error even on moin page where is nothing to resize..
Error: 'hs' is undefined
Code: 0
Line ***
----------------------------------------------------------------------------
on line ***
we got:
<script type="text/javascript">
hs.allowSizeReduction = true;
</script>
<script type="text/javascript">
hs.easing = 'easeInBack';
</script>
<script type="text/javascript">
hs.allowSizeReduction = true;
</script>
Same function twice ? Can someone explane me this error and how to fix it ?!

MissKalunji
04-24-2008, 08:14 PM
I take that your main page is Vbadvanced right?

Try this : https://vborg.vbsupport.ru/showpost.php?p=1477364&postcount=108

NoKawaii
04-24-2008, 08:30 PM
MissKalunji
By the way resize still doesnt work in Opera (9.27)
Screen1 (http://img90.imageshack.us/img90/3202/screen01jl3.jpg)http://img90.imageshack.us/img90/3202/screen01jl3.th.jpg
Screen2 (http://img90.imageshack.us/img90/2663/screen02na7.jpg)http://img90.imageshack.us/img90/2663/screen02na7.th.jpg
Screen3 (http://img90.imageshack.us/img90/2708/screen03nk6.jpg)http://img90.imageshack.us/img90/2708/screen03nk6.th.jpg

MissKalunji
04-24-2008, 08:45 PM
can you pm me ur url?

i know that error is cause ur missing the script

Magnumutz
04-25-2008, 05:20 AM
Ok, here's my 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 > 640 ? 400 : true);" /></a>';
} else {
return '<a href="' . $link . '" class="highslide" onclick="return hs.expand(this)" ><img src="' . $link . '" border="0" alt="" style="max-width: 800px;" /></a>';
}
/* End Image RESIZE */


As you can see the code is fine... but as MissKalunji said, i DON'T want small pictures to get into the resizer's way. I want them to be ignored by it... is it possible?

nirvana43
04-26-2008, 07:13 AM
hey there...
can you tell me whats causing this :
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.projectsplanet.com%2Fro botics-projects%2F574-wireless-unmanned-ground-vehicle-pick-place-robot-college-project.html&charset=%28detect+automatically%29&doctype=Inline&group=0

Magnumutz
04-27-2008, 09:08 PM
Any news on my problem?

Brew
05-01-2008, 02:23 PM
When installing the Product I get the following error:

XML Error: XML_WAR_UNKNOWN_VERSION at Line 229

Any idea what to do?

Thanks!

KHALIK
05-01-2008, 08:19 PM
Does this work with 3.7.0 gold ?

any one got this working on the latest gold version ?

MissKalunji
05-01-2008, 09:36 PM
i have it working on gold

adiboy.net
05-01-2008, 10:42 PM
I got a problem. It resized images in the signature too!

KHALIK
05-02-2008, 01:17 AM
installed :)

tintructo
05-02-2008, 02:07 AM
I got a problem. It resized images in the signature too!

i don't want this to happen either, is there any way to disable highlight in signatures ?

also, the .gif images aren't animated anymore

edit: what i'd like to know too, is if there is a way to allow the links on the images, maybe adding "go url" in the highlight box or something ?

alvin_mx
05-02-2008, 03:19 PM
Works fine, see live demo - http://www.survivalistboards.com/showthread.php?t=11115

I installed RC3 - 3 days ago and this mod yesterday, everything is working fine.

========EDIT=========

Users with IE 7 are complaining that they get an error after the last image. The error is that it can not open the thread.

Here is a screen print of the image. My site is using VB 3.7 RC3.

http://img88.imageshack.us/img88/8839/errormessagekz6.jpg

Same error for me... and i am the Admin... i have to REFRESH the page some fix?

I got a problem. It resized images in the signature too!

LOL read the others post in this thread :D

beheshtnet
05-02-2008, 06:33 PM
thanx , very nice but

Aren
05-03-2008, 10:22 PM
When installing the Product I get the following error:

XML Error: XML_WAR_UNKNOWN_VERSION at Line 229

Any idea what to do?

Thanks!

Just open the xml file with your favourite text editor and, at the very top of it, replace

<?xml version="1.0.0" encoding="ISO-8859-1"?>

with

<?xml version="1.0" encoding="ISO-8859-1"?>

UNRE4L
05-05-2008, 12:36 AM
I couldnt get this to work for me, all it said when you clicked the image was "loading..."

yemenihor
05-05-2008, 04:13 PM
thanks

QATARAT
05-05-2008, 07:08 PM
I couldnt get this to work for me, all it said when you clicked the image was "loading..."

me toooooo

mikkitine
05-05-2008, 07:25 PM
Has anybody got this to work without running into a single problem yet?

Galeon
05-05-2008, 07:38 PM
Mark as Installed
MOTM!

MissKalunji
05-05-2008, 09:24 PM
Has anybody got this to work without running into a single problem yet?

Me :-/ im still using it on 3.7.0 :-/

Skyrider
05-09-2008, 02:28 PM
Sorry, but this plugin is bugged with Internet Explorer 7, it shrinks signatures and makes them like 5x smaller.

Magnumutz
05-09-2008, 03:10 PM
Not just IE, it's the same for Firefox.
And the author won't even give us a reply...

MissKalunji
05-09-2008, 03:29 PM
maybe cause he didn't figure it out yet?

Magnumutz
05-09-2008, 05:53 PM
Yeah, that could be one of the reasons.
But i wouldn't mind knowing that i have to WAIT instead of making useless posts in this thread.

What i'm trying to say is that it would've been nice to have him/her tell me to wait until he figures it out or even fixes it.

MissKalunji
05-09-2008, 06:10 PM
i wondered at some point if creating a custom bb code for those signature image that way it wouldn't get resized by highslide ?

Nikoo
05-09-2008, 08:47 PM
Do you know where i can find this folder:

Update: Use highslide for Attachment Thumbnail
4. Open Temp. postbit_attachmentthumbnail ??? what kind of folder is that? i cant find it in my forum.

thanks.

Nikoo
05-09-2008, 09:00 PM
Fixed..thanks ( :

MissKalunji
05-09-2008, 09:01 PM
Do you know where i can find this folder:

Update: Use highslide for Attachment Thumbnail
4. Open Temp. postbit_attachmentthumbnail ??? what kind of folder is that? i cant find it in my forum.

thanks.

in admincp
Style and Template
Style manager edit style
Postbit (expand it)

You'll find postbit_attach...

Nikoo
05-10-2008, 11:19 AM
Great mode but it don't work whit Firefox and i have installed AME for videos and vbtubePro so that's maybe the slide don't works for me, i don't know.

Mutt
05-10-2008, 02:18 PM
if you wrap an img tag with an url tag, this mod will break it. plus it highslide links every single image regardless of size.

I used just the max width info without the highslide link. this give me the max width protection for IE & Firefox without breaking anything. small images are ignored. it just makes big images small.

the only thing missing is a link to view the full sized pic. I tired using getimagesize() to pic & choose when to apply the highlisde linky but it really slowed things down. besides it didn't work for direct links to VB attached images.

for now I'll live with being able to just scale down the pics. thanks

will be looking for safari & opera solutions. neither currently works.

F0xy
05-10-2008, 07:40 PM
brilliant hack

MissKalunji
05-10-2008, 10:48 PM
if you wrap an img tag with an url tag, this mod will break it. plus it highslide links every single image regardless of size.

I used just the max width info without the highslide link. this give me the max width protection for IE & Firefox without breaking anything. small images are ignored. it just makes big images small.

the only thing missing is a link to view the full sized pic. I tired using getimagesize() to pic & choose when to apply the highlisde linky but it really slowed things down. besides it didn't work for direct links to VB attached images.

for now I'll live with being able to just scale down the pics. thanks

will be looking for safari & opera solutions. neither currently works.

for attachement :

Update: Use highslide for Attachment Thumbnail
4. Open Temp. postbit_attachmentthumbnail
Replace with:
PHP Code:
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]" class="highslide" onclick="return hs.expand(this)" id="attachment$attachment[attachmentid]"><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;stc=1&amp;thumb=1&amp;d=$attachment[thumbnail_dateline]" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[attachmentid]">$vbphrase[image_larger_version_x_y_z]</phrase>" style="width: expression(this.width > 140 ? 80 : true);" /></a>
&nbsp;<if condition="$show['br']"><br /><br /></if>

###################

al3bed
05-11-2008, 07:56 AM
Hello Everyone !

Maybe I'm the first one show this problem in this thread, but its really need an answer.
My problem is when I change the direction from (left to right) to (right to left) -as some languages need to be- the page looks crazy and expands much than the normal, is there any solution for this problem, please!



Best Regards

arena
05-13-2008, 03:27 AM
thanks insttaled

Nikoo
05-14-2008, 09:35 AM
i wondered at some point if creating a custom bb code for those signature image that way it wouldn't get resized by highslide ?

Good idea, i think it would be the best solution if someone wants to exclude some pictures from highslide but im useless at coding, anyone?

1Matthew1
05-17-2008, 03:16 PM
Great hack, but I have one problem: When you link with an image for example [ url=site.com]picture.jpg[ /url]

Then the pic will open with the highslide and it won?t redirect to the link. I hope you get what I mean. Can you change that when you click on that image a menu opens up where you can select use high slide or follow link?
Would be great.

Chriss74
05-18-2008, 12:05 AM
Nice Hack!

It is very nice to browse in the pictures of a thread. But I don't like, that the pictures of the signatures are also shown. When I click on "next picture" I want only to browse in the attachments and other posted pictures, but not in signature-pictures.

Maybe somebody can change that?

Greetings,
Chriss

Zweeper
05-19-2008, 06:07 PM
how i can get the white background with the "next picture, previous picture, close, move" ect. links to another colour?

Zweeper
05-21-2008, 04:11 AM
no way?

lolo?
05-21-2008, 07:48 AM
doesnt work for me on FireFox
the image dosen't resizing
no problem on Ie 7
solution for fix this ?
unninstal a lot of problem with this mod

Zweeper
05-21-2008, 08:10 AM
i use firefox 3 RC1 and it works with it

Zweeper
05-21-2008, 01:32 PM
but how can i change the colour of the toolbar??

trackpads
05-26-2008, 02:58 AM
uninstalled, the small images thing is killing me. Damn good potential too! If this gets fixed I am back in for sure.

misr.cc
05-27-2008, 02:10 PM
works great with me ... :)

thanx ... keep good work

maidos
05-28-2008, 04:21 PM
how to work with vbadvance?

Zweeper
05-29-2008, 03:17 PM
but how can i change the colour of the toolbar??

? :(

1Matthew1
06-01-2008, 05:19 PM
with that add-on you can´t use a picture as anchor for a link... Should get fixed

mry
06-03-2008, 08:53 PM
but save as images.. xxx.php how fix this ı want original name save as..

rootnik
06-03-2008, 09:51 PM
Very pretty, but I agree with others who said it is not worth having linked images not work.

Behzad Varedi
06-05-2008, 09:13 AM
Thank you

really nice
Installed :D

citroenar
06-05-2008, 01:00 PM
Nice Hack!

It is very nice to browse in the pictures of a thread. But I don't like, that the pictures of the signatures are also shown. When I click on "next picture" I want only to browse in the attachments and other posted pictures, but not in signature-pictures.

Maybe somebody can change that?

Greetings,
Chriss

dont edit class_bbcode.php

Golzarion
06-05-2008, 02:34 PM
with that add-on you can?t use a picture as anchor for a link... Should get fixed

Very pretty, but I agree with others who said it is not worth having linked images not work.

I have the same idea ! Is there a way to fix it in order to Linked images work ?

Unfortunately linked images don't work any more .....

rapidphim
06-12-2008, 02:53 PM
Can someone please help me to identify the problem when I click on Move, Close, Next, Previous buttons, it did not do anything? I am using it on vb 3.7.0 Gold. Thanks.

F0xy
06-18-2008, 09:53 AM
this stopped working for me when i upgraded to the stable version of firefox

pooffck1
06-26-2008, 09:37 AM
XML Error: XML_WAR_UNKNOWN_VERSION at Line 230 thats what i got.

Playa82
06-26-2008, 12:50 PM
still no new version or update....

:-(

Zweeper
07-02-2008, 08:31 AM
with IE7 it don't works on my site. so sad, because this mod rocks

lnxtr
07-02-2008, 09:54 AM
i have a problem
xml upload this problem

XML Hata: XML_WAR_UNKNOWN_VERSION Satır 230

Parker Clack
07-02-2008, 02:06 PM
Great job. JSYK it works with 3.5 too.

Zacarias
07-03-2008, 11:37 AM
Bookmarked for possible future use.

Astrof
07-06-2008, 12:21 PM
This is one of the best mods ever, but unfortunately the slide animation is not smooth in Firefox 3. In other Firefox versions everything works fine.

In hope of the update for FF 3 ...

maidos
07-09-2008, 09:33 AM
this mod doesnt work for vbadvanced

redlabour
07-09-2008, 12:59 PM
this mod doesnt work for vbadvanced

The Image Resizer (powered with Lytebox / Highslide) (https://vborg.vbsupport.ru/showthread.php?t=184571)

This works with vBadvanced : http://www.politikstube.de/ and does not need any Codeedits and works in Albums, Blogs and anywhere. ;)