| 1 |
=============================================================================
|
| 2 |
img_relocator
|
| 3 |
-----------------------------------------------------------------------------
|
| 4 |
@copyright (C) 2006-2007 Frederic G. MARAND
|
| 5 |
@license Licensed under the CeCILL, version 2
|
| 6 |
@version $Id: README.txt,v 1.3.4.1 2007/08/26 20:46:44 fgm Exp $
|
| 7 |
=============================================================================
|
| 8 |
|
| 9 |
0. Table of contents
|
| 10 |
--------------------
|
| 11 |
|
| 12 |
0. Table of contents
|
| 13 |
1. Purpose of the module
|
| 14 |
2. Installing
|
| 15 |
3. Upgrading
|
| 16 |
4. Uninstalling
|
| 17 |
5. Support
|
| 18 |
|
| 19 |
1. Purpose of the module
|
| 20 |
------------------------
|
| 21 |
|
| 22 |
This module allows content authors to use simplified URLs for IMG elements in
|
| 23 |
their nodes. In short, these can be typed as:
|
| 24 |
<img src="someimage.png" alt="a beautiful image" />
|
| 25 |
|
| 26 |
instead of
|
| 27 |
<img src="http://www.example.com/sites/foo/files/someimage.png"
|
| 28 |
alt="a beautiful image" />
|
| 29 |
|
| 30 |
The img_relocator input filter, when activated, will automatically generate
|
| 31 |
absolute URLs for the images, avoiding the problems with relatives URLs, which
|
| 32 |
do not work when images appear in node lists, and avoiding the portability
|
| 33 |
problems arising when moving content, be it for a change of site layout, or
|
| 34 |
for RSS aggregation, since the absolute URL is maintained.
|
| 35 |
|
| 36 |
2. Installing
|
| 37 |
-------------
|
| 38 |
|
| 39 |
a. copy the files to the modules directory on your site, typically:
|
| 40 |
<base>/sites/all/modules/img_relocator
|
| 41 |
b. activate the module from the modules page:
|
| 42 |
http://www.example.com/admin/build/modules
|
| 43 |
c. configure the input format(s) for which you want to enable
|
| 44 |
the img_relocator filter:
|
| 45 |
http://www.example.com/admin/settings/filters
|
| 46 |
|
| 47 |
3. Upgrading
|
| 48 |
------------
|
| 49 |
|
| 50 |
a. Erase the previous module files
|
| 51 |
b. Copy the new files in
|
| 52 |
|
| 53 |
There is no need to update: nothing changed code-wise since version 5.
|
| 54 |
|
| 55 |
4. Uninstalling
|
| 56 |
---------------
|
| 57 |
|
| 58 |
a. unconfigure the img_relocator filter from the input formats
|
| 59 |
for which it is declared at:
|
| 60 |
http://www.example.com/admin/settings/filters
|
| 61 |
b. deactivate the module from the modules page:
|
| 62 |
http://www.example.com/admin/build/modules
|
| 63 |
|
| 64 |
There is no need to run an uninstall: the module stores nothing in the DB.
|
| 65 |
|
| 66 |
5. Support
|
| 67 |
----------
|
| 68 |
|
| 69 |
Feel free to inform about bugs or request features by contacting the author
|
| 70 |
on Drupal.org
|
| 71 |
http://drupal.org/user/27985/contact
|
| 72 |
|
| 73 |
Commercial-grade support and custom development is available from OSInet,
|
| 74 |
in french and in english. Contact:
|
| 75 |
http://www.osinet.fr/osi/contact.asp
|
| 76 |
|