vb.org Archive

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

Oclamora 06-30-2011 05:06 PM

Blog large images
 
Hi,

I'm having an images crises with the blog section.

When inserting large images in the blog section they goes over the right boarders.

Here is a screenshot of the issue:
https://dl.dropbox.com/s/oc90twvdopv...nImagesBug.jpg


I've tried the support system but they were no help at all, and I was hoping someone can.

I also, talked to Lynn and she mentioned that I need to code some css codes to control the images max-width. Unfortunately, she can't help because she is going on a vacation.

Please I need help as soon as possible.

Thank you!

BTW this post has been also posted on vb.com

Jeff Ledger 06-30-2011 05:40 PM

Please remember to provide a link to your board / in case needed also user/pass for test account.

Lynne 07-26-2011 11:18 PM

If you would post a link to the blog page so we can see the issue, we'd be able to easily write some custom CSS for you.

Oclamora 07-27-2011 11:24 AM

Hi Lynn,

Due to the forum being closed and for testing purposes only, I send you the info you need such as db info, admin login info, URL's via PM. I'll post your replies here when I receive them :)

Thank you!

--------------- Added [DATE]1311815133[/DATE] at [TIME]1311815133[/TIME] ---------------

Ok, here's the fix from Lynn:

Quote:

add to your additional.css template to make the blog image smaller
Code:

.blogcontent img {max-width: 800px;}

That worked perfectly :)

Also, if you want to make it more dynamic "fits the user screen" you can do it this way, but you have to change the stylevar "image_large_max" value to '%100'
Code:

.blogcontent img {
max-width:{vb:stylevar image_large_max};
}

All the best!

Oclamora 07-28-2011 03:18 PM

Hi Lynn,

After some testing, I found a problem with the code. The code doesn't apply to the comments, only the entries. Any solution for that? I also have to test this, but I think the fix you gave me before for the CMS doesn't apply to the comments as will.

Thank you!

--------------- Added [DATE]1311872852[/DATE] at [TIME]1311872852[/TIME] ---------------

I'm trying to fix the img tag in the blog comments problem but I'm not sure if this is right?
Code:

.blogcontent img {
        max-width: 800px;
}

.posttext img {
        max-width: 800px;
}


Lynne 07-28-2011 04:50 PM

I would need to see a link to a blog comment with the image problem in order to write some CSS.


All times are GMT. The time now is 01:02 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.01088 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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