vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - BBR - Resize Images with lytebox v3.22 (https://vborg.vbsupport.ru/showthread.php?t=230411)

Noerenberg 06-26-2010 12:26 AM

Quote:

Originally Posted by graham_w (Post 2056751)
Hello

In researching how to fix another mod, it actually found a fix for this one on VB4.0.4

Remove the following code from postbit.css (Styles & Templates ->Style Manager->Edit Templates)

Code:

.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img {
        max-width: {vb:stylevar postbit_content_max_image_width};
        _width: expression(document.body.clientWidth > {vb:stylevar postbit_content_max_image_width.Size}? "{vb:stylevar postbit_content_max_image_width}": "auto" );
}



This removes the inbuilt VB4.0.4 image resizer and allows this mod to start working again.

Cheers


NOT work

TheLastSuperman 06-26-2010 04:44 PM

Excuse' ? The built in image resizer in vB4 does work, settings for CMS and forum images are in different stylevars or you can modify the css yourself

Code:

.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img {
        max-width: {vb:stylevar postbit_content_max_image_width};
        _width: expression(document.body.clientWidth > {vb:stylevar postbit_content_max_image_width.Size}? "{vb:stylevar postbit_content_max_image_width}": "auto" );
}

As far as signature images go simply copy the img size css definitions and apply that to the signature css class then any image in the signature also re-sizes if the image is larger than specified post image.

Mod is no longer needed unless BBR decides to update the mod to modify or overwrite these settings so you can still use lightbox etc.

Noerenberg 06-26-2010 06:28 PM

Quote:

Originally Posted by TheLastSuperman (Post 2059933)

As far as signature images go simply copy the img size css definitions and apply that to the signature css class then any image in the signature also re-sizes if the image is larger than specified post image.

hi,

can you explain this for me?

TheLastSuperman 06-26-2010 10:32 PM

Quote:

Originally Posted by Noerenberg (Post 2059990)
hi,

can you explain this for me?

Sure ;)

In postbit.css template

find:

Code:

        max-width: {vb:stylevar postbit_content_max_image_width};
        _width: expression(document.body.clientWidth > {vb:stylevar postbit_content_max_image_width.Size}? "{vb:stylevar postbit_content_max_image_width}": "auto" );

Copy then go down and find:

Code:

/*signature */
.signature {
        padding-top: 1em;
        border-top: {vb:stylevar signature_border};
        margin-top: 2em;
}

Replace with:

Code:

/*signature */
.signature {
        padding-top: 1em;
        border-top: {vb:stylevar signature_border};
        margin-top: 2em;
        max-width: {vb:stylevar postbit_content_max_image_width.Size};
        _width: expression(document.body.clientWidth > {vb:stylevar postbit_content_max_image_width.Size}? "{vb:stylevar postbit_content_max_image_width}": "auto" );
}

The only downside to that is the image size set by the post image carries through the entire signature not just the image if one is contained within.

Noerenberg 06-26-2010 10:47 PM

Hey,

thank you so much.

but it looks not so nice.
give it no way that the rezise work only for the signature image?

or can everyone fix this mod?

Jaske 06-28-2010 11:47 PM

very, very cool add-on!! Thanks!! I needed this bad.

rabidkevin 06-29-2010 05:11 AM

Does this work on calendar events?

wayne.richards@ 06-29-2010 08:38 AM

Wheree Are The Setting For This New Built In Image Resizer Then?

TheLastSuperman 06-30-2010 12:51 AM

Quote:

Originally Posted by wayne.richards@ (Post 2061572)
Wheree Are The Setting For This New Built In Image Resizer Then?

Style Vars, check vBulletin.com using search you'll find the answers there quicker than a mods thread slightly invaded by the topic ;)

spudz 06-30-2010 05:20 AM

Is there a way to make it so that images that are hyperlinked can be directed to the URL rather than the full image preview popup. I have a hyperlinked image in my sig and when you click on it, it only brings up the image popup window instead of opening the URL.

dippetas 07-08-2010 07:00 AM

very very good product thank you!!!!! this was just what i was looking for!!!!!

elemoum 07-11-2010 01:21 PM

any chance to get this work with 4.04?

Semmi 07-11-2010 02:34 PM

yeah. please get your brain in action and try to fix the "not working with 4.0.4" bug. this is very bad...

Ryan. 07-11-2010 11:22 PM

Quote:

Originally Posted by Semmi (Post 2067663)
yeah. please get your brain in action and try to fix the "not working with 4.0.4" bug. this is very bad...

Yes, I really need an image resizer for 4.0.4 too...

dippetas 07-12-2010 10:48 AM

great mod, but everytime a user edits his post that contains an image, lytebox doesn't work unless i update my threads information counters, has anybody the same prob with me?

Ryan. 07-13-2010 10:07 AM

Quote:

Originally Posted by dippetas (Post 2067987)
great mod, but everytime a user edits his post that contains an image, lytebox doesn't work unless i update my threads information counters, has anybody the same prob with me?

Do you mean you got it to work with 4.0.4? And does it expand the images if clicked? Or just shrink them?

promet 07-15-2010 03:42 AM

works well on 4.0.4 just installed and its ok except with little bug in ie8.

image ligt box loading so slow and buttons on it does not appears on ie8..any solution?..

thanks for mod btw.

elemoum 07-15-2010 11:13 AM

dont get this work. so tell me what have you done promet. ;)

tarzan22 07-17-2010 01:35 PM

Not working for 4.0.5, any solution.

Regards

EquinoxWorld 07-17-2010 03:12 PM

Quote:

Originally Posted by tarzan22 (Post 2070639)
Not working for 4.0.5, any solution.

Regards

Same here. Please if anyone knows a fix ...sharing is caring...

promet 07-17-2010 05:35 PM

Quote:

Originally Posted by elemoum (Post 2069441)
dont get this work. so tell me what have you done promet. ;)

just followed to instruction mate ..

just upgrade to 4.0.5 my forum and it totally does not works now:)

rayyan2005 07-17-2010 06:07 PM

Yeah. Version 4.0.5 not work

fevredsuk 07-19-2010 10:08 AM

doesn't work on 4.0.4 at all for me.
any plans for an update or not ???

EquinoxWorld 07-19-2010 12:15 PM

It's a shame that support for this mod has been nil for some time now. It has incredible usage and potential. Hope the dev gets around to updating this . Hasn't work for me since 4.0.3.

apokphp 07-19-2010 09:05 PM

Looked cool. I have 4.0.5. Installed. Doesn't work. Uninstalled.

Author (or vb.org) should list this mod as being "Not supported" so people's times are not wasted.

salvador21 07-20-2010 10:41 AM

Same here, used to work perfectly in 4.0.2, broken in 4.0.4 uninstalled

apokphp 07-20-2010 04:22 PM

Use this hack instead. Works great and it is supported.

https://vborg.vbsupport.ru/showthread.php?t=237650

elemoum 07-22-2010 03:17 PM

can anybody update this for 4.05? my intern lightbox doesn`t work anymore. dunno why :(

GONUMBER6 07-22-2010 06:06 PM

Excellent thank you!!!

manutdvn 07-23-2010 05:16 PM

Quote:

Originally Posted by rayyan2005 (Post 2070760)
Yeah. Version 4.0.5 not work

It works with 4.0.5 but it does not show the original size when I clicked on the picture. How to fix this?

Thanks.

Dutch_Boy 07-25-2010 06:57 PM

Works fine here.

I only got one little problem. This mod doesnt work in the profiel. Can you add this to?

redlabour 07-25-2010 08:55 PM

This mod does not work at Profile, FAQ and anywhere else then in Threads and Blogs. Useless.

123_y_321 07-27-2010 05:00 AM

wont work at all in my board. Im using 4.0.5 :(

movslow 07-27-2010 03:55 PM

Quote:

Originally Posted by 123_y_321 (Post 2075085)
wont work at all in my board. Im using 4.0.5 :(

I just re-installed it, no worky here either
:(

Jack12 07-28-2010 01:14 PM

Tried to install, but not working on my 4.0.5 board.

Tagged for when/if this is fixed.

Dutch_Boy 07-28-2010 05:57 PM

Its works fine. There must be a mod that blocks it. Because im running it to on 4.0.5 without any problems.

Also another problem:

http://img59.imageshack.us/img59/4761/ohg82kca.jpg

Someone copyt this link on my forum. When you open it it shows it as a small picture. When you click on it on the site where it comes from it gets bigger. This doesnt work with the mod :(

Can this be fix plz!

Pvtiste 07-29-2010 03:05 PM

no working for 4.0.5 :(
Help please :)

gersforum@gmail 07-31-2010 09:21 AM

Been having problems with this since we upgraded to 4.0.3. Now on the latest version and it's still not working.

e24h 08-10-2010 03:48 AM

no working for 4.0.5
Help please

DDIG 08-10-2010 04:58 PM

Not working for 4.0.5


All times are GMT. The time now is 04:11 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01915 seconds
  • Memory Usage 1,818KB
  • 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
  • (5)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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