定制 patelutkarsh/better-file-name 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

patelutkarsh/better-file-name

最新稳定版本:1.4.2

Composer 安装命令:

composer require patelutkarsh/better-file-name

包简介

A WordPress plugin to rename the image based on the image content using openai.

README 文档

README

Description

This WordPress plugin renames files to be more readable using an open API (gpt-4-vision) upon upload and generates accessible alt text for images.

Rename file idea for WordPress was originally purposed by Pascal Birchler in following tweet.

Additional features:

  • Allows generating featured image using dall-e-2 or dall-e-3 API.

Note: GPT-4 Vision is in preview, It is not recommended to use this plugin on a production site.

Demo:

demo.mp4

Installation

Manual Installation

  1. Download the zip file from the GitHub release
  2. Upload the plugin folder to /wp-content/plugins/.
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. Set up the open API key from the settings page under the 'Tools' menu: /wp-admin/tools.php?page=better-file-name-settings

Composer Installation (if your setup supports composer autoloading)

  1. Run composer require patelutkarsh/better-file-name command.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Set up the open API key from the settings page under the 'Tools' menu: /wp-admin/tools.php?page=better-file-name-settings

Generate Missing Alt Text

Run following command to generate alt text for all images that do not have any.

wp better-file-name generate-alt-text --dry-run

This can take a while depending on the number of images on your site.

统计信息

  • 总下载量: 18
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 17
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 17
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2023-11-18