Title: CPS | Before / After Images
Author: Surbma
Published: <strong>1 de enero de 2018</strong>
Last modified: 1 de enero de 2025

---

Buscar plugins

![](https://ps.w.org/surbma-before-after/assets/banner-772x250.jpg?rev=2626251)

Este plugin **no se ha probado con las últimas 3 versiones mayores de WordPress**.
Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas 
de compatibilidad cuando se usa con las versiones más recientes de WordPress.

![](https://s.w.org/plugins/geopattern-icon/surbma-before-after.svg)

# CPS | Before / After Images

 Por [Surbma](https://profiles.wordpress.org/surbma/)

[Descargar](https://downloads.wordpress.org/plugin/surbma-before-after.2.2.zip)

 * [Detalles](https://es.wordpress.org/plugins/surbma-before-after/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/surbma-before-after/#reviews)
 *  [Instalación](https://es.wordpress.org/plugins/surbma-before-after/#installation)
 * [Desarrollo](https://es.wordpress.org/plugins/surbma-before-after/#developers)

 [Soporte](https://wordpress.org/support/plugin/surbma-before-after/)

## Descripción

With this plugin, you can display two similar images in one frame with a bar in 
the middle. So visitors can see the difference by moving the bar from left to right.
Typical usecase is, when you want to show a «before-after» state with two images.

The shortcode: `[surbma-before-after before_src="" before_alt="" after_src="" after_alt
="" with="" height=""]`

Parameters:

 * before_src: This is the URL of the left image. REQUIRED
 * before_alt: This is the ALT attribute of the left image.
 * after_src: This is the URL of the right image. REQUIRED
 * after_alt: This is the ALT attribute of the right image.
 * with: This is the width of the image.
 * height: This is the height of the image.

Only the two src parameters are required, the rest of them are optional.

**Do you want to contribute or help improving this plugin?**

You can find it on GitHub: [https://github.com/Surbma/surbma-before-after](https://github.com/Surbma/surbma-before-after)

**You can find my other plugins and projects on GitHub:**

[https://github.com/Surbma](https://github.com/Surbma)

Please feel free to contribute, help or recommend any new features for my plugins,
themes and other projects.

**Do you want to know more about me?**

Visit my webpage: [Surbma.com](https://surbma.com/)

## Instalación

 1. Upload `surbma-before-after` folder to the `/wp-content/plugins/` directory
 2. Activate the Surbma – Before / After Images plugin through the ‘Plugins’ menu in
    WordPress
 3. That’s it. Now you can use the shortcodes. 🙂

## FAQ

### What does Surbma mean?

It is the reverse version of my last name. 😉

## Reseñas

No hay valoraciones para este plugin.

## Colaboradores y desarrolladores

«CPS | Before / After Images» es un software de código abierto. Las siguientes personas
han colaborado con este plugin.

Colaboradores

 *   [ Surbma ](https://profiles.wordpress.org/surbma/)
 *   [ CherryPick Studios ](https://profiles.wordpress.org/cherrypickstudios/)

[Traduce «CPS | Before / After Images» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/surbma-before-after)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/surbma-before-after/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/surbma-before-after/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/surbma-before-after/)
por [RSS](https://plugins.trac.wordpress.org/log/surbma-before-after/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 2.2

Release date: 2025-01-01

FIX

 * Changed textdomain hook to init.
 * Security fix for shortcode: parameters are properly escaped.

OTHER

 * Code optimizations.

#### 2.1

Release date: 2020-09-15

FIX

 * Fixes jQuery call, so it is compatible with latest versions of WordPress (5.5)
   and jQuery.

TWEAK

 * Checked compatibility with the latest version of WordPress.
 * Changed minimum WordPress version and PHP requirements.

#### 2.0

Release date: 2019-07-19

With this version, the plugin is rebranded to CherryPick Studios or CPS with the
short version. CherryPick Studios is created by me, Surbma, so everything is the
same, but better. 🙂

NEW

 * Plugin author and contributor has changed to CherryPick Studios.

TWEAK

 * Checked compatibility with the latest version of WordPress.

#### 1.4

 * NEW – Plugin name change.

#### 1.3

 * TWEAK – Modified description and name symbols.

#### 1.2

 * TWEAK – Simple versioning.
 * TWEAK – Modified description and name symbols.

#### 1.1.0

 * Updated scripts and styles.
 * Added more description.
 * Code optimization.

#### 1.0.0

 * Initial release.

## Plugin comercial

Este plugin es gratuito pero ofrece actualizaciones o soporte comercial de pago.
[Ver soporte](https://www.facebook.com/groups/CherryPickStudios/)

## Meta

 *  Versión **2.2**
 *  Última actualización **hace 2 años**
 *  Instalaciones activas **10+**
 *  Versión de WordPress ** 5.5 o superior **
 *  Probado hasta **6.7.11**
 *  Versión de PHP ** 7.4 o superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/surbma-before-after/)
 * Etiquetas:
 * [after](https://es.wordpress.org/plugins/tags/after/)[before](https://es.wordpress.org/plugins/tags/before/)
   [image](https://es.wordpress.org/plugins/tags/image/)[picture](https://es.wordpress.org/plugins/tags/picture/)
   [surbma](https://es.wordpress.org/plugins/tags/surbma/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/surbma-before-after/advanced/)

## Valoraciones

Aún no se han enviado valoraciones.

[Tu valoración](https://wordpress.org/support/plugin/surbma-before-after/reviews/#new-post)

[Ver todas las reseñas](https://wordpress.org/support/plugin/surbma-before-after/reviews/)

## Colaboradores

 *   [ Surbma ](https://profiles.wordpress.org/surbma/)
 *   [ CherryPick Studios ](https://profiles.wordpress.org/cherrypickstudios/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/surbma-before-after/)

## Donar

¿Te gustaría apoyar el progreso de este plugin?

 [ Dona a este plugin ](https://surbma.com/donate/)