处理图像序列上传的好方法是什么

发布于 2024-10-01 22:38:01 字数 146 浏览 1 评论 0原文

我正在实现一家在线商店的后端。商店定期收到新产品。每个产品都附带一系列图像,可在网站上实现 3D 旋转效果。将这些图像上传到网上商店的好方法是什么?我目前正在使用网络表单,但使用单独的上传表单元素上传每个图像感觉像是浪费时间。这些序列可以有 12-50 帧。有更好的方法建议吗?

I am implementing the back end for an online store. The store receives new products periodically. Each product comes with a sequence of images for a 3D rotation effect on the website. What is a good approach for uploading these images onto the web store? I'm currently using a web form but uploading each image using a separate upload form element feels like a waste of time. These sequences can have anywhere from 12-50 frames. Any suggestions for a better way?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

淤浪 2024-10-08 22:38:01

如果您希望对当前解决方案进行最小程度的更改,您可以将 multiple 属性添加到文件输入框,并更新后端以支持它。

然后,您可以使用现代浏览器一次选择多个文件,例如 Firefox 3.6。尝试:

<input type="file" multiple=""/>

If you want a minimum amount of change from your current solution you can add the multiple attribute to your file input box, and update your back-end to support it.

You can then select multiple files at once with a modern browser, for instance Firefox 3.6. Try:

<input type="file" multiple=""/>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文