如何在bw_focuspoint_images打字错误扩展的焦点向导中添加图像字段



我想在bw_focuspoint_images打字错误扩展的焦点向导中添加一个图像字段。请帮忙。我使用以下代码PageTS添加了一个图像文本字段。但我希望将字段类型上传到文件,而不是文本类型。当我给出type=文件时,它不起作用。

mod.tx_bwfocuspointimages.settings.fields {
name {
title = LLL:EXT:bw_focuspoint_images/Resources/Private/Language/locallang_db.xlf:wizard.fields.name
type = text
}
description {
title = LLL:EXT:bw_focuspoint_images/Resources/Private/Language/locallang_db.xlf:wizard.fields.description
type = textarea
}
image {
title = LLL:EXT:bw_focuspoint_images/Resources/Private/Language/locallang_db.xlf:wizard.fields.image
type = text
}
color {
title = LLL:EXT:bw_focuspoint_images/Resources/Private/Language/locallang_db.xlf:wizard.fields.color
type = select
options {
red = LLL:EXT:bw_focuspoint_images/Resources/Private/Language/locallang_db.xlf:wizard.fields.color.red
green = LLL:EXT:bw_focuspoint_images/Resources/Private/Language/locallang_db.xlf:wizard.fields.color.green
blue = LLL:EXT:bw_focuspoint_images/Resources/Private/Language/locallang_db.xlf:wizard.fields.color.blue
}
}
link {
title = LLL:EXT:bw_focuspoint_images/Resources/Private/Language/locallang_db.xlf:wizard.fields.link
type = link
}

}

我已经为我的额外图像字段插入了一个链接字段。但是当我从文件中链接图像时,它不起作用。下面是我插入图像和结果的方式。在此处输入图像描述

在此处输入图像描述

这是图像的代码。

<img src="{point.image}">

我是这个扩展的作者。不支持字段类型file。由于整个向导以非常复杂的模式打开,因此没有必要这样做。要引用文件,请使用类型link:通过文件列表上载文件并通过向导链接。