Lightbox for Gallery & Image Block

Por Johannes Kinast
(83 avaliações)
Baixar
  • Versão:
    1.16
  • Última atualização:
    há 9 dias
  • Instalações ativas:
    mais de 20 mil
  • Versão do WordPress:
    5.4 ou maior
  • Testado até o WordPress:
    6.7.2
  • Versão do PHP:
    5.3 ou maior
  • Tags:

Hospedagem WordPress com plugin Lightbox for Gallery & Image Block

Onde devo hospedar o plugin Lightbox for Gallery & Image Block?

Este plugin pode ser hospedado em qualquer provedor que possua WordPress instalado. Recomendamos optar por uma hospedagem seguro, com servidores adaptados para WordPress, como o serviço de hospedagem de sites da MCO2.

Hospedando o plugin Lightbox for Gallery & Image Block em uma empresa de hospedagem de confiança

A MCO2, além de configurar e instalar o WordPress na versão mais atual para seus clientes, fornece o plugin WP SafePress, um sistema exclusivo que salvaguarda e melhora seu site conjuntamente.

Por que a Hospedagem WordPress funciona melhor na MCO2?

A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização automática de imagens e fotos, proteção da página de login, bloqueio de atividades maliciosas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São plugins que potencializam seu WordPress para a máxima segurança e o máximo desempenho.

This WordPress Plugin adds a simple & lightweight Lightbox to the standard WordPress Gallery & Image Block. It detects if a post contains a Gallery or Image Block and then loads & initialize baguetteBox.js, a pure JavaScript Lightbox script without any dependencies and a modern minimal look.

There is no lock in effect. It does not add a new Block Editor/Gutenberg Block and relies solo on the standard WordPress Gallery and Image Block. You can deactivate this plugin at any time and your Gallery and Image Blocks will work as they’ve done before. Just without the lightbox.

Just one important thing to remember: You always have to select Link Link to image file or Link images to media file (see screenshots below) for all of your Image & Gallery Blocks to work properly. If you choose None or Link to attachment page it will not work. But that’s fine if you don’t want the Lightbox for a specific Image or Gallery.

Features

Here are the features of baguetteBox.js:

  • Written in pure JavaScript
  • No dependencies (e.g. jQuery)
  • Image captions support
  • Responsive
  • Supports swipe gestures
  • Around 13 KB, 7 KB gzipped

Works with

  • Gallery Block (Default Block)
  • Image Block (Default Block)
  • Media and Text Block (Default Block)
  • Gallery (Default Classic Editor Gallery)
  • CoBlocks Gallery Collage / Masonry / Offset / Stacked
  • Meow Gallery (+ Gallery Block)
  • GenerateBlocks Image (Set Enable Dynamic Data Link source to Single image)

Don’t forget to select Link to Media File for all of your Galleries & Images to work properly.

Notice: At the moment, just Blocks inside a post are supported. Not Blocks in a Widget. You can make it work but have to enqueue the necessary style & script yourself. See FAQ –> How to enqueue the necessary assets (script & style) for blocks outside of posts or for block types that are not supported by default?

Capturas de tela

Simple, modern and minimalistic Lightbox for your Gallery Block<br />

Simple, modern and minimalistic Lightbox for your Gallery Block

Set <em>Link</em> to <em>Link to image file</em> on your Image Block<br />

Set Link to Link to image file on your Image Block

Set <em>Link</em> to <em>Link images to media file</em> on your Gallery Block<br />

Set Link to Link images to media file on your Gallery Block

Plugins semelhantes

Starter Templates — Elementor & WordPress Templates
(5.029 avaliações)

The growing library of 300+ ready-to-use templates that work with all WordPress themes including Astra, Hello, OceanWP, GeneratePress and more

Advanced Editor Tools
(339 avaliações)

Amplia e aprimora o editor de blocos (Gutenberg) e o editor clássico (TinyMCE).

EWWW Image Optimizer
(1.754 avaliações)

Smaller Images, Faster Sites, Happier Visitors. Comprehensive image optimization that doesn't require a degree in rocket science.

Spectra – WordPress Gutenberg Blocks
(1.721 avaliações)

Power-up Gutenberg with advanced blocks for faster website creation. Build your WordPress website effortlessly using powerful building blocks!

Disable Gutenberg
(718 avaliações)

Disable Gutenberg Block Editor and restore the Classic Editor and original Edit Post screen (TinyMCE, meta boxes, etc.).

Slider, Gallery, and Carousel by MetaSlider – Image Slider, Video Slider
(716 avaliações)

Slider, gallery, carousel plugin for WordPress. Build your image slider, video slider, post slider, YouTube slider, or WooCommerce product slider.