viewtopic.php?p=5799&sid=e789f6c3f43cf6 ... a4aa#p5799 OneManLaptop said:
I confess I hadn't considered that issue. My "client" (my wife's professional association) is a quasi-legal body and they won't need to add any graphics (except monochrome 200px square portrait shots when new members join). On the site that I'm about to hand over to the member who will be maintaining it once my wife retires at the end of this month, there are a few small decorative images (and I've supplied a few more, currently unused) so the text doesn't become too visually boring.My main concern right now is the image handling, every other week I have to run behind a client and edit the images they upload, because there's no resizing / resaving happening, so clients are uploading huge images to their site and obviously it kills performance.
Once I've documented it as fully as I can I plan to offer a de-personalised version of the template to WonderCMS soon after that.
Because the site is text intensive I use a "div#wrapper" to keep page content to a width of 900px and use this code within my style.css file:
Code: Select all
section.main img.center {
display: block;
width: 80%;
margin: 0 auto;
}
section.main img.right {
float: right;
margin-right: 1em;
max-width: 60%;
}
section.main img.portrait {
float: right;
width: 200px;
height: 200px;
margin-top: -2em;
margin-bottom: 0.5em;
margin-left: 0.5em;
}
@media (max-width:640px) {
section.main img.right {
display: block;
float: none;
max-width: 80%;
margin-left: auto;
margin-right: auto;
}
section.main img.portrait {
display: block;
float: none;
width: 200px;
margin: 1em auto;
}
}