vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Article images displayed too large (https://vborg.vbsupport.ru/showthread.php?t=268532)

otectom 08-14-2011 09:19 PM

Article images displayed too large
 
When posting CMS articles on my site I use the attachments to add images. After switching to a new theme I noticed that images display too large, cutting them off. See here for example

http://teamotec.net/content.php?182-...mport-Alliance
(first image is made at correct size, following images display too large)

In other themes on my site they display properly, but with this one they do not (feel free to choose a different style to view what I'm talking about). How can I edit this theme to display the images properly?

I have tried changing the vbcms_article_image_large_max stylevar, but with no change seen

kh99 08-14-2011 09:39 PM

I don't know a lot about CSS, but the one that's working has this in the CSS:

HTML Code:

.article img {
border: 0;
margin: 10px;
max-width: 800px;
}


and the other one is missing the max-width line.

otectom 08-15-2011 08:16 PM

What file was that in!?!?!?!?!?

kh99 08-15-2011 08:26 PM

It looks like it's in the common CSS template, and max-width is set by a stylevar. But it also looks like maybe you fixed the problem?

otectom 08-15-2011 08:37 PM

Yes I just did!!! It was in the vbcms.css template. Thanks for the help it was really appreciated!!


All times are GMT. The time now is 06:57 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.01066 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete