You can easily create a block that allows visitors to compare and view two images using a slide bar. You can view it in fullscreen and see a larger image for comparison.
Changing the slider movement direction vertically and horizontally
Edit border style
Edit slidebar color
Fill in the captions
Fill in the description
Fullscreen display
Notes
Editing slidebar color is not supported on WordPress 6.1
If the browser does not support fullscreen, the image will be displayed in the full window. At that time, a fixed menu specific to the WordPress theme may be displayed.
Usage
Choose the left and right images from the image select buttons.
You can change preview mode and edit mode from the icon on the editing toolbar.
Some styles while editing are only applied in the preview mode.