| 1 |
linkimagefield provides a image field type to cck. |
// $Id$ |
| 2 |
|
|
| 3 |
|
LinkImageField provides an "LinkImage" widget type to CCK. This module extends the |
| 4 |
|
ImageField widget, allowing a user to provide a URL link for it. |
| 5 |
|
|
| 6 |
Installing linkimagefield.module: |
Dependencies |
| 7 |
Download the linkimagefield release for your version. |
------------ |
| 8 |
Untar it in the Drupal modules directory. |
* ImageField |
| 9 |
|
* FileField |
| 10 |
|
* Content |
| 11 |
|
|
|
Activate the module through drupals administrative interface. |
|
| 12 |
|
5.x Version was written by Kamal Challa |
| 13 |
|
6.x Version was written by John Young |
| 14 |
|
|
| 15 |
|
Install |
| 16 |
|
------- |
| 17 |
|
|
| 18 |
|
1) Copy the linkimagefield folder to the modules folder in your installation. |
| 19 |
|
|
| 20 |
|
2) Enable the module using Administer -> Site building -> Modules |
| 21 |
|
(/admin/build/modules). |
| 22 |
|
|
| 23 |
|
3) Create a new linkimagefield through the CCK's interface. Visit Administer -> |
| 24 |
|
Content management -> Content types (admin/content/types), then click |
| 25 |
|
Manage fields on the type you want to add an image upload field. Select |
| 26 |
|
"File" as the field type and "LinkImage" as the widget type to create a new |
| 27 |
|
field. |
| 28 |
|
|
| 29 |
|
4) To establish the proper display, make sure that the correct formatter is |
| 30 |
|
selected. Visit Administer -> Content management -> Content types |
| 31 |
|
(admin/content/types), then click Display fields on the type with the |
| 32 |
|
Link Image Field. Make sure "LinkImage" is selected for Teaser and Body. |