Este plugin no ha sido probado con ninguna las 3 últimas versiones principales de WordPress. Puede que ya no se mantenga o no tenga soporte, y puede que tenga problemas de compatibilidad cuando se utiliza con versiones más recientes de WordPress.

Lity – Responsive Lightboxes

Descripción

Lity – Responsive Lightboxes is a lightweight, accessible and responsive lightbox plugin.

After installation, all images on your site will open up in a beautiful lightbox.

With additional granular controls, users can turn on or off lightboxes for specific images by class, ID or other attribute, or turn them off for specific pages or posts.

  • Lightweight
  • Accessible
  • Responsive
  • Support for Lightbox Captions
  • Translation Ready

Credits

This software uses the following open source packages:

Props to Ben Rothman for the plugin idea and testing.

1.0.0

  • Initial Release.

Capturas de pantalla

  • Lity settings page.
  • Lightbox open displaying an image.
  • Lightbox open displaying an image on mobile.
  • Lightbox with image title and caption displaying an image.
  • Lightbox with image title and caption displaying an image on mobile.

Instalación

  1. Upload the lity folder to your /wp-content/plugins/ directory or alternatively upload the lity.zip file via the plugin page of WordPress by clicking ‘Add New’ and selecting the zip from your computer.
  2. Activate the Lity – Responsive Lightboxes WordPress plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to ‘Settings > Lity – Responsive Lightboxes’ to alter the plugin settings.

FAQ

Will this plugin only work on images I have uploaded to my site?

No, any images on the page can be opened in a lightbox. You can copy images from Google images and paste them into your content, and they will also open in a lightbox.

Where are the plugin settings?

The plugins settings are nested inside of the ‘Tools’ menu item from the WordPress admin dashboard.

The metadata and cache notice won’t go away. Why?

If the notice at the top of dashboard about fetching your image metadata and caching won’t go away, head into ‘Tools > Scheduled Actions’. In the list, find the lity_generate_media action that has a pending status, hover over it and click on ‘Run’. If all lity_generate_media are all set to ‘Complete’ and the notice is still visible, head back to the Lity options page and click on ‘Clear Lity Transient’.

Does Lity – Responsive Lightboxes work with videos or other media types?

At this time no, the plugin will only open up images in a responsive lightbox. Videos and other media types may come at a later time.

Does Lity – Responsive Lightboxes work with galleries?

At this time, no. Lity – Responsive Lightboxes only works with single images. Users are not able to navigate through a gallery without closing the lightbox. Users will have to close the lightbox and click on the next image they would like to view. Gallery support and keyboard navigation may come at a later time.

I have the option set to use full size images, but it’s not working. Why?

Double check the URL of the image is correct and matches the URL of your current site. If you migrated your site from another domain you may not have updated the URLs in the database and/or post content.

Is there a GitHub repository that I can submit issues or contribute to?

Yes, our GitHub repository can be found at https://github.com/EvanHerman/lity.

Reseñas

19 de Octubre de 2023
This saved me a lot of time by being exactly what I was looking for! Thank you for making it work with existing images so I did not have to rebuild my entire site.
Leer los 2 comentarios

Colaboradores & Desarrolladores

“Lity – Responsive Lightboxes” es software de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

Traduce “Lity – Responsive Lightboxes” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN, o suscríbete al registro de desarrollo por RSS .