You are here

README.txt in Caption Filter 6

Same filename and directory in other branches
  1. 7.2 README.txt
  2. 7 README.txt
Caption Filter is a module that converts WordPress-style [caption] tags into
HTML markup. It also allows floating images left or right in a way that avoids
allowing users access to "style" attributes, moving both the image and the
caption at the same time.

Installation
------------

1. Enable the module on the modules page.

2. Go to the admin/settings/filters page and enable the "Caption filter" to the
   input format(s) that should be allowed to use this filter.

3. IMPORTANT: After enabling the fitler, click the "Rearrange" tab within the
   input format configuration. Make sure that the "Caption filter" is run AFTER
   the "HTML filter" (if enabled). Generally having the Caption filter as the
   last filter run will be appropriate.

Usage
-----

While entering content, choose an input format that utilizes the caption filter.
In a plain textarea, the entered code should look like this:

A simple caption:
[caption]<img src="" alt="" />This is an image caption[/caption]

Aligned Caption (can be left, center or right):
[caption align=right]<img src="" alt="" />This is a right aligned caption[/caption]

File

README.txt
View source
  1. Caption Filter is a module that converts WordPress-style [caption] tags into
  2. HTML markup. It also allows floating images left or right in a way that avoids
  3. allowing users access to "style" attributes, moving both the image and the
  4. caption at the same time.
  5. Installation
  6. ------------
  7. 1. Enable the module on the modules page.
  8. 2. Go to the admin/settings/filters page and enable the "Caption filter" to the
  9. input format(s) that should be allowed to use this filter.
  10. 3. IMPORTANT: After enabling the fitler, click the "Rearrange" tab within the
  11. input format configuration. Make sure that the "Caption filter" is run AFTER
  12. the "HTML filter" (if enabled). Generally having the Caption filter as the
  13. last filter run will be appropriate.
  14. Usage
  15. -----
  16. While entering content, choose an input format that utilizes the caption filter.
  17. In a plain textarea, the entered code should look like this:
  18. A simple caption:
  19. [caption]This is an image caption[/caption]
  20. Aligned Caption (can be left, center or right):
  21. [caption align=right]This is a right aligned caption[/caption]