vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - Resize IMG tag with Highslide! (https://vborg.vbsupport.ru/showthread.php?t=172024)

wapsilog 03-15-2009 12:39 AM

super cool... awesome mod...
best ever...

DieselMinded 03-15-2009 04:59 PM

/me uninstalled due to xhtml errors in the validation and IE throwing errors

nikosb 03-15-2009 05:55 PM

Quote:

Originally Posted by RedHacker (Post 1767027)
With BBCode Hidden are problem the HighSlide..!!!Why....?

i have the same problem

DieselMinded 03-15-2009 06:03 PM

linked images didnt work either

SEW810 03-16-2009 10:32 PM

Linked images like imageshack sometimes are NOT resized by the MOD. :(
Another thing, my forum goes a little bit slow when the mod is On. :'( Pretty bad.

Edited:

Almost forget... usin' IE here!!!

Phantasmagoric 03-20-2009 09:35 PM

Quote:

Originally Posted by MissKalunji (Post 1467140)
I found it

in class_bbcode
Code:

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

Code:

$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!

Could ask a question please!
A long shot maybe, would you happen to know how to get that solution to work with 3.8.1, the lightbox that comes with 3.8 has a habit of not displaying attachments at 100% causing the images to be out of focus. This mod is fantastic when handling the img bbcode tags, I'd be over the moon if this mod could handle attached images as well.

opl 04-01-2009 07:19 PM

Well it is Loading and loading picture for years now:)
No like in demo.

ABDALWAHID 04-11-2009 09:54 AM

Quote:

Originally Posted by Golzarion (Post 1611293)
Thanks for update.
Although I have one strange problem when I use this hack on my Persian language ( Right_to _left language ) ! I try to fix it ...

**********
Edit :
**********
If you replace the "hs_headinclude" codes with the code below it will be xhtml valid !
HTML Code:

            <!-- HS Images Resize -->
            <script type="text/javascript">

            <!--
            folder="./highslide/";
            //-->

            </script>
            <script type="text/javascript" language='javascript1.2' src='./highslide/highslide.js'></script>
            <link rel="stylesheet" type="text/css" href="highslide/style.css" />
<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, 300);
hs.restoreDuration = Math.max(1, 300);
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>
<script type="text/javascript">
<!--
HSImageResizer.MAXWIDTH = $vboptions[hs_maxwidth];
HSImageResizer.MAXHEIGHT = $vboptions[hs_maxheight];

//-->

</script>
            <!-- / HS Images Resize -->

Author : Please link this code on first post or change the xml file if it is possible.

thanks.


hello can you this update. its not working:(

sNator 04-21-2009 07:23 AM

Thanks for this supermod.
How can I make this mod work with vBlog?

firas 04-24-2009 10:23 AM

great hack...too bad it does not work with IE :(

Biker_GA 04-24-2009 10:45 AM

Huh? Works with IE on my site.

bluesteel 04-29-2009 10:30 AM

Quote:

Originally Posted by Sunka (Post 1698324)
It is image, not text :D

You can make your image, with your text (in MS Paint :D) and place it in highslide folder (overwrite default one), and set wide and high (if they are different from default one) in .php of highslide. I just did on my site.

Hi Sunka
I'm new to all of this javascript stuff, and would like to remove this image and border completely. I can't find any .php files in highslide. Could you or anybody else please point me in the right direction as to what and where to edit?

Many thanks
Alan

Sunka 05-01-2009 06:58 PM

You can remove image called "warning" bu in IE there will be still some ugly no-image look of "warning" image. Try it and you will see.

I give up from that, and just in MS Paint make my own image (smaller) and upload that one. Because it is not same hight and wide like default one, I must replace corrected value in highslide.js (highslide.php ==> this is my fault in writing).

bluesteel 05-01-2009 10:33 PM

Hi Sunka

Thanks for that information. I had a really good look in the highslide-with-gallery.js file and found the "warning" function near the end of the file. I deleted everything between the "{" and "}" so that basically wherever this function is called, it does nothing. I then re-packed the file and saved as highslide-with-gallery.packed.js , uploaded these 2 files and hey presto, the warning image and it's border have disappeared as expected. :)

I hope this might help anybody else with the same problem.

kyrenator 05-03-2009 04:30 PM

thanks it works great! It has beautiful effects!

Nice work

Black Tiger 05-04-2009 12:18 AM

Seems another mod is disturbing mine. On one forum it works perfectly, on another forum (both 3.8.2.) images won't be resized.
Also a java error is displayed in IE "HSImageResizer is not defined".

Anybody a clue?

Maybe it's vBAdvanced 3.1.0? Please fix this, I like this mod.

ctimes 05-04-2009 04:55 PM

Seemed to be a resource hog for me unfortunately :( looking for other solutions still

Black Tiger 05-04-2009 05:32 PM

I almost got it by changing the /higslide/... to http://www.mydomain.org/higslide/... in the product.xml file. It almost works, I can select it on the forums, but just the resizing is not working yet.

WillUnderwater 05-04-2009 08:56 PM

Works great in 3.8!

Keep up the good work! Thanks!

peleh 05-18-2009 12:14 AM

Hi, it worked fine here on 3.8.2

But, is it possible to resize images inside post review? When i click Reply a topic that have big pictures, and roll down the page, those pictures doesn't get resized.

Edit: Solved, there was a conflict with some BB code image resizer that i was using.

But theres another bug, Max Width and Max Height get in conflict with each other, if a set the height too high, beyond the width value, the image obey the highest value.

zygote 05-18-2009 01:31 AM

I think Powered by Highslide JS Should open in a new window, instead of making the user leave the site!
Overall good job, Installed.

nomoreturn 05-18-2009 02:39 AM

is that working on 3.8.2?

Biker_GA 05-18-2009 02:43 AM

Yep

Stanthrax 05-19-2009 11:39 PM

What file is this code in?
Code:

/* Start Image RESIZE */

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

the highslide efect is still active for tiny images.

NNJJ 05-22-2009 09:16 AM

same problem

Quote:

Originally Posted by Black Tiger (Post 1804046)
Seems another mod is disturbing mine. On one forum it works perfectly, on another forum (both 3.8.2.) images won't be resized.
Also a java error is displayed in IE "HSImageResizer is not defined".

Anybody a clue?

Maybe it's vBAdvanced 3.1.0? Please fix this, I like this mod.


NNJJ 05-22-2009 02:09 PM

shame really not to use this great adds :(

Black Tiger 05-22-2009 02:31 PM

Marked it as uninstalled and tag until the paths are coded correctly so it is usable with vBA. Please correct this issue because it's a great mod!

NNJJ 05-22-2009 03:07 PM

i tried to contact the website to try to find something
http://highslide.com/forum/viewforum.php?f=1

because its really great mod if its keep updating

Black Tiger 05-22-2009 06:36 PM

Thanks, I posted a question over there too now.

NNJJ 05-22-2009 07:28 PM

bad they said they can't help :( its the coders here who should fix it :(

amjadz4 05-24-2009 04:37 PM

I have a problem...its resizing ALL images in the posts..even the ones which are less than the given set width! help!

ShadowStalker 05-31-2009 05:46 PM

Great add-on. Using it on 3.8.2

W!cKeD 06-04-2009 08:59 PM

Quote:

Originally Posted by amjadz4 (Post 1816356)
I have a problem...its resizing ALL images in the posts..even the ones which are less than the given set width! help!

Same Problem and it resize all pictures with links.. thats it really bad..

Eg:
Code:

[-URL="http://www.example.com/showthread.php?t=92447"][-IMG]http://www.example.de/images/rules.jpg[/IMG][/URL]
i have max width and height at 350x350 the rules.jpg are 300x300

any help? for this?

Onur KAYIK?I 06-29-2009 12:51 PM

thanks

very nice

benny92000 07-14-2009 08:21 AM

<u>Great</u> Work.

Jojonas 07-22-2009 11:03 AM

Am I allowed to remove the "Powered by Highslide JS" ? It doesn't like nice, especially at small pics.

Te Mod is great !:up:

Jonas

wold3mort 07-22-2009 12:55 PM

dont work on Firefox

Biker_GA 07-28-2009 03:22 PM

Works just fine with Firefox, Opera, Chrome, Safari and IE. You have a popup blocker enabled. Set an exception for your site.

WizKaz 07-30-2009 05:10 PM

I am using 3.8.1, but all it does, is making the images clickable!?
If you click on the image it opens the URL of the image, noch higslide startin... :(
ideas?

bada_bing 08-04-2009 07:46 PM

Working with 3.8.3 I hope the developer will continue to support and progress this great mod.

Any ideas How I can get this working with VBPortal also. Please


All times are GMT. The time now is 02:27 PM.

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

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

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete