// $Id$

The image max filter module provides a filter that makes it easy to set max
images size, especially when combined with BBcode and Image Resize filter.
Users never have to worry about scaling image sizes again, just insert an
image.

Author: Alexandre Catalifaud (calexo)

Dependencies
------------
 * Drupal 6 or 7

Install
-------
1) Place the entire image_max_filter directory in sites/all/modules. Then
   enable the module in Drupal.

2) Visit the Adminsiter->Site configuration->Input formats
   (admin/settings/filters). Click "configure" next to the input format you want
   to enable the image resize filter on.

3) Check the box for "Image max filter" under the list of filters and save
   the configuration.

4) IMPORTANT: Click the "Rearrange" tab to check the order of the filters.

   If using the Image Max Filter on the "Filtered HTML" input format, you
   MUST ensure A) that the <img> tag is in the list of allowed tags and B) The
   "Image max filter" is run BEFORE the "HTML filter".

   If using the Image Max Filter with BBCode or some other non-HTML filter,
   the "Image max filter" must be run AFTER the BBCode filter.
   
   If using the Image Resize Filter, the "Image max filter" must be run BEFORE the
   Image Resize filter.

5) Click "configure" next to the input format the image max filter
   has been enabled on, then click the "Configure" tab so set the
   maximum width and/or height.

Identifying problems
--------------------
It is important to understand that Image Max Filter has absolutely no effect
on the content creation form. This module is only responsible for the display of
output and has absolutely no effect on editing or creating new content.

Support
-------
If you experience a problem with Image Max Filter, file a request or issue in
the Image Resize Max queue at
http://drupal.org/project/issues/image_max_filter.
DO NOT POST IN THE FORUMS. Posting in the issue queues is a direct line of
communication with the module authors.
