Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 15 Apr 2012, 16:55
MaxBasher MaxBasher is offline
 
Join Date: Oct 2011
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 15 Apr 2012, 17:41
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 15 Apr 2012, 18:27
MaxBasher MaxBasher is offline
 
Join Date: Oct 2011
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 16 Apr 2012, 01:43
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #5  
Old 08 Jan 2013, 08:47
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
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, 14 views)
Reply With Quote
  #6  
Old 08 Jan 2013, 22:21
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
check AdminCP > Settings > Options > content managment > use thumbnails in preview
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #7  
Old 10 Aug 2013, 13:59
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
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
__________________
____________
BossLady
Reply With Quote
  #8  
Old 10 Aug 2013, 16:42
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
You set *what* to 200 px (I mentioned two ways to do it)? And can we get a link to view the problem?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #9  
Old 12 Aug 2013, 00:23
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
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, 4 views)
__________________
____________
BossLady

Last edited by MissKalunji; 18 Aug 2013 at 14:29.
Reply With Quote
  #10  
Old 18 Aug 2013, 14:29
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
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
__________________
____________
BossLady
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 17:09.

Layout Options | Width: Wide Color: