Skip to content

liunian-robert/onlinePreview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

onlinePreview

文件在线预览解决方案 核心主要是kkFileView的代码,主要在其基础上增加了fastdfs相关内容 更加符合当前文件在线预览,kkFileView地址:https://github.com/kekingcn/kkFileView

在kkFileView基础上增加如下内容:

1.文件存储在fastdfs文件系统中

2.文件访问通过nginx-fastdfs module进行,效率更高,更符合实际使用环境

3.文件访问进行token权限控制

4.文件的存储进行了去重处理(FastDHT)

如果对fastdfs安装及配置不熟悉可参考:http://srobert.pythonanywhere.com/article/7

fastdfs文件存储的去重问题(FastDHT)可参考:http://srobert.pythonanywhere.com/article/30

如何启动可参考kkFileView:https://github.com/kekingcn/kkFileView

图片预览:

image

doc文档预览:

image

ppt文档预览:

image

excle文档预览:

image

media文档预览:

image

无权文档预览(返回内容通过fastdfs中http.conf配置 详情可看http://srobert.pythonanywhere.com/article/7):

image

About

文件在线预览解决方案

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published