Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2012, 02:55 PM
MaxBasher MaxBasher is offline
 
Join Date: Oct 2011
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Setting image sizes in CMS Article

I guess I'm missing something simple here but after a lot of searching I can't find the answer. Therefore please could someone explain how I set the size of the image in a CMS article? At the moment they are appearing full size like on this page: http://www.maxbashing.com/content.ph...LiPo-Batteries

I need them to be a max of 580 pixels wide.

I've set it to this in the image_large_max style var and also in the attachment manager preferences (for all formats) but neither seems to make any difference.

Thanks
Reply With Quote
  #2  
Old 04-15-2012, 03:41 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want to set a max size for all images there, just add something like this to the additional.css:
.article img {max-width: 400px;}

You should be able to click on the image when in WYSIWYG mode and set a size for the image also.
Reply With Quote
  #3  
Old 04-15-2012, 04:27 PM
MaxBasher MaxBasher is offline
 
Join Date: Oct 2011
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, thanks for the css fix, added that it an it worked a treat - will keep it simple for my mods adding news.

I've seen references to the "image settings" and thought it primitive that you couldn't do things like this but never found them. From what you're saying, I'm guessing it's because when I add images, I use the manage images button and insert inline, this just shows the images as [ATTACH=CONFIG]1435[/ATTACH]

Is there another way to insert images so they show in the post?
It's one thing that annoys me with VB, you get all the instructions on how to do the fancy stuff but not the simple things, for simple people like me
Reply With Quote
  #4  
Old 04-15-2012, 11:43 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you use the WYSIWYG editor, then you will see the actual image in the editor when you are creating the post/article and you may click on it to edit it. You cannot do so while in Source Mode.
Reply With Quote
  #5  
Old 01-08-2013, 07:47 AM
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Location: Long Beach, CA
Posts: 997
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added that to additional css but i don't see any difference.?
Did i miss something.?
Is this still good for 4.2?


Also i notice in the Style Var there is a place to set the size of videos in the article preview, but not images.!?
You can make videos a certain size, but zero adjustments for images.!?
In what world does that make sense. lol (see attached)

Thanks for any help.
Attached Images
File Type: jpg cmsarticle.jpg (104.0 KB, 0 views)
Reply With Quote
  #6  
Old 01-08-2013, 09:21 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

check AdminCP > Settings > Options > content managment > use thumbnails in preview
Reply With Quote
  #7  
Old 08-10-2013, 11:59 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
If you want to set a max size for all images there, just add something like this to the additional.css:
.article img {max-width: 400px;}

You should be able to click on the image when in WYSIWYG mode and set a size for the image also.

This doesn't work...i set it for 200px...and it's still showing the same size
Reply With Quote
  #8  
Old 08-10-2013, 02:42 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You set *what* to 200 px (I mentioned two ways to do it)? And can we get a link to view the problem?
Reply With Quote
  #9  
Old 08-11-2013, 10:23 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You set *what* to 200 px (I mentioned two ways to do it)? And can we get a link to view the problem?
I added the 200px to addition.css

here's a screenshot
I want all the thumbnail to be for example no more than 200px...so it can all be the same size. right now it looks awful with different image, different size
Attached Images
File Type: jpg screen.jpg (98.3 KB, 0 views)
Reply With Quote
  #10  
Old 08-18-2013, 12:29 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You set *what* to 200 px (I mentioned two ways to do it)? And can we get a link to view the problem?
I answered above
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:16 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05397 seconds
  • Memory Usage 2,266KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete