Comments (7)
理论上来说只要将后缀添加后是不限制任何上传的,但是由于本程序是专注于图片的,在file.php文件引用的类:class.upload.php更多的功能是提供给图片的,所以来说更需要修改是file.php及其引用的类,所以要加一个判断就是对于非图片的处理,由于我只针对于图片,所以给能给你建议,更多的功能需要你自行更改。
from easyimages2.0.
赞,已成功上传
from easyimages2.0.
赞,已成功上传
可以发过来参考一下。
from easyimages2.0.
from easyimages2.0.
from easyimages2.0.
。。。明明是你自己关闭的。
from easyimages2.0.
怎么把我的提案删掉了? 还有就是你不是作者嘛,你都说了方向了,怎么还问我怎么改的 我把file.php里的“$handle->allowed = array('image/');”添加多一个“video/“。还有就是把config/config.php里的” 'extensions'=>'bmp,jpg,png,tif,gif,pcx,tga,svg,webp,jpeg,tga,svg,ico'“添加多mp4之类的视频名称后缀就好了。
…
________________________________ 发件人: icret @.> 发送时间: Tuesday, November 30, 2021 6:27:42 PM 收件人: icret/EasyImages2.0 @.> 抄送: doullse @.>; State change @.> 主题: Re: [icret/EasyImages2.0] 支持视频的提案 (Issue #14) 赞,已成功上传 可以发过来参考一下。 ― You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub<#14 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMDBERBHNGJCMIHTL4JMO7LUOSRJ5ANCNFSM5I4Y5A3A. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
视频上传后可以在线播放吗?
from easyimages2.0.
Related Issues (20)
- API说明文档中python示例测试不成功,payload参数应该怎么设定? HOT 1
- 不知道为什么PHP搭建的项目总是被挖矿 HOT 3
- 查看已经上传图像的链接 HOT 1
- 隐藏存储路径不生效 HOT 7
- 登录重复跳转问题 HOT 2
- 求求求!!!后台删除图片了还能显示, HOT 1
- 安装完之后主页出现的错误提示
- 删除链接会有多余代码输出,api上传php8下会有键值不存在错误 HOT 3
- favicon.ico为何不显示呢
- V2.8.3→V2.8.5后,原来的Token不显示,新添加也不会显示 HOT 4
- 考虑支持webdav吗,目前通过alist挂载网盘可以使用webdav作为大存储。 HOT 1
- 能否增加显示图片请求次数和查重功能?
- 小小建议,markdown的图片格式,能否给obj.srcName参数设置开关 HOT 1
- 有没有支持对象存储的计划 HOT 1
- 希望增加不同用户单独的文件目录
- 能不能给一个地方设置限制文件大小啊,我想传几百M的大文件但是不知道如何操作了
- 反向代理还未处理的二级目录汇总 HOT 5
- 上传图片不修改源文件名 HOT 2
- api设置里添加了token为什么不显示
- 为什么这么喜欢用绝对路径呢 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easyimages2.0.