Title: Gallery One
Author: shrimp2t
Published: <strong>24 ພຶດສະພາ 2016</strong>
Last modified: 28 ພຶດສະພາ 2016

---

ຄົ້ນຫາປລັກອິນ

![](https://ps.w.org/gallery-one/assets/banner-772x250.png?rev=1425220)

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

![](https://ps.w.org/gallery-one/assets/icon-256x256.png?rev=1425220)

# Gallery One

 ໂດຍ [shrimp2t](https://profiles.wordpress.org/shrimp2t/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/gallery-one.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/gallery-one/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/gallery-one/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/gallery-one/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/gallery-one/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/gallery-one/)

## ຄຳອະທິບາຍ

See demo: http://shrimp2t.com/gallery-one/

#### Features

 * Fully responsive, Touch enabled
 * **Unlimited albums**
 * **Unlimited images**
 * Carousel
 * Gird
 * Justified
 * Masonry
 * Slideshow
 * Blog style (comming soon )
 * JustifiedGallery Light box
 * Load Facebook album images
 * Load Flickr album images
 * Add image from url
 * Shortcode creator

#### Load Facebook Album

Just paste your album url, example:

    ```
    https://www.facebook.com/BillGates/photos/?tab=album&album_id=10153110017351961
    ```

Note: Your album status must be public to load.

#### Load Flickr Album

Just paste your album url, example:

    ```
    https://www.flickr.com/photos/gianstefanofontana/albums/72157649693279051
    ```

Note: Your album status must be public to load.

#### Adding your own view in your theme

 * Create a folder `gallery-one` on your theme.
 * Inside folder which created add a file and name `view.php`
 * [Optional] Inside folder which created add a file and name `config.php`

Example file `view.php`:

    ```
    <div class="my-view">
    <?php
     var_dump( $this->settings ); /* You config data in file config.php
     var_dump( $this->media->get_data() ); // Gallery items data
     ?>
    </div>
    ```

Example file `config.php`:

    ```
    $config = array(
        'name' => __( 'Justified', 'gallery-one' ), // view name
        'js' => 'js/js.js',
        'css' => 'css/css.css',
        'view_settings' => array(
            array(
                'id' => 'margins',
                'default' => '10',
                'label' => __( 'Margins', 'gallery-one' ),
                'type' => 'text'
            ),
            array(
                'id'        => 'lightbox',
                'default'   => '1',
                'label'     => __( 'Lightbox', 'gallery-one' ),
                'type'      => 'checkbox'
            ),

        ),
    );
    ```

#### Adding your own view in your plugin

 * Create new folder in your plugin, example: `my-cool-views`.
 * Add add new view folder example: `my-cool-views/full-screen`.
 * Add `view.php` file for you view `my-cool-views/full-screen/view.php`.
 * [Optional] Add `config.php` file for you view `my-cool-views/full-screen/config.
   php`.
 * Add your your views folder to view loader:
 * add_filter( ‘gallery_one_get_template_folders’, ‘my_cool_views_path’);
 * function my_cool_views_path( $view_paths ){
    $view_paths[‘my_cool_view’] = PATH_TO_MY_PLUGIN.’/
   my-cool-views’; return $view_paths; }

#### Config Parameters

name: (string) Name of your view.

css: (string/array) CSS files will enqueue when this view load.

js: (string/array) JS files will enqueue when this view load.

view_settings: (array) list field settings for your view.

**view_settings** Parameters:

 * id: Id of setting field.
 * label: Label of setting files.
 * default: Default value.
 * type: Field type: text|select|checkbox|textarea.
 * option: For field type select (array).
 * desc: Field description.

## ພາບໜ້າຈໍ

 * [[
 * Justified
 * [[
 * Slider
 * [[
 * Masonry
 * [[
 * Carousel
 * [[
 * Slider
 * [[
 * Lightbox
 * [[
 * Admin galleries
 * [[
 * Editing gallery
 * [[
 * Editing image info
 * [[
 * Shortcode creator

## ການຕິດຕັ້ງ

 1. Upload `gallery-one` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use the Galleries Name screen to add gallery

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Gallery One” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການ
ພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ shrimp2t ](https://profiles.wordpress.org/shrimp2t/)

[ແປ “Gallery One” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/gallery-one)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/gallery-one/), ກວດເບິ່ງ 
[ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/gallery-one/), ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/gallery-one/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/gallery-one/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 1.0.0

 * Release

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.0.2**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **10 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **50+**
 *  ເວີຊັນ WordPress ** 4.5 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **4.5.33**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/gallery-one/)
 * ແທັກ
 * [facebook](https://lo.wordpress.org/plugins/tags/facebook/)[galleries](https://lo.wordpress.org/plugins/tags/galleries/)
   [gallery](https://lo.wordpress.org/plugins/tags/gallery/)[image](https://lo.wordpress.org/plugins/tags/image/)
   [images](https://lo.wordpress.org/plugins/tags/images/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/gallery-one/advanced/)

## ການໃຫ້ຄະແນນ

ຍັງບໍ່ມີການສົ່ງຄຳວິຈານເທື່ອ.

[ເພີ່ມຄຳຄິດເຫັນຂອງຂ້ອຍ](https://wordpress.org/support/plugin/gallery-one/reviews/#new-post)

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/gallery-one/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ shrimp2t ](https://profiles.wordpress.org/shrimp2t/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/gallery-one/)

## ບໍລິຈາກ

ເຈົ້າຕ້ອງການສະໜັບສະໜູນການພັດທະນາຂອງປລັກອິນນີ້ບໍ່?

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](http://shrimp2t.com/gallery-one/)