1

我正在尝试向图像添加一个附加字段。例如位置,左或右。

因此用户可以添加多个图像并指定左侧或右侧位置。

在 Drupal 6 中,可以使用 imagefield_extended 或 cck multigroup。

使用 Drupal 7,如何添加与图像相关的字段?

用户应该能够在节点/添加或节点/编辑屏幕上重新排序这些图像及其相关数据。

4

1 回答 1

1

Have a look at http://drupal.org/project/field_collection, that might be want you are looking for.

Put simply, field_collection is a field to which you can attach fields. So you could create a field, add an image field to it and any number of other fields which are then automatically grouped.

There is also the media project, which exposes an media entity which can be an image and you can directly attach fields to: http://drupal.org/project/media

于 2011-02-07T12:42:02.890 回答