Coder Social home page Coder Social logo

friend-nicen / nicen-localize-image Goto Github PK

View Code? Open in Web Editor NEW
82.0 82.0 14.0 713 KB

wordpress用于本地化文章的外部图片的插件,支持文章发布前通过编辑器插件本地化、文章发布时自动本地化、文章定时发布时自动本地化、已发布的文章批量本地化。

License: GNU General Public License v2.0

PHP 30.04% CSS 1.46% JavaScript 67.15% SCSS 1.35%
wordpress wordpress-development wordpress-plugin

nicen-localize-image's People

Contributors

friend-nicen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nicen-localize-image's Issues

更新计划

记录一下近期收到的一些建议

  1. 截图后,在编辑器内粘贴上传图片
  2. 对接各大云平台的对象存储
  3. 本地化时添加水印
  4. 修复图片本地化添加到数据库后无法正常二次使用的问题
  5. 新增定时发布可以设置每日发布的文章数量上限
  6. 新增时区配置选项(兼容不同环境下偶发的时区问题)
  7. 新增图片压缩 可设置只压缩大于指定文件大小的文件
  8. 修复其他插件或主题使用Vue时会产生冲突,导致无法使用的问题
  9. 修复二级目录建站时,插件无法正常使用的问题
  10. 按时间日期保存下载好的图片
  11. 更新img匹配规则
  12. 替换图片时不只是替换图片地址,可以设置尺寸(缩略图,中等,大,全尺寸,也就是WordPress默认剪切的几个尺寸),对其方式(无,左中,右)
  13. 自定义Referer、请求头
  14. 可设置代理IP
  15. 本地化成功向指定的接口POST上传图片
  16. 增加保存到数据库时,是否生成图片缩略图的选项
  17. 增加本地化图片后自定义域名的选项

提交BUG

每次第一次本地化都不能全部本地化,要运行第二次才行

希望添加图片自动重命名功能

参考QQWorld Auto Save Images,将图片根据日期,文章名等.另外就是图片格式化,就是可以选择网站的图片的图片尺寸.我就看中这个插件就是因为只采集一次图片功能

Security contact

Hello maintainer(s),

I am a security researcher from the Institute of Application Security at TU Braunschweig, Germany. We discovered a (potential) security vulnerability in your project.

We would like to report this vulnerability to you in a responsible and ethical manner.
Therefore, we do not want to disclose any details of the vulnerability publicly until you have had a chance to review and fix it.

Could you please let us know your prefered way of receiving security reports?

You can contact us at [email protected] or by replying to this issue.

Thank you for your attention and cooperation.

随便测试了一下 出错了

2022-10-21 14:42:41,本地化失败,https:// /2022/09/14/x2y2xu.png图片链接无法访问!
可能是防盗链防采集?

插件权限问题

config配置
PLUGIN_nicen_make 项 capablity 不应该是edit_themes

配置了禁止编辑文件, 直接导致插件不可用.
define('DISALLOW_FILE_EDIT', true);
define('DISALLOW_FILE_MODS', true);

没有权限管理, 配置manage_options 应该就可以

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.