I'm looking for something that should be fairly fundamental for a CMS: a content type that lets a non-technical user write a basic web page with images placed in appropriate spots.
In other words, our non-technical users should be able to create something basic like:

  Blah blah blah blah blah blah blah bl  -----------------
blah blah blah blah blah blah blah blah  |               |
blah blah blah blah blah blah blah blah  |     image     |
blah blah blah blah blah blah blah blah  |               |
blah blah blah blah blah blah blah blah  -----------------
------------------  blah blah blah blah blah blah blah blah
|                |  blah blah blah blah blah blah blah blah
|    image       |  blah blah blah blah blah blah blah blah
|                |  blah blah blah blah blah blah blah blah
------------------  blah blah blah blah blah blah blah blah
 blah blah blah blah blah blah blah blah blah blah blah blah

It should be flexible enough for the users to place images and text in different places. How can I enable this with Drupal 7?

Comments

tomas.teicher’s picture

install some wysiwyg editor, for example ckeditor module

Mark_L6n’s picture

Thanks for the direction. It looks like you need to install a WYSIWYG editor and also a module for "WYSIWYG inline image uploading". Here's a page that lists many: http://groups.drupal.org/node/84209 (the versions listed there aren't current as I write this, though).

tomas.teicher’s picture

I am using Ckeditor as wysiwyg editor and ckfinder as image uploader. Ckeditor & ckfinder have not so simple installation as common modules. You need to read carefuly README file of ckeditor module.

Mark_L6n’s picture

Takes a while to get a basic editing page going! I installed the WYSIWYG module and CKEditor.

Another issue is how to configure CKEditor--no editing buttons are enable by default, and one wonders whether to check them all or if any security vulnerabilities could arise from this. Then you need to figure out what corresponding HTML code to allow with Filtered HTML. At the CKEditor Module pages (apparently a substitute for the WYSIWYG module, not the CKEditor editor), the following HTML tags are recommeneded:
<a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <caption> <tbody> <tr> <td> <em> <b> <u> <i> <strong> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <embed> <object> <param> <strike>
It also mentions that an HTML filter module could be used instead. HTML Purifier has a Drupal 7 development release. It's not clear tom whether I should install this or not. Confusing! Is it best practice to add a couple Texts Formats of Filtered HTML, for example one for visitors who make comments, and one for your own content developers.

To use images, I installed IMCE, but you also need another module for it to work with WYSIWYG, IMCE Wysiwyg bridge (but that's still in a development version too).

Here is a helpful page: http://drupal.org/node/817550

Mark_L6n’s picture

Turns out there are formatting problems. Images didn't display in correct size or location, couldn't justify text. Added the HTML Purifier module (and also the Libraries module it recommended), and these problems then went away. In Admin->Configuration->Text Formats, disabled "Limit allowed HTML tags" and used regular (i.e. not 'advanced") version of HTML Purifier.