vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Image resizer (https://vborg.vbsupport.ru/showthread.php?t=118048)

Spleasure 08-18-2006 07:32 AM

Quote:

Originally Posted by CreedFeed
Also, after installed, I posted a test image and it resized properly. I then went to admin settings and changed the maximum width of images and the image I had just posted reverted to it's normal size... i.e. the resize didn't stay after changing the maxwidth...

Edit >> I just rebuilt post cache and I guess that fixed it. So anytime I change the maxwidth of images I'll have to rebuild post cache?

Edit again >> Ok I'm kinda confused as to how this works. I've went into the options and set the maxwidth of images to 450 and set the mode to open in new window. I left height at 0 and set users to control all options. When i view threads as an administrator the images are not resized and remain as their normal size. When i view the forums as a Guest, the images are resized. ????

On some threads however the images are resized... others are not. This page, for example:

http://www.quakeone.com/forums/showthread.php?t=927

When I view this as an administrator, the first two pictures shown are resized. The second two are smaller than the resize width so they are normal. The next image is not resized, and it's way past my maxwidth set (450pixels).

Final Edit >> Ok everything works fine in Firefox, but the images are not being resized in IE7.0 - some images are resized in IE7 and some aren't. Doesn't make any sense...

Are you sure that your administrator account doesn't have its own values?
IE7 testing has to be done yet, but I see that your page contains javascript errors which are not related to my image resizer. Maybe they mess up IE7

Rogerl 08-18-2006 08:02 PM

Quote:

Originally Posted by CreedFeed
Edit again >> Ok I'm kinda confused as to how this works. I've went into the options and set the maxwidth of images to 450 and set the mode to open in new window. I left height at 0 and set users to control all options. When i view threads as an administrator the images are not resized and remain as their normal size. When i view the forums as a Guest, the images are resized. ????

On some threads however the images are resized... others are not. This page, for example:

http://www.quakeone.com/forums/showthread.php?t=927

When I view this as an administrator, the first two pictures shown are resized. The second two are smaller than the resize width so they are normal. The next image is not resized, and it's way past my maxwidth set (450pixels).

Final Edit >> Ok everything works fine in Firefox, but the images are not being resized in IE7.0 - some images are resized in IE7 and some aren't. Doesn't make any sense...


I'm finding the same on my forums.

Everything works fine in Firefox but IE (Version 6 for me) is a bit hit and miss, sometimes it resizes images, sometimes it doesn't.

I'd guess its probably something to do with the speed of loading the Javascript and whether or not its loaded when the image is loaded. BUT the script is correctly loaded in the html document header so should be there !

Get Shorty 08-19-2006 03:22 PM

I'm using this with no problems on two different forums, both running 3.6.0.

Great mod!

Spleasure 08-19-2006 04:37 PM

mini2: you're right, stupid mistake. I am currently not able to work on this mod, but two weeks from now I will look at this problem.

wrang 08-21-2006 06:24 AM

What is this about when i get this text

<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->
in the replay
Attachment 52397

And how can i change this text over the picture from English to Swedish
Attachment 52398

Barteken 08-21-2006 10:49 PM

i'm having an issue with IE. for some reason the images are only resized after the thread is posted but when refreshing the image is back to it's full size (like the plugin is only loaded when posting or editing the thread.
also when a user is just viewing the thread the image isn't resized. No problems with firefox though...

rhino56 08-22-2006 07:48 AM

installed it and it didnt work, i see the settings and user options but they have no effect in ie or ff
example
http://www.cryo-laboratory.com/forum...ead.php?t=2251

edit: in IE i get this if its any help

https://vborg.vbsupport.ru/external/2006/09/13.jpg

Settler 08-23-2006 05:54 PM

its possible to resize the images in vbadvanced?

Eagle Creek 08-23-2006 10:33 PM

AT THIS MOMENT can I install this hack safely at my 3.6.0 board? Is it working?

Eagle Creek 08-23-2006 10:51 PM

I've installed and it's working great!

EXCEPT!

When I try to translate the English text to Dutch, the resizer doesn't work anymore. I only edit the phrase.

steven s 08-23-2006 11:24 PM

Quote:

Originally Posted by Eagle Creek
AT THIS MOMENT can I install this hack safely at my 3.6.0 board? Is it working?

Works great!

cerebro 08-24-2006 04:22 PM

I just install but like to change some value.

For default, for register user, configure open Image in New Windows.

How can i change that?

klausmx 08-24-2006 06:21 PM

where can i set the size that the image is resized??

installed

dutchbb 08-24-2006 07:23 PM

Very nice mod!! Should be added in vB 3.7 !


And thanks for the dutch language xml :)

Quote:

Originally Posted by Eagle Creek
EXCEPT!

When I try to translate the English text to Dutch, the resizer doesn't work anymore. I only edit the phrase.

Use the XML file in the zip and overwrite your dutch language, it works fine :)

noel_leon 08-25-2006 08:44 AM

Anyone have a clue how to make this work with vBadvanced?
The code is found when viewing the source but the image is not resized. I've been looking but cant really say I know what I am looking for.
Any help would be appreciated.

Settler 08-26-2006 10:00 AM

don't work in internet explorer 6.0
in Firefox and Opera it's all OK... where is the problem?

dutchbb 08-27-2006 12:31 AM

Yeah in IE it's not working unless you hit F5 in showthread...

alkatraz 08-30-2006 04:38 AM

can anyone confirm that this works in all major browsers and with vb3.6.0 final ?
thx!

Michaeel 08-30-2006 07:50 AM

nice mod, thanks!

dutchbb 08-30-2006 08:31 AM

Quote:

Originally Posted by alkatraz
can anyone confirm that this works in all major browsers and with vb3.6.0 final ?
thx!

Read my post above yours!

Spleasure 08-30-2006 10:54 AM

Quote:

Originally Posted by rhino56
installed it and it didnt work, i see the settings and user options but they have no effect in ie or ff
example
http://www.cryo-laboratory.com/forum...ead.php?t=2251

edit: in IE i get this if its any help

https://vborg.vbsupport.ru/external/2006/09/13.jpg

In Firefox I get a Javascript error about vbImageResize not being defined. It's in your body onload section, but it has nothing to do with this image resizer. See if you can get rid of that, it might stop the javascript engine from continuing.

Spleasure 08-30-2006 10:59 AM

Quote:

Originally Posted by Triple_T
Yeah in IE it's not working unless you hit F5 in showthread...

When I look at your forum (for example this thread) the images resize directly, even in IE.

henners 08-30-2006 12:25 PM

Just installed...was dubious after some of the comments, but it seems to be working fine on IE/Firefox :)

Nice one!

alkatraz 08-30-2006 03:22 PM

Quote:

Originally Posted by Triple_T
Read my post above yours!

lol I know, let me be more specific

What versions of IE is this working on? If it's working on IE7 that doesn't help my audience much. 6.0+, 5.5+ ?

thank you, can't wait to install it!

nix 08-30-2006 08:28 PM

works in IE 6 and FF for me. Its also working fine on 3.6

Spleasure 08-31-2006 05:46 PM

Quote:

Originally Posted by alkatraz
lol I know, let me be more specific

What versions of IE is this working on? If it's working on IE7 that doesn't help my audience much. 6.0+, 5.5+ ?

thank you, can't wait to install it!

It is supposed to work on 6.0, I am not able to reproduce the errors mentioned in this thread. I don't care about 5.5 or before.

ftuforum 08-31-2006 07:40 PM

it's not working for IE7^^ I hope there is a way to fix this

Eagle Creek 08-31-2006 10:01 PM

Quote:

Use the XML file in the zip and overwrite your dutch language, it works fine
I want to do it manually because there is a new Dutch Language pack.

nix 08-31-2006 10:06 PM

Quote:

Originally Posted by ftuforum
it's not working for IE7^^ I hope there is a way to fix this

Works on IE7 for me.

Jeordie015 08-31-2006 10:22 PM

Great hack!

One question though, is there a way to change the background and font color for the bar that appears above the images?

ftuforum 09-01-2006 12:13 AM

Quote:

Originally Posted by nix
Works on IE7 for me.

really? good for you^^
I don't know what I did wrong since all we have to do is upload the .js and import the .xml. You know what I can do to solve this problem??

lucky64 09-02-2006 04:39 PM

Works perfectly, I love it, Installed.

dutchbb 09-02-2006 04:46 PM

Quote:

Originally Posted by Spleasure
When I look at your forum (for example this thread) the images resize directly, even in IE.

Sometimes it works (link directly to thread like in your post) sometimes it doesn't (link from forumdisplay).

Try it out, it depents from where you access the thread...

I'm running IE 6.0.2900 btw.

Quote:

Originally Posted by Eagle Creek
I want to do it manually because there is a new Dutch Language pack.

You can use that new pack and than overwrite it with this one, it just adds the phrases for this hack nothing more.

Jon. 09-02-2006 05:39 PM

Quote:

Originally Posted by rhino56
installed it and it didnt work, i see the settings and user options but they have no effect in ie or ff
example
http://www.cryo-laboratory.com/forum...ead.php?t=2251

edit: in IE i get this if its any help

http://cryo-laboratory.com/upload/us...ageresizer.jpg

Same problem here. Just not resizing whatever i stick in the settings.

Linkage: http://www.thecarforum.net/forum/showthread.php?p=5164

Spleasure 09-05-2006 01:00 PM

Quote:

Originally Posted by Jon.
Same problem here. Just not resizing whatever i stick in the settings.

Linkage: http://www.thecarforum.net/forum/showthread.php?p=5164

For some reason the javascript file isn't included properly. Do you have any other plugins installed?

dutchbb 09-05-2006 01:36 PM

Hello Spleasure,

Question: is it possible to move the javascript completely to the extern file?

I mean this:

Quote:

<script type="text/javascript"> <!--
NcodeImageResizer.MODE = 'enlarge';
NcodeImageResizer.MAXWIDTH = 640;
NcodeImageResizer.MAXHEIGHT = 0;

vbphrase['ncode_imageresizer_warning_small'] =

etc...
That way there is less code in front of the content in the html source.

dutchbb 09-05-2006 01:41 PM

Oh, I understand now why that is, because it contains variables in admincp. Maybe an extern config file or database field to save the settings?

snake-boy 09-05-2006 03:34 PM

Works ok in ie6 for me, but ONLY on the default vbulletin skin. Switching to an alternate style, suddenly images are always displayed at thier original size, regardless of settings I set in admincp or usercp.

Switching back to default, immediatly everything works fine again.

If I can't resolve this, I'm afraid I'll have to uninstall since at least 50% of my users do not use the default skin. :(

Suggestions?

-snake

flexus 09-07-2006 06:37 PM

this addon is great, just uploadet the js file and added the product and everything works great.

firas 09-09-2006 03:56 AM

thanks

i just downloaded it and i will try it soon :)


All times are GMT. The time now is 04:48 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.02119 seconds
  • Memory Usage 1,829KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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