Title: CSS-Only Lightbox
Author: dan-jones
Published: <strong>11 octombrie 2016</strong>
Last modified: 11 octombrie 2016

---

Caută module

Acest modul **nu a fost testat cu ultimele 3 versiuni importante ale WordPress**.
S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate
când este folosit cu versiuni recente ale WordPress.

![](https://s.w.org/plugins/geopattern-icon/css-only-lightbox.svg)

# CSS-Only Lightbox

 De [dan-jones](https://profiles.wordpress.org/dan-jones-1/)

[Descarcă](https://downloads.wordpress.org/plugin/css-only-lightbox.zip)

 * [Detalii](https://ro.wordpress.org/plugins/css-only-lightbox/#description)
 * [Recenzii](https://ro.wordpress.org/plugins/css-only-lightbox/#reviews)
 *  [Instalare](https://ro.wordpress.org/plugins/css-only-lightbox/#installation)
 * [Dezvoltare](https://ro.wordpress.org/plugins/css-only-lightbox/#developers)

 [Suport](https://wordpress.org/support/plugin/css-only-lightbox/)

## Descriere

Adds a [css_lightbox …] shortcode that generates a CSS-only lightbox for a given
image (by URL). Also includes a TinyMCE toolbar button for more easily including
the needed attributes for the shortcode.

## Instalare

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## Întrebări frecvente

  How do I add a lightbox?

 1. Copy and paste the complete URL for the image you want to make a lightbox for into
    the WordPress editor
 2. Select the URL with your cursor
 3. Click the „Lightbox” button in the TinyMCE toolbar
 4. Enter the values you’re prompted for. The only one that’s required is a unique 
    ID for the image

OR

 1. Copy and paste the complete URL for the image you want to make a lightbox for into
    the WordPress editor
 2. Add the opening shortcode, [css_lightbox …] before the beginning of the URL and
    add the options you want
 3. Attributes you can use with the shortcode are:

* „id” (unique identifier for the image, required)
 * „height” (in pixels, without
including px) * „width” (in pixels, without including px) * „title” (a title for
image, displayed when it’s enlarged) * „caption” (a caption for the image, displayed
when it’s enlarged) * „alt” (alt text for the on-page image) * „icon” (‘true’ or‘
false’ – whether or not to include a small magnifying glass icon in the top-left
of the on-page image, to indicate that it can be enlarged) 1. An example using all
of the available options: [css_lightbox id=”uniqueID” height=”400″ width=”400″ title
=”A title” caption=”A caption” alt=”Some alt text” icon=”true”]Image URL[/css_lightbox]

  What features are coming?

 * The option to use other units for the image dimension, including %, em, rem, 
   vw, and vh
 * Send me suggestions in the support forum!

## Recenzii

Nu există nicio verificare pentru acest modul.

## Contributori și dezvoltatori

„CSS-Only Lightbox” este un software open-source. La acest modul au contribuit următoarele
persoane.

Contributori

 *   [ dan-jones ](https://profiles.wordpress.org/dan-jones-1/)

[Tradu „CSS-Only Lightbox” în limba ta.](https://translate.wordpress.org/projects/wp-plugins/css-only-lightbox)

### Te interesează dezvoltarea?

[Răsfoiește codul](https://plugins.trac.wordpress.org/browser/css-only-lightbox/),
vezi [depozitarul SVN](https://plugins.svn.wordpress.org/css-only-lightbox/), sau
abonează-te la [jurnalul de dezvoltare](https://plugins.trac.wordpress.org/log/css-only-lightbox/)
prin [RSS](https://plugins.trac.wordpress.org/log/css-only-lightbox/?limit=100&mode=stop_on_copy&format=rss).

## Istoric modificări

#### 1.0

First version:
 * Adds shortcode * Adds TinyMCE plugin and button to make the shortcode
easier to use

## Meta

 *  Versiunea **1.0**
 *  Ultima actualizare **Acum 10 ani**
 *  Instalări active: **10+**
 *  Versiune WordPress ** 3.0.1 sau mai recentă **
 *  Testat până la **4.6.30**
 *  Limbă
 * [English (US)](https://wordpress.org/plugins/css-only-lightbox/)
 * Etichete
 * [css](https://ro.wordpress.org/plugins/tags/css/)[lightbox](https://ro.wordpress.org/plugins/tags/lightbox/)
 *  [Vizualizare avansată](https://ro.wordpress.org/plugins/css-only-lightbox/advanced/)

## Evaluări

Nu a fost trimisă nicio recenzie până acum.

[Recenzia ta](https://wordpress.org/support/plugin/css-only-lightbox/reviews/#new-post)

[Vezi toate recenziile](https://wordpress.org/support/plugin/css-only-lightbox/reviews/)

## Contributori

 *   [ dan-jones ](https://profiles.wordpress.org/dan-jones-1/)

## Suport

Ai ceva de zis? Ai nevoie de ajutor?

 [Vezi forumul pentru suport](https://wordpress.org/support/plugin/css-only-lightbox/)