vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - VBcms Image Resize (https://vborg.vbsupport.ru/showthread.php?t=245295)

marktrib3 07-02-2010 05:59 AM

www.mark-tribe.com
my vbcms
http://hotfile.com/dl/51946143/eefef...vbcms.rtf.html
i have modify only stile default simple black
thank you

Ohiocustoms 07-02-2010 06:30 PM

Quote:

Originally Posted by marktrib3 (Post 2063080)
www.mark-tribe.com
my vbcms
http://hotfile.com/dl/51946143/eefef...vbcms.rtf.html
i have modify only stile default simple black
thank you

Find this
Code:

.article img {
        border:0;
        max-height:{vb:stylevar 300px};
        max-width:{vb:stylevar 300px};
        margin:{vb:stylevar padding};

Replace with this
Code:

.article img {
        border:0;
        max-height:{vb:stylevar vbcms_article_image_large_maxSize};
        max-width:{vb:stylevar vbcms_article_image_large_maxSize};
        margin:{vb:stylevar padding};

Don't forget to do Step 2.

marktrib3 07-03-2010 11:46 AM

Ok work, thanks :)

Ohiocustoms 07-05-2010 02:08 AM

Quote:

Originally Posted by marktrib3 (Post 2063799)
Ok work, thanks :)

Your welcome, glad I could help.

bchertov 07-07-2010 01:32 AM

What does this hack do?

sticky 07-07-2010 08:02 AM

Quote:

Originally Posted by bchertov (Post 2065616)
What does this hack do?

Resizes CMS article images.

Only downside is you can't expand the images.

ckeins 09-17-2010 07:15 AM

This is just a very small mod, but it did help my forums a lot more than those big fancy mods nobody needs.

Thank you very much!

AURFSCAN 11-21-2010 03:08 AM

I had to do this for 4.08

vbcms.css in 4.08 looks like this

Code:


.article img {
        border:0;
        margin:{vb:stylevar padding};
        max-width:{vb:stylevar image_medium_max};

just replaced it with Ohio code and works well

thx Ohio

baerwurz 10-14-2011 06:21 AM

Is there a need for this mod, or does vbulletin 4.17 this resize by default?

DNN 10-17-2011 03:31 PM

couldn't agree more


All times are GMT. The time now is 03:29 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.00988 seconds
  • Memory Usage 1,734KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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