{"id":109680,"date":"2019-09-27T09:14:07","date_gmt":"2019-09-27T09:14:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/nelio-compare-images-block\/"},"modified":"2025-12-02T16:24:32","modified_gmt":"2025-12-02T16:24:32","slug":"nelio-compare-images","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/nelio-compare-images\/","author":13050289,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.6","stable_tag":"1.0.6","tested":"6.9.4","requires":"6.6","requires_php":"7.4","requires_plugins":null,"header_name":"Nelio Compare Images Block","header_author":"Nelio Software","header_description":"Before & After Image Block for Gutenberg.","assets_banners_color":"","last_updated":"2025-12-02 16:24:32","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/neliosoftware","header_plugin_uri":"https:\/\/neliosoftware.com","header_author_uri":"http:\/\/neliosoftware.com","rating":4.8,"author_block_rating":0,"active_installs":300,"downloads":6403,"num_ratings":8,"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":"davilera","date":"2019-09-27 09:13:38"},"1.0.1":{"tag":"1.0.1","author":"davilera","date":"2019-09-30 07:27:16"},"1.0.2":{"tag":"1.0.2","author":"davilera","date":"2019-09-30 08:52:49"},"1.0.3":{"tag":"1.0.3","author":"davilera","date":"2020-06-12 14:24:38"},"1.0.4":{"tag":"1.0.4","author":"davilera","date":"2023-07-24 10:55:48"},"1.0.5":{"tag":"1.0.5","author":"davilera","date":"2024-03-21 09:49:33"},"1.0.6":{"tag":"1.0.6","author":"davilera","date":"2025-12-02 16:24:32"}},"upgrade_notice":{"1.0.6 (December 2, 2025)":"<p>Update coding standards.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":2,"5":6},"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":2164244,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":{"nelio\/compare-images":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"nelio\/compare-images","title":"Compare Images","category":"common","icon":"image-flip-horizontal","description":"Compare two images side by side using a slider.","keywords":["compare","image"],"version":"1.0.0","textdomain":"nelio-compare-images","attributes":{"align":{"type":"string"},"beforeId":{"type":"number"},"beforeUrl":{"type":"string","source":"attribute","selector":".wp-block-nelio-compare-images__before-image img","attribute":"src"},"beforeAlt":{"type":"string","source":"attribute","selector":".wp-block-nelio-compare-images__before-image img","attribute":"alt","default":""},"afterId":{"type":"number"},"afterUrl":{"type":"string","source":"attribute","selector":".wp-block-nelio-compare-images__after-image img","attribute":"src"},"afterAlt":{"type":"string","source":"attribute","selector":".wp-block-nelio-compare-images__after-image img","attribute":"alt","default":""},"dividerLocation":{"type":"number","default":50},"caption":{"type":"string","source":"html","selector":"figcaption"},"isVertical":{"type":"boolean","default":false},"sizeSlug":{"type":"string"}},"supports":{"align":["left","center","right","wide","full"]},"viewScript":"file:view.js","editorScript":"file:index.js","editorStyle":"file:index.css","style":"file:style-index.css"}},"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2165535,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2165535,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2165535,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2164244,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"<strong>Horizontal Comparison.<\/strong> Compare images side-by-side.","2":"<strong>Vertical Comparison.<\/strong> Compare images vertically.","3":"<strong>New Block.<\/strong> Add the two images you want to compare using familiar components.","4":"<strong>Simple Settings.<\/strong> Tweak the initial appearance of the block using simple, easy-to-use settings."},"jetpack_post_was_ever_published":false},"plugin_section":[163309],"plugin_tags":[176708,176707,125022,151844,176050],"plugin_category":[],"plugin_contributors":[83629,79609,79608],"plugin_business_model":[],"class_list":["post-109680","plugin","type-plugin","status-publish","hentry","plugin_section-blocks","plugin_tags-after-image","plugin_tags-before-image","plugin_tags-compare-images","plugin_tags-gutenberg-block","plugin_tags-image-comparison","plugin_contributors-avillegasn","plugin_contributors-davilera","plugin_contributors-nelio","plugin_committers-avillegasn","plugin_committers-davilera","plugin_committers-nelio"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/nelio-compare-images\/assets\/icon.svg?rev=2164244","icon":"https:\/\/ps.w.org\/nelio-compare-images\/assets\/icon.svg?rev=2164244","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/nelio-compare-images\/assets\/screenshot-1.png?rev=2165535","caption":"<strong>Horizontal Comparison.<\/strong> Compare images side-by-side."},{"src":"https:\/\/ps.w.org\/nelio-compare-images\/assets\/screenshot-2.png?rev=2165535","caption":"<strong>Vertical Comparison.<\/strong> Compare images vertically."},{"src":"https:\/\/ps.w.org\/nelio-compare-images\/assets\/screenshot-3.png?rev=2165535","caption":"<strong>New Block.<\/strong> Add the two images you want to compare using familiar components."},{"src":"https:\/\/ps.w.org\/nelio-compare-images\/assets\/screenshot-4.png?rev=2164244","caption":"<strong>Simple Settings.<\/strong> Tweak the initial appearance of the block using simple, easy-to-use settings."}],"raw_content":"<!--section=description-->\n<p>Nelio Compare Images is a simple and elegant Gutenberg block to compare two images side by side. Select the images you want to compare in the media library and our plugin will take care of the rest.<\/p>\n\n<p>If you like this plugin, take a look at <a href=\"https:\/\/neliosoftware.com\/testing\">Nelio A\/B Testing<\/a> and <a href=\"https:\/\/neliosoftware.com\/content\">Nelio Content<\/a> or visit <a href=\"https:\/\/neliosoftware.com\">our website<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Login to your WordPress admin<\/li>\n<li>Click on the plugins tab<\/li>\n<li>Click on the \u201cAdd New\u201d button<\/li>\n<li>Search for \u201cNelio Compare Images\u201d<\/li>\n<li>Look for our plugin, click on \u201cInstall Now\u201d and then on \u201cActivate\u201d<\/li>\n<li>Once the plugin is installed and active, you\u2019ll see there\u2019s a new block type named \u201cCompare Images\u201d<\/li>\n<\/ol>\n\n<p><strong>Alternative installation methods<\/strong><\/p>\n\n<ol>\n<li>Download this plugin<\/li>\n<li>Login to your WordPress admin<\/li>\n<li>Click on the plugins tab<\/li>\n<li>Click on the \u201cAdd New\u201d button<\/li>\n<li>Click on the \u201cUpload\u201d button<\/li>\n<li>Click on \u201cInstall Now\u201d and then \u201cActivate\u201d<\/li>\n<li>Once the plugin is installed and active, you\u2019ll see there\u2019s a new block type named \u201cCompare Images\u201d<\/li>\n<\/ol>\n\n<h4>Created by Nelio Software<\/h4>\n\n<p>Nelio Compare Images is built by the Nelio team. We create high-quality WordPress plugins that help you grow your WordPress sites.<\/p>\n\n<p>Check out some of our most popular plugins:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/nelio-ab-testing\/\">Nelio A\/B Testing<\/a> - Conversion Optimization with A\/B Tests and Heatmaps<\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/nelio-content\/\">Nelio Content<\/a> - Editorial Calendar and Social Media Promotion<\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/nelio-popups\/\">Nelio Popups<\/a> - Easiest WordPress Popup Builder using the Block Editor<\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/nelio-forms\/\">Nelio Forms<\/a> - An intuitive Form Builder built on top of the Block Editor<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id='do%20i%20have%20to%20configure%20anything%3F'><h3>Do I have to configure anything?<\/h3><\/dt>\n<dd><p>No, the plugin works out of the box.<\/p><\/dd>\n<dt id='is%20the%20plugin%20translated%20into%20my%20language%3F'><h3>Is the plugin translated into my language?<\/h3><\/dt>\n<dd><p>Maybe. If it isn\u2019t, it definitely can be. Just go to the <a href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/nelio-compare-images\/\">plugin\u2019s translation page<\/a>, look for the language you\u2019re interested in, and contribute your own translation.<\/p><\/dd>\n<dt id='i%20love%20the%20plugin%21%20how%20can%20i%20support%20you%3F'><h3>I love the plugin! How can I support you?<\/h3><\/dt>\n<dd><p>The plugin is completely free. But if you want to support us, please feel free to <a href=\"https:\/\/paypal.me\/neliosoftware\">donate whatever you see fit<\/a> or look at any of our premium plugins and consider purchasing them.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.6 (December 2, 2025)<\/h4>\n\n<ul>\n<li>Update coding standards.<\/li>\n<\/ul>\n\n<h4>1.0.5 (November 20, 2023)<\/h4>\n\n<ul>\n<li>Fix JS error that prevented the slider from being moved.<\/li>\n<li>Support WordPress 6.4<\/li>\n<\/ul>\n\n<h4>1.0.4 (March 15, 2022)<\/h4>\n\n<ul>\n<li><strong>TypeScript.<\/strong> Rewrite codebase with TypeScript.<\/li>\n<li><strong>Improvement.<\/strong> Improve block definition using new WordPress features.<\/li>\n<li><strong>Improvement.<\/strong> Tweak divider and handler in front-end to improve interaction.<\/li>\n<\/ul>\n\n<h4>1.0.3 (June 12, 2020)<\/h4>\n\n<ul>\n<li><strong>Improvement.<\/strong> Added compatibility with touch screens.<\/li>\n<\/ul>\n\n<h4>1.0.2 (September 30, 2019)<\/h4>\n\n<ul>\n<li><strong>Bug Fix.<\/strong> Changed i18n domain name to plugin\u2019s slug.<\/li>\n<\/ul>\n\n<h4>1.0.1 (September 30, 2019)<\/h4>\n\n<ul>\n<li><strong>Improvement.<\/strong> Improved UI for dropping images in before and after components.<\/li>\n<li><strong>Bug Fix.<\/strong> Fixed string domains so that translations are properly loaded.<\/li>\n<li><strong>Bug Fix.<\/strong> Fixed divider positioning in front-end.<\/li>\n<\/ul>\n\n<h4>1.0.0 (September 26, 2019)<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Simple and elegant Gutenberg block to compare two images side by side.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/109680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=109680"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nelio"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=109680"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=109680"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=109680"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=109680"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=109680"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=109680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}