ES Before & After Compare documentation Images, Labels & Captions | ES Before & After Compare
The Module tab contains the two required images and the text associated with their comparison.

Select the two images
- Choose Before image using Joomla's Select control.
- Choose After image the same way.
- Save the module and verify that both images load on the frontend.
The module accepts local Joomla Media image paths, not arbitrary external image URLs. Supported file extensions in this release include JPEG, PNG, WebP, GIF and AVIF. For a meaningful comparison, use two images showing the same subject from matching positions or crops.
Alternative text
Complete Before image alternative text and After image alternative text with short descriptions of what changes between the two states. These descriptions are available to assistive technology; they do not appear as visible image labels.
If the fields are left blank, the module uses generic descriptions. Writing your own descriptions usually makes the comparison more useful.
Visible labels
Before label and After label are the small badges shown over the comparison. The defaults are “Before” and “After”, but you can replace them with language suited to the example, such as “Original” and “Edited”.
The Display before/after labels switch in the Appearance tab controls whether these badges are visible. The comparison remains interactive when they are hidden.
Caption and caption position
Use Caption for one short explanatory sentence. Set Caption position to Above the comparison or Below the comparison.
Important: if Caption is empty, no caption is displayed, regardless of the chosen position.
Image choice tips
- Choose images with similar framing, proportions and subject placement.
- Use the Image fitting options if one image is cropped unexpectedly.
- Avoid relying only on differences in color to explain an important change; describe the change in the alternative text or caption as well.
See Image Sizing & Responsive Display for proportions, cropping and width settings.