Controlling the size of images in the body in the Domino Blog

Denny Russell  July 19 201009:42:13 AM
Many of us use the Domino Blog template and it's a great tool and it is very easy to customize this. Often, I see entries where the blogger places a screen shot in for visual help on the entry.  One thing you will find is if the image is too large, it scrolls of the right size and you lose your right side menu or even worse, the text around the entry like this...
Image:Controlling the size of images in the body in the Domino Blog

You've got several options for how to fix this.
1.  Remember to size down your images and make sure they don't cause scrolling. Way to much work in my opinion but an option.
2.  Add a simple entry to your Global.css file (found here in advanced > resources > stylesheets)
.entryBody img {
max-width:700px
}
Note1: I made my max width 700px because it worked for all my changes.  You may want to set your differently depending on what else you have customized.
Note2: You could also enter this directly in the design stylesheet (default.css) to mostly fix this.

The change now makes the same page look like this...
Image:Controlling the size of images in the body in the Domino Blog
Comments

1 Sriram     7/19/2010 10:41:25 PM  
Controlling the size of images in the body in the Domino Blog

Thanks Denny for your tip. I've two queries on this blog template:

1. How do I turn off auto-filling of subject (from the blog post's subject) in comments?

2. Does the 'Remember me' cookie feature to remember person's name, email etc. while posting comment work in Internet Explorer?

Thanks.

2 Patrick Kwinten     http://quintessens.wordpress.com 7/20/2010 3:44:53 AM  
Good post for the Domino Blog Wiki

I wished there was just one Wiki for the Domino Blog application.

But IBM is again soooo helpful to us.

3 Denny Russell     http://www.lotusdr.com 7/21/2010 8:04:41 AM  
Controlling the size of images in the body in the Domino Blog

@1 The Auto-filling of subject is controlled by the setting on the Configuration Document. I believe that the 'Site Settings - Content Creation' option controls both the original post and the comments.

As for your second question, I am not sure. It may depend on the IE version.

@2 The template is a very powerful tool. Steve Castledine originally wrote this and has a lot of great help on his site. { Link }

4 Sriram     7/21/2010 10:30:13 PM  
Controlling the size of images in the body in the Domino Blog

No. 'Site settings - Content Creation - Auto Populate Pagename from Subject' controls only the blog post's page name.

Still could not find how to turn off auto-filling comment subject :-(

Custom Blogger Search

Get your copy of the IBM Lotus Notes and Domino 8.5.1 Book
 
 
  • Admin Thanks to Chris Miller and Connectria for hosting this blog.