PDA

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


Pages : [1] 2

ry215
04 Mar 2008, 01:00
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
04 Mar 2008, 01:47
thanks

very nice

^_^

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

Brew
04 Mar 2008, 04:40
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
04 Mar 2008, 07:04
WooooooWwWwW
wonderful work :) thanx ry215, very nice but :D signature pictures is highslide appearing :)

Mike-D
04 Mar 2008, 09:25
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
04 Mar 2008, 09:34
Thanks all :)

RvG2
04 Mar 2008, 09:36
nominated to MOTM also. :)

Opelx
04 Mar 2008, 10:10
Thank you

Playa82
04 Mar 2008, 10:12
very nice, i try that later. thanks in advance

barroca
04 Mar 2008, 14:07
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
04 Mar 2008, 14:14
Most hacks which use Lightbox and Highslide tend to break the inline editing on threads. Does this?

ry215
04 Mar 2008, 14:16
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
04 Mar 2008, 14:21
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
04 Mar 2008, 17:05
This mod is friggen awesome good job!

Martell
04 Mar 2008, 17:22
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
04 Mar 2008, 17:29
Only to confirm ... works in vb 3.6.8?Yep, without any problems, Sir ;)

Playa82
04 Mar 2008, 18:40
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
04 Mar 2008, 19:01
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
04 Mar 2008, 19:23
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
04 Mar 2008, 20:07
wow....

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

Martell
04 Mar 2008, 20:31
ry215,
Uncached templates: hs_resize (1)
Uncached templates: hs_resize_bg (1) fixed.

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

ry215
04 Mar 2008, 20:55
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
05 Mar 2008, 05:31
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
05 Mar 2008, 05:31
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
05 Mar 2008, 06:44
^^^^ ???

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

Yeah! if you want, no problem ^_^

ry215
05 Mar 2008, 06:48
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
05 Mar 2008, 07:15
ok thanks..i'm try to install back..really hope its working..

furst
05 Mar 2008, 08:14
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
05 Mar 2008, 09:22
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
05 Mar 2008, 09:27
fixed it has an error in the first line of the product

Playa82
05 Mar 2008, 09:46
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
05 Mar 2008, 10:11
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
05 Mar 2008, 17:41
Nominated for MOTM! Thank you very much

ry215
05 Mar 2008, 21:40
Nominated for MOTM! Thank you very much

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

CrashPush
06 Mar 2008, 02:16
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
06 Mar 2008, 07:55
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:

http://www.vbulletin.org/forum/showpost.php?p=1457375&postcount=32

Playa82
06 Mar 2008, 08:03
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
06 Mar 2008, 12:30
MOVE don't worked my forum

CrashPush
06 Mar 2008, 12:36
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
06 Mar 2008, 12:49
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
06 Mar 2008, 23:48
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
07 Mar 2008, 02:29
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
07 Mar 2008, 05:17
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
07 Mar 2008, 12:41
Hmmm.. your demo site is down.

Playa82
07 Mar 2008, 18:06
Hmmm.. your demo site is down.

check my site, i installed it

SAWASCI
08 Mar 2008, 04:15
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
08 Mar 2008, 09:58
when I go over a picture and klick on it only load and not make a highslide :(

Playa82
08 Mar 2008, 11:35
hey, that hack doesnt work with thumbnail uploads like this:

https://www.vbulletin.org/forum/ (http://imageshack.us)

is there an udpate to correct this ?

mastertek2000
08 Mar 2008, 12:55
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
08 Mar 2008, 14:06
@mastertek2000: This Hack is only for 3.7 Beta X and not for 3.6.x

mastertek2000
08 Mar 2008, 15:43
@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
08 Mar 2008, 17:41
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
10 Mar 2008, 07:00
how can I use this on attachment images inline? with [ATTACH] [/ ATTACH]

samet54
10 Mar 2008, 07:57
XML Error: XML_WAR_UNKNOWN_VERSION Satır 230

velias
10 Mar 2008, 12:28
Donīt work whit vbAnonymizer!!

gamerscms
12 Mar 2008, 02:25
Great, installed and clicked MOTM

M-Tuning
12 Mar 2008, 17:48
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
13 Mar 2008, 03:29
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
13 Mar 2008, 04:40
As turning off the dark background to make clik?

DDolphins
14 Mar 2008, 02:44
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
14 Mar 2008, 03:19
Everything worked fine in IE7 & FF for me, but the mod needs more work before I will use it.

Netaudio
14 Mar 2008, 10:55
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
14 Mar 2008, 18:04
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
14 Mar 2008, 22:45
hmmm.... dosnīt work for me with external images...

burntire
14 Mar 2008, 23:09
hmmm.... dosnīt work for me with external images...

Are they wrapped with IMG tags?

Netaudio
16 Mar 2008, 12:45
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
16 Mar 2008, 14:40
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
16 Mar 2008, 21:37
everything works fine

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

MissKalunji
17 Mar 2008, 17:39
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
18 Mar 2008, 16:18
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
19 Mar 2008, 08:17
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
19 Mar 2008, 09:54
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 :)
http://www.vbulletin.org/forum/showpost.php?p=1466128&postcount=68

thanks!

maxicep
19 Mar 2008, 10:15
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
19 Mar 2008, 17:29
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
19 Mar 2008, 19:38
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
19 Mar 2008, 19:47
you're on 3.7?

Netaudio
19 Mar 2008, 20:06
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
19 Mar 2008, 20:16
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
19 Mar 2008, 22:00
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
20 Mar 2008, 07:50
I want just show only images in highslide.

Not linked images.




But this mod has problem with linked images.

jack bro
20 Mar 2008, 10:52
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
20 Mar 2008, 13:42
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
21 Mar 2008, 01:32
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
22 Mar 2008, 00:30
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
22 Mar 2008, 23:51
So nice! :)

Thanks!

ZeroHour
23 Mar 2008, 17:57
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
23 Mar 2008, 18:31
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
23 Mar 2008, 19:20
version still shows 1.2.0 (just upgraded from 1.2.0 so it should show now as 1.2.2) :)

rizelim
23 Mar 2008, 19:34
thanks

very nice

beduino
25 Mar 2008, 23:06
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
26 Mar 2008, 06:30
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
26 Mar 2008, 07:50
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
27 Mar 2008, 19:13
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
27 Mar 2008, 19:53
if you have vbseo disable rel=nofollow

Netaudio
27 Mar 2008, 20:03
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
27 Mar 2008, 20:31
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
27 Mar 2008, 20:42
thanks great stuff marked installed:up:

extremesanity
28 Mar 2008, 04:59
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
29 Mar 2008, 00:56
This mod js file is causing loads of errors with IE

MissKalunji
29 Mar 2008, 01:12
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
29 Mar 2008, 03:30
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
29 Mar 2008, 03:34
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
29 Mar 2008, 04:00
I used my js from my photoplog
EDIT:
Since it is free to redistribute here the js is.

MissKalunji
29 Mar 2008, 04:20
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
29 Mar 2008, 04:40
How do I add this functionality to the user albums?

Tom_S
29 Mar 2008, 05:09
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
29 Mar 2008, 05:39
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
29 Mar 2008, 05:43
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
29 Mar 2008, 05:54
Was that the old js or the one I uploaded?

MissKalunji
29 Mar 2008, 05:56
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
29 Mar 2008, 06:08
Cool. I don't use IE either. I use Firefox. My members pointed it out.

extremesanity
29 Mar 2008, 18:36
<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
30 Mar 2008, 01:25
i think you would need the pluging to be activated in the album area (cause righ tnow the plugin is only in showthread)

extremesanity
30 Mar 2008, 06:21
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_controlbar.fetch_template('hs_resiz e_controlbar'),$vbulletin->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
31 Mar 2008, 03:14
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
01 Apr 2008, 12:03
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
02 Apr 2008, 05:22
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
02 Apr 2008, 16:34
Its just working with firefox well but it has some slowing problems with other browsers...

yathyo
03 Apr 2008, 23:33
I installed the plugin but it doesnt add the script required in the header :(

drpeppper
04 Apr 2008, 01:52
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 Apr 2008, 06:45
bunu yapabılen arkadaslara ıhtıyacım var ben yapamadım kodlar bozuluyor :(

Tom_S
04 Apr 2008, 08:07
Huh?

tazzarkin
08 Apr 2008, 10:26
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
09 Apr 2008, 21:08
awesome mod, but its turning my signatures into clickable images aswell!

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

Playa82
09 Apr 2008, 21:13
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
09 Apr 2008, 23:55
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
10 Apr 2008, 17:05
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
11 Apr 2008, 07:56
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
11 Apr 2008, 08:33
Uninstalled until issue is resolved

doraj
12 Apr 2008, 13:57
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
12 Apr 2008, 19:27
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
12 Apr 2008, 22:53
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ē
16 Apr 2008, 04:21
the resize image dosent work for me on firefox
and all sigs are clicable now :S
uninstall

Hendrizius
16 Apr 2008, 21:15
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
17 Apr 2008, 03:12
This is freaking AWESOME!!!! Thank you.

Voted - MOTM

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

Seb@
17 Apr 2008, 20:36
not work property with this hack Link Anonymizer and Censor ,

maxicep
17 Apr 2008, 20:51
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
17 Apr 2008, 21:35
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://www.vbulletin.org/forum/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
17 Apr 2008, 22:07
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://www.vbulletin.org/forum/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
17 Apr 2008, 22:15
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
18 Apr 2008, 00:13
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://www.vbulletin.org/forum/

utw-Mephisto
18 Apr 2008, 09:40
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
18 Apr 2008, 12:17
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
18 Apr 2008, 13:21
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://www.vbulletin.org/forum/

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
18 Apr 2008, 13:36
Thanks

Good Work

karim004
18 Apr 2008, 16:07
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
19 Apr 2008, 07:37
Bạn ơi, sao tôi cài rồi mà chả thấy nút next các thứ gì cả í.

ry215
19 Apr 2008, 10:24
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
19 Apr 2008, 14:47
This works perfectly on my forum and is a HUGE hit with the members.

rapidphim
19 Apr 2008, 14:48
ry215, does that mean that you can only install one of the mod with highslide feature only?

Seb@
19 Apr 2008, 15:17
not work with link anonymizer & censor any chance fix this '?????

nirvana43
20 Apr 2008, 04:41
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%2Findex.php
please can you help me rectify those 2 errors?? :(

nirvana43
20 Apr 2008, 04:43
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%2Findex.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
20 Apr 2008, 08:04
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%2Findex.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
20 Apr 2008, 17:16
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
21 Apr 2008, 05:56
working for me...

Magnumutz
21 Apr 2008, 11:19
This still hasn't fixed the bug that it tries to enlarge small pics...

rapidphim
21 Apr 2008, 14:53
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
21 Apr 2008, 14:56
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
21 Apr 2008, 15:07
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
21 Apr 2008, 15:39
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
21 Apr 2008, 16:43
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
21 Apr 2008, 16:55
@Magnumutz: if you get picture in the [IMG] tag , then this Mod works. Thanks!

MissKalunji
21 Apr 2008, 16:56
what his saying that he doesn't want Small pictures to use high slide

nirvana43
21 Apr 2008, 17:42
voted for mod of the month!!! wow man honestly telling this is some real cracking stuff i came across!!!! thanks a million bro! :)

Magnumutz
21 Apr 2008, 18:39
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
21 Apr 2008, 19:56
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
21 Apr 2008, 20:07
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
21 Apr 2008, 20:15
No, that's the maximum size to which a picture should get expanded by default.

Pipe Hitter
21 Apr 2008, 23:59
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
22 Apr 2008, 00:48
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
22 Apr 2008, 02:08
.. Getting this error..


Vbulletin Version: 3.6.8

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


any help ...

nirvana43
22 Apr 2008, 04:38
.. 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
22 Apr 2008, 10:45
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
23 Apr 2008, 05:44
Ok, so will it be fixed? I really don't like small images to be "resized".

Magnumutz
24 Apr 2008, 04:11
Bump??

rapidphim
24 Apr 2008, 04:43
never mind

MrD
24 Apr 2008, 10:37
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
24 Apr 2008, 12:50
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
24 Apr 2008, 14:54
AS i said, that does NOT help.
Here's a screenshot: http://img355.imageshack.us/img355/7339/newbitmapimage7tj6.jpg

MissKalunji
24 Apr 2008, 15:05
open a thread here : http://www.vbulletin.org/forum/forumdisplay.php?f=15

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

kevcj
24 Apr 2008, 16:29
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
24 Apr 2008, 17:05
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
24 Apr 2008, 21:06
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
24 Apr 2008, 21:14
I take that your main page is Vbadvanced right?

Try this : http://www.vbulletin.org/forum/showpost.php?p=1477364&postcount=108

NoKawaii
24 Apr 2008, 21:30
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
24 Apr 2008, 21:45
can you pm me ur url?

i know that error is cause ur missing the script

Magnumutz
25 Apr 2008, 06:20
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
26 Apr 2008, 08:13
hey there...
can you tell me whats causing this :
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.projectsplanet.com%2Frobotics-projects%2F574-wireless-unmanned-ground-vehicle-pick-place-robot-college-project.html&charset=%28detect+automatically%29&doctype=Inline&group=0

Magnumutz
27 Apr 2008, 22:08
Any news on my problem?

Brew
01 May 2008, 15:23
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
01 May 2008, 21:19
Does this work with 3.7.0 gold ?

any one got this working on the latest gold version ?

MissKalunji
01 May 2008, 22:36
i have it working on gold

adiboy.net
01 May 2008, 23:42
I got a problem. It resized images in the signature too!

KHALIK
02 May 2008, 02:17
installed :)

tintructo
02 May 2008, 03:07
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
02 May 2008, 16:19
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
02 May 2008, 19:33
thanx , very nice but

Aren
03 May 2008, 23:22
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 May 2008, 01:36
I couldnt get this to work for me, all it said when you clicked the image was "loading..."

yemenihor
05 May 2008, 17:13
thanks

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

me toooooo

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

Galeon
05 May 2008, 20:38
Mark as Installed
MOTM!

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

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

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

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

MissKalunji
09 May 2008, 16:29
maybe cause he didn't figure it out yet?

Magnumutz
09 May 2008, 18:53
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
09 May 2008, 19:10
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
09 May 2008, 21:47
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
09 May 2008, 22:00
Fixed..thanks ( :

MissKalunji
09 May 2008, 22:01
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
10 May 2008, 12:19
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
10 May 2008, 15:18
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
10 May 2008, 20:40
brilliant hack

MissKalunji
10 May 2008, 23:48
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
11 May 2008, 08:56
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
13 May 2008, 04:27
thanks insttaled

Nikoo
14 May 2008, 10:35
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
17 May 2008, 16:16
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
18 May 2008, 01:05
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
19 May 2008, 19:07
how i can get the white background with the "next picture, previous picture, close, move" ect. links to another colour?

Zweeper
21 May 2008, 05:11
no way?

loloē
21 May 2008, 08:48
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
21 May 2008, 09:10
i use firefox 3 RC1 and it works with it

Zweeper
21 May 2008, 14:32
but how can i change the colour of the toolbar??

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

misr.cc
27 May 2008, 15:10
works great with me ... :)

thanx ... keep good work

maidos
28 May 2008, 17:21
how to work with vbadvance?

Zweeper
29 May 2008, 16:17
but how can i change the colour of the toolbar??

? :(

1Matthew1
01 Jun 2008, 18:19
with that add-on you canīt use a picture as anchor for a link... Should get fixed

mry
03 Jun 2008, 21:53
but save as images.. xxx.php how fix this ı want original name save as..

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

Behzad Varedi
05 Jun 2008, 10:13
Thank you

really nice
Installed :D

citroenar
05 Jun 2008, 14:00
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
05 Jun 2008, 15:34
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
12 Jun 2008, 15:53
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
18 Jun 2008, 10:53
this stopped working for me when i upgraded to the stable version of firefox

pooffck1
26 Jun 2008, 10:37
XML Error: XML_WAR_UNKNOWN_VERSION at Line 230 thats what i got.

Playa82
26 Jun 2008, 13:50
still no new version or update....

:-(

Zweeper
02 Jul 2008, 09:31
with IE7 it don't works on my site. so sad, because this mod rocks

lnxtr
02 Jul 2008, 10:54
i have a problem
xml upload this problem

XML Hata: XML_WAR_UNKNOWN_VERSION Satır 230

Parker Clack
02 Jul 2008, 15:06
Great job. JSYK it works with 3.5 too.

Zacarias
03 Jul 2008, 12:37
Bookmarked for possible future use.

Astrof
06 Jul 2008, 13:21
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
09 Jul 2008, 10:33
this mod doesnt work for vbadvanced

redlabour
09 Jul 2008, 13:59
this mod doesnt work for vbadvanced

The Image Resizer (powered with Lytebox / Highslide) (http://www.vbulletin.org/forum/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. ;)