Title: CSS-Only Lightbox
Author: dan-jones
Published: <strong>آکتوبر 11, 2016</strong>
Last modified: آکتوبر 11, 2016

---

جستجوی افزونه‌ها

این افزونه **با آخرین 3 نسخه اصلی وردپرس تست نشده است**. ممکن است دیگر نگهداری یا
پشتیبانی نشود و ممکن است هنگام استفاده با نسخه های جدیدتر وردپرس مشکلات سازگاری 
داشته باشد.

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

# CSS-Only Lightbox

 توسط [dan-jones](https://profiles.wordpress.org/dan-jones-1/)

[دانلود](https://downloads.wordpress.org/plugin/css-only-lightbox.zip)

 * [جزئیات](https://fa-af.wordpress.org/plugins/css-only-lightbox/#description)
 * [نقد و بررسی‌ها](https://fa-af.wordpress.org/plugins/css-only-lightbox/#reviews)
 *  [نصب](https://fa-af.wordpress.org/plugins/css-only-lightbox/#installation)
 * [توسعه](https://fa-af.wordpress.org/plugins/css-only-lightbox/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/css-only-lightbox/)

## توضیحات

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.

## نصب

 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

## سوالات متداول

  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!

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“CSS-Only Lightbox” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

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

[ترجمه “CSS-Only Lightbox” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/css-only-lightbox)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/css-only-lightbox/),
را بررسی کنید [مخزن SVN](https://plugins.svn.wordpress.org/css-only-lightbox/), 
یا مشترک شوید [گزارش توسعه](https://plugins.trac.wordpress.org/log/css-only-lightbox/)
توسط [RSS](https://plugins.trac.wordpress.org/log/css-only-lightbox/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 1.0

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

## اطلاعات

 *  Version **1.0**
 *  Last updated **10 سال پیش**
 *  Active installations **10+**
 *  WordPress version ** 3.0.1 یا بالاتر **
 *  Tested up to **4.6.30**
 *  Language
 * [English (US)](https://wordpress.org/plugins/css-only-lightbox/)
 * Tags
 * [css](https://fa-af.wordpress.org/plugins/tags/css/)[lightbox](https://fa-af.wordpress.org/plugins/tags/lightbox/)
 *  [نمایش پیشرفته](https://fa-af.wordpress.org/plugins/css-only-lightbox/advanced/)

## امتیازها

No reviews have been submitted yet.

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

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

## مشارکت کنندگان

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

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/css-only-lightbox/)