Title: Picture Tag
Author: Artilab Company LTD
Published: <strong>2024 年 12 月 2 日</strong>
Last modified: 2026 年 1 月 9 日

---

搜索插件

![](https://ps.w.org/picture-tag/assets/icon-256x256.png?rev=3286124)

# Picture Tag

 作者：[Artilab Company LTD](https://profiles.wordpress.org/artilab/)

[下载](https://downloads.wordpress.org/plugin/picture-tag.1.5.0.zip)

 * [详情](https://cn.wordpress.org/plugins/picture-tag/#description)
 * [评价](https://cn.wordpress.org/plugins/picture-tag/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/picture-tag/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/picture-tag/#developers)

 [支持](https://wordpress.org/support/plugin/picture-tag/)

## 描述

The **Picture Tag** plugin allows you to easily integrate responsive `<picture>`
tags into your WordPress site. This plugin adds support for generating modern image
formats like **WebP** and **AVIF**, improving performance and SEO.

Features:
 – A function for displaying images using the picture tag. – Support for
WebP and AVIF formats. – Flexible settings for custom paths and image attributes.–
A shortcode `[arti_picture]` for inserting responsive tags with customizable attributes.

## 屏幕截图

[⌊Settings Page
Customize paths for WebP and AVIF image directories.⌉⌊Settings Page

Customize paths for WebP and AVIF image directories.⌉[

**Settings Page**
 Customize paths for WebP and AVIF image directories.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/picture-tag` directory or install
    it directly from the WordPress Plugin Repository.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Configure the settings under “Settings > Picture Tag”.

## 常见问题

### Does this plugin require specific hosting features?

No, the plugin works on any WordPress site. However, to use WebP and AVIF formats,
ensure your server supports these formats.

### Can I customize the generated “ tag?

Yes, the plugin provides options to configure custom paths and add attributes to
images.

### How do I add a screenshot to the media library?

To add a screenshot or image for use with the plugin:
 1. Go to **Media > Add New**
in your WordPress admin dashboard. 2. Upload the desired image (e.g., a screenshot).
3. Once uploaded, note the **attachment ID** of the image. You can find this in 
the image URL or by editing the image. 4. Use the attachment ID with the shortcode
to display the image in `<picture>` format.

**Example Shortcode:**
 `[arti_picture id="123" size_1x="medium" size_2x="large"
alt="Example screenshot" class="screenshot-image"]`

## 评价

此插件暂无评价。

## 贡献者及开发者

「Picture Tag」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Artilab Company LTD ](https://profiles.wordpress.org/artilab/)

[帮助将「Picture Tag」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/picture-tag)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/picture-tag/)，查看[SVN仓库](https://plugins.svn.wordpress.org/picture-tag/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/picture-tag/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/picture-tag/)。

## 更新日志

1.4.2 =
 * Fix warnings

1.4.1 =
 * Fix fatal error

#### 1.4

 * Added improved caching system for better performance
 * Implemented proper cache clearing when media is updated
 * Added cache management tools in the admin interface
 * Enhanced security with proper nonce verification
 * Tested and confirmed compatibility with WordPress 6.8

#### 1.3.1

 * Improved performance by focusing only on local file operations
 * Improved code readability with clearer documentation
 * Fixed potential timeout issues when checking image formats

#### 1.3.0

 * Added support for custom data-* attributes in `[arti_picture]` shortcode.
 * Added support for custom data-* attributes in the `arti_the_image` function.

#### 1.2.0

 * Added translation support for multilingual use.
 * Improved text domain loading for better localization.
 * Fixed minor bugs and enhanced compatibility with the latest WordPress versions.

#### 1.1.1

 * Update documentation.

#### 1.1.0

 * Refactoring of the plugin structure to improve the ease of maintenance.
 * Added `[arti_picture]` shortcode to display responsive `<picture>` tags.
 * Added documentation on the use of shortcodes.

#### 1.0.0

 * Initial release.
 * Integrated WebP and AVIF format support.

## 额外信息

 *  版本 **1.5.0**
 *  最后更新：**9 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.10**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/picture-tag/)
 * 标签
 * [responsive images](https://cn.wordpress.org/plugins/tags/responsive-images/)
 *  [高级视图](https://cn.wordpress.org/plugins/picture-tag/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/picture-tag/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/picture-tag/reviews/)

## 贡献者

 *   [ Artilab Company LTD ](https://profiles.wordpress.org/artilab/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/picture-tag/)