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 - Dynamic Picture Resize for [IMG] tag (https://vborg.vbsupport.ru/showthread.php?t=157228)

TECK 10-09-2007 04:03 PM

rapidphim, this hack will work great with files uploaded to the imageshack.us site. :)
Simply use the direct image link (last option on their list).

rapidphim 10-09-2007 08:04 PM

I always used the direct image link but sometime the images did not resize itself. So... just want to make sure.

urstorm.com 10-16-2007 12:45 PM

i did not under stand this ... explain pls

Quote:

Main CSS: Additional CSS Definitions
Insert into the second text area, the following CSS code:

.resizeimage { max-width: 800px; }
* html .resizeimage { width: expression((this.width > 799) ? '800px' : 'auto'); }


rapidphim 10-16-2007 03:11 PM

Go to your admincp, styles & templates, style manager, at the style that you want to make the edit, click on the drop down menu on the right, select Main CSS, scroll down all the way to the bottom, on the second box of the Additional CSS Definitions, copy and paste the above code to the end of the second box. That's it.

begore 10-16-2007 05:03 PM

Superb mod dude, installed! :D

rapidphim 10-20-2007 04:57 AM

Can anyone let me know how to apply the lightbox to this hack? Also, how are you going to center the image automatically? Thanks.

Fabikus 10-25-2007 01:36 PM

I think there is a little bug on Internet Explorer 7 with this script, it works good but when i click in my forum home page, where there is last message, and i click on thread title (showthread.php?goto=newpost&t=2) if the thread has a resized IMG it gives an error when make the redirect to showthread.php?p=355#post355

If i disable IMG resizer it works correctly.

TECK 11-07-2007 12:28 AM

Should not do this, at all. There is no relation to it.

kevcj 11-07-2007 01:33 AM

Thank you for this wonder add on - BUT, I was confused where the

Quote:

Main CSS: Additional CSS Definitions
Insert into the second text area, the following CSS code:
was at?

Could some more detailed instructions please be provided in the zip file?

Marks installed, finally.

yoyoyoyo 11-07-2007 02:05 AM

Quote:

Originally Posted by kevcj (Post 1377444)
Thank you for this wonder add on - BUT, I was confused where the



was at?

Could some more detailed instructions please be provided in the zip file?

Marks installed, finally.

Admin Control Panel -> Styles & Templates -> Style Manager -> Main CSS
at the bottom of the page you will see a box that says: Additional CSS Definitions

paste the code supplied in to the second box


All times are GMT. The time now is 07:45 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.01925 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)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
  • (10)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