{"id":212867,"date":"2024-12-02T21:29:56","date_gmt":"2024-12-02T21:29:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/picture-tag\/"},"modified":"2026-01-09T12:10:09","modified_gmt":"2026-01-09T12:10:09","slug":"picture-tag","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/picture-tag\/","author":22042237,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5.0","stable_tag":"1.5.0","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Picture Tag","header_author":"Artilab","header_description":"Picture Tag with Custom Path Settings","assets_banners_color":"","last_updated":"2026-01-09 12:10:09","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/artilab.pro\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1040,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"artilab","date":"2024-12-02 21:31:30"},"1.1.0":{"tag":"1.1.0","author":"artilab","date":"2024-12-17 14:42:32"},"1.1.1":{"tag":"1.1.1","author":"artilab","date":"2024-12-17 15:08:29"},"1.2.0":{"tag":"1.2.0","author":"artilab","date":"2024-12-24 18:26:43"},"1.3.0":{"tag":"1.3.0","author":"artilab","date":"2025-02-10 19:57:52"},"1.3.1":{"tag":"1.3.1","author":"artilab","date":"2025-02-27 21:19:18"},"1.4.0":{"tag":"1.4.0","author":"artilab","date":"2025-05-06 07:16:15"},"1.4.1":{"tag":"1.4.1","author":"artilab","date":"2025-05-06 07:38:31"},"1.4.2":{"tag":"1.4.2","author":"artilab","date":"2025-05-06 07:57:05"},"1.5.0":{"tag":"1.5.0","author":"artilab","date":"2026-01-09 12:10:09"}},"upgrade_notice":{"1.0.0":"<p>This is the first version of the plugin. Please report any issues or suggestions for improvement.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3286124,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3286124,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1","1.2.0","1.3.0","1.3.1","1.4.0","1.4.1","1.4.2","1.5.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3435882,"resolution":"1","location":"plugin"}},"screenshots":{"1":"<strong>Settings Page<\/strong><br \/>\nCustomize paths for WebP and AVIF image directories."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[235329,2698],"plugin_category":[],"plugin_contributors":[235330],"plugin_business_model":[],"class_list":["post-212867","plugin","type-plugin","status-publish","hentry","plugin_tags-picture-tag","plugin_tags-responsive-images","plugin_contributors-artilab","plugin_committers-artilab"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/picture-tag\/assets\/icon-128x128.png?rev=3286124","icon_2x":"https:\/\/ps.w.org\/picture-tag\/assets\/icon-256x256.png?rev=3286124","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/picture-tag\/trunk\/screenshot-1.png?rev=3435882","caption":"<strong>Settings Page<\/strong><br \/>\nCustomize paths for WebP and AVIF image directories."}],"raw_content":"<!--section=description-->\n<p>The <strong>Picture Tag<\/strong> plugin allows you to easily integrate responsive <code>&lt;picture&gt;<\/code> tags into your WordPress site. This plugin adds support for generating modern image formats like <strong>WebP<\/strong> and <strong>AVIF<\/strong>, improving performance and SEO.<\/p>\n\n<p>Features:\n- A function for displaying images using the picture tag. \n- Support for WebP and AVIF formats.\n- Flexible settings for custom paths and image attributes.\n- A shortcode <code>[arti_picture]<\/code> for inserting responsive  tags with customizable attributes.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/picture-tag<\/code> directory or install it directly from the WordPress Plugin Repository.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Configure the settings under \"Settings &gt; Picture Tag\".<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20plugin%20require%20specific%20hosting%20features%3F'><h3>Does this plugin require specific hosting features?<\/h3><\/dt>\n<dd><p>No, the plugin works on any WordPress site. However, to use WebP and AVIF formats, ensure your server supports these formats.<\/p><\/dd>\n<dt id='can%20i%20customize%20the%20generated%20%60%3Cpicture%3E%60%20tag%3F'><h3>Can I customize the generated `` tag?<\/h3><\/dt>\n<dd><p>Yes, the plugin provides options to configure custom paths and add attributes to images.<\/p><\/dd>\n<dt id='how%20do%20i%20add%20a%20screenshot%20to%20the%20media%20library%3F'><h3>How do I add a screenshot to the media library?<\/h3><\/dt>\n<dd><p>To add a screenshot or image for use with the plugin:\n1. Go to <strong>Media &gt; Add New<\/strong> in your WordPress admin dashboard.\n2. Upload the desired image (e.g., a screenshot).\n3. Once uploaded, note the <strong>attachment ID<\/strong> of the image. You can find this in the image URL or by editing the image.\n4. Use the attachment ID with the shortcode to display the image in <code>&lt;picture&gt;<\/code> format.<\/p>\n\n<p><strong>Example Shortcode:<\/strong>\n    <code>[arti_picture id=\"123\" size_1x=\"medium\" size_2x=\"large\" alt=\"Example screenshot\" class=\"screenshot-image\"]<\/code><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>1.4.2 =\n* Fix warnings<\/p>\n\n<p>1.4.1 =\n* Fix fatal error<\/p>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Added improved caching system for better performance<\/li>\n<li>Implemented proper cache clearing when media is updated<\/li>\n<li>Added cache management tools in the admin interface<\/li>\n<li>Enhanced security with proper nonce verification<\/li>\n<li>Tested and confirmed compatibility with WordPress 6.8<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Improved performance by focusing only on local file operations<\/li>\n<li>Improved code readability with clearer documentation<\/li>\n<li>Fixed potential timeout issues when checking image formats<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Added support for custom data-* attributes in <code>[arti_picture]<\/code> shortcode.<\/li>\n<li>Added support for custom data-* attributes in the <code>arti_the_image<\/code> function.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added translation support for multilingual use.<\/li>\n<li>Improved text domain loading for better localization.<\/li>\n<li>Fixed minor bugs and enhanced compatibility with the latest WordPress versions.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Update documentation.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Refactoring of the plugin structure to improve the ease of maintenance.<\/li>\n<li>Added <code>[arti_picture]<\/code> shortcode to display responsive <code>&lt;picture&gt;<\/code> tags.<\/li>\n<li>Added documentation on the use of shortcodes.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Integrated WebP and AVIF format support.<\/li>\n<\/ul>","raw_excerpt":"Generate responsive  tags with support for WebP and AVIF formats in WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/212867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=212867"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/artilab"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=212867"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=212867"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=212867"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=212867"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=212867"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=212867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}