You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在bw_focuspoint_images扩展的焦点点向导中添加图片上传字段

在TYPO3的bw_focuspoint_images扩展焦点点向导中添加图片上传字段的问题

我需要在TYPO3的bw_focuspoint_images扩展的焦点点向导里添加一个图片上传字段。目前已经通过以下PageTS代码添加了文本类型的图片字段,但改成type=file后无法生效:

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
}
}

我尝试给额外图片字段添加link字段,但通过文件关联图片后无法正常工作:

  • 操作界面:展示在向导中选择插入图片的操作页面
  • 结果界面:展示插入图片后无法正常显示的异常状态

当前使用的图片渲染代码:

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

内容的提问来源于stack exchange,提问作者Amrutha Lakshmi

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.20 00:35:33