我为图像创建了一个上传表单,它可以正常工作并将文件保存在 Contents/Resources/uploads 中。
我现在想在我的 Web 应用程序中显示这些图像:如何检索 URL?
最佳答案
要显示 Seaside 图像,您可以使用...
html url: <some image resource>
...如果该图像在您的 Seaside 图像中,则图像资源可以编码为...
html url: WAFileLibrary / #myNewImagePng
...翻译为...
html url: '/files/WAFileLibrary/myNewImage.png'
通常 WAFileLibrary 的子类将用于您的应用程序。
关于image - Seaside:服务器上图像的 URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10979983/