/[drupal]/contributions/modules/image_caption/README.txt
ViewVC logotype

Contents of /contributions/modules/image_caption/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Fri Mar 7 05:46:23 2008 UTC (20 months, 3 weeks ago) by davidwhthomas
Branch: MAIN
CVS Tags: DRUPAL-6--2-3, DRUPAL-6--2-2, DRUPAL-6--2-1, DRUPAL-6--1-0, HEAD
Branch point for: DRUPAL-6--2
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Drupal 6.x update
1 $Id$
2 DESCRIPTION:
3 This module uses JQuery to add captions to images.
4 The image title attribute is used to create the image
5
6 EXAMPLE:
7 <img src="/files/example.jpg" title="example caption" class="caption" />
8 This will result in an image with the caption of 'example caption'
9
10 Important:
11 Only images with the class of 'caption' will be included in processing.
12 Therefore, you need to be able to add the class of 'caption' to your selected images for captioning to work.
13 If you are using a WYSIWYG editor like FCKEditor or TinyMCE, you should enable the 'styles' select box
14 and add ".caption{}" to the stylesheet used by your WYSIWYG editor and configured in it's settings page.
15 Alternatively, you will need to find a way to add the class of caption to your images for captioning.
16
17 INSTALL:
18 1. Copy the image_caption folder to your Drupal modules folder
19 2. Add the css definition: .caption{} to the stylesheet used by your WYWSIWYG editor,
20 or perhaps to your theme style.css file.
21 3. Enable the Image Caption module in Drupal module administration.
22 4. After install, you can select the node types to include in image caption processing under
23 Site Configuration > Image Caption
24
25 Personally, I use the TinyMCE 'advanced image' plugin to select the caption class and set the image title when creating content.
26 You could also use a similar function in FCKEditor or find a way to add class="caption" to the images that you wish to caption.

  ViewVC Help
Powered by ViewVC 1.1.2