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 creat
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' ), ), );