Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一些打算的新功能 #2

Open
2 tasks done
straicat opened this issue Dec 11, 2018 · 3 comments
Open
2 tasks done

一些打算的新功能 #2

straicat opened this issue Dec 11, 2018 · 3 comments

Comments

@straicat
Copy link
Owner

straicat commented Dec 11, 2018

  • 图片自动缩放功能

有时会传一些大图作为博客的装饰图片,有的图片过大,浪费流量,拖慢速度。
所以,增加一个图片自动缩放的功能。设置图片最大尺寸,超出尺寸就自动缩放。

  • 支持del指定的文件

腾讯云网页版控制台有时实在太慢了。当前del只能删除最近的一个,应该像put那样可以删除指定的。

由于进行了图片重命名,所以del时必须指定名字。

@straicat
Copy link
Owner Author

straicat commented Dec 15, 2018

  • 图片重命名,多几种选择

uuid, sha1, md5, datetime, hex-timestamp

@straicat
Copy link
Owner Author

straicat commented May 24, 2019

  • 自定义链接格式

  • $URL: 图片链接

  • $KEY: Bucket键(对象存储上的)

  • $PREFIX: 图片前缀(对象存储上的)

  • $FILENAME: 图片文件名(对象存储上的)

  • $FILEPART: 图片文件名(无后缀,对象存储上的)

  • $FILEEXT: 图片扩展名(对象存储上的,有.

  • $BASENAME: 图片文件名(原图的)

  • $BASEPART: 图片文件名(无后缀,原图的)

  • $BASEEXT: 图片扩展名(原图的,有.

  • $FULLPATH: 文件路径(原图的完整路径)

  • $DIRNAME: 文件所在目录(原图的)

  • $DATE: 当前日期。可设置格式,默认为$DATE(%Y-%m-%d)

  • $DATETIME: 当前日期时间。可设置格式,默认为$DATETIME(%Y-%m-%d_%H%M%S)

@straicat
Copy link
Owner Author

straicat commented May 24, 2019

  • 支持阿里云
  • 支持本地目录

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant