Gallery Bank: WordPress Photo Gallery Plugin - Version 4.0.9

Version Description

  • TWEAK: Tabs Removed from Add/Edit Gallery Page
  • FIX: Masonry Layout Bug
  • FIX: Thumbnail Layout Bug
  • FIX: Overview Page Changed
Download this release

Release Info

Developer contact-banker
Plugin Icon 128x128 Gallery Bank: WordPress Photo Gallery Plugin
Version 4.0.9
Comparing to
See all releases

Code changes from version 4.0.8 to 4.0.9

assets/global/img/logo.png CHANGED
Binary file
gallery-bank.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Photo Gallery Plugin for WordPress. Creates elegant responsive gallery widget, image gallery, media gallery, portfolio gallery and albums.
6
  * Author: Tech Banker
7
  * Author URI: https://gallery-bank.tech-banker.com
8
- * Version: 4.0.8
9
  * License: GPLv3
10
  * Text Domain: gallery-bank
11
  * Domain Path: /languages
@@ -337,7 +337,7 @@ if (is_admin()) {
337
  wp_enqueue_style("colpick.css", GALLERY_BANK_PLUGIN_DIR_URL . "assets/global/plugins/colorpicker/colpick.css");
338
  }
339
  if ($page_url == "gb_sort_galleries" || $page_url == "gb_sort_albums") {
340
- wp_enqueue_script("plupload.full.min.js", GALLERY_BANK_PLUGIN_DIR_URL . "assets/global/plugins/pluploader/js/plupload.full.min.js", array("jquery-ui-draggable", "jquery-ui-sortable", "jquery-ui-dialog", "jquery-ui-widget"), false);
341
  }
342
  }
343
  }
5
  * Description: Photo Gallery Plugin for WordPress. Creates elegant responsive gallery widget, image gallery, media gallery, portfolio gallery and albums.
6
  * Author: Tech Banker
7
  * Author URI: https://gallery-bank.tech-banker.com
8
+ * Version: 4.0.9
9
  * License: GPLv3
10
  * Text Domain: gallery-bank
11
  * Domain Path: /languages
337
  wp_enqueue_style("colpick.css", GALLERY_BANK_PLUGIN_DIR_URL . "assets/global/plugins/colorpicker/colpick.css");
338
  }
339
  if ($page_url == "gb_sort_galleries" || $page_url == "gb_sort_albums") {
340
+ wp_enqueue_script(array("jquery-ui-draggable", "jquery-ui-sortable", "jquery-ui-dialog", "jquery-ui-widget"), false);
341
  }
342
  }
343
  }
includes/footer.php CHANGED
@@ -621,7 +621,7 @@ if (!is_user_logged_in()) {
621
  ?>
622
  jQuery(document).ready(function ()
623
  {
624
- jQuery("#ux_div_embed_shortcode,#ux_div_image_gallery,#ux_div_masonry_layout,#ux_div_slideshow_layout,#ux_div_image_browser_layout,#ux_div_justified_grid_layout,#ux_div_blog_style_layout,#ux_div_add_images_gallery,#ux_div_embed_shortcode_gallery").slideUp();
625
  });
626
  jQuery("#ux_li_welcome").addClass("active");
627
  var feature_request_array = [];
@@ -786,30 +786,10 @@ if (!is_user_logged_in()) {
786
  });
787
  }
788
  });
789
- function upload_type_gallery_bank()
790
- {
791
- jQuery("#ux_basic_details").on("click", function ()
792
- {
793
- jQuery("#ux_div_bind_data").css("display", "none");
794
- jQuery("#ux_div_seperator").css("display", "none");
795
- });
796
- jQuery("#ux_upload_media").on("click", function ()
797
- {
798
- jQuery("#ux_div_bind_data").css("display", "block");
799
- jQuery("#ux_div_seperator").css("display", "block");
800
- });
801
- jQuery("#ux_online_upload_media").on("click", function ()
802
- {
803
- jQuery("#ux_div_bind_data").css("display", "block");
804
- jQuery("#ux_div_seperator").css("display", "block");
805
- });
806
- }
807
  jQuery(document).ready(function ()
808
  {
809
- jQuery("#ux_div_bind_data").css("display", "none");
810
- jQuery("#ux_div_seperator").css("display", "none");
811
  jQuery("#cboxTitle").remove();
812
- upload_type_gallery_bank();
813
  jQuery("#brightness").on("input change", function ()
814
  {
815
  jQuery("#brightness_value").val(jQuery("#brightness").val());
621
  ?>
622
  jQuery(document).ready(function ()
623
  {
624
+ jQuery("#ux_div_embed_shortcode,#ux_div_image_gallery,#ux_div_masonry_layout,#ux_div_slideshow_layout,#ux_div_image_browser_layout,#ux_div_justified_grid_layout,#ux_div_blog_style_layout,#ux_div_embed_shortcode_gallery").slideUp();
625
  });
626
  jQuery("#ux_li_welcome").addClass("active");
627
  var feature_request_array = [];
786
  });
787
  }
788
  });
789
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
790
  jQuery(document).ready(function ()
791
  {
 
 
792
  jQuery("#cboxTitle").remove();
 
793
  jQuery("#brightness").on("input change", function ()
794
  {
795
  jQuery("#brightness_value").val(jQuery("#brightness").val());
includes/translations.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * This file is used for translating strings.
4
  *
5
  * @author Tech Banker
6
  * @package gallery-bank/includes
@@ -566,8 +566,6 @@ if (!is_user_logged_in()) {
566
  $gb_add_gallery_videos_url_placeholder = __("Please provied Video Url", "gallery-bank");
567
  $gb_add_gallery_video_url_tooltip = __("In this field, you would need to provide Video Url for Uploading Video", "gallery-bank");
568
  $gb_add_gallery_embed_video = __("Embed Video", "gallery-bank");
569
- $gb_add_gallery_basic_detail = __("Gallery Title & Description", "gallery-bank");
570
- $gb_add_gallery_upload_local_media = __("Upload Images", "gallery-bank");
571
  $gb_add_gallery_title_tooltip = __("In this field, you would need to provide Gallery Title", "gallery-bank");
572
  $gb_add_gallery_title_placeholder = __("Please provide Gallery Title", "gallery-bank");
573
  $gb_add_gallery_description_tooltip = __("In this field, you would need to provide Gallery Description. It would be displayed when using shortcode", "gallery-bank");
1
  <?php
2
  /**
3
+ This file is used for translating strings.
4
  *
5
  * @author Tech Banker
6
  * @package gallery-bank/includes
566
  $gb_add_gallery_videos_url_placeholder = __("Please provied Video Url", "gallery-bank");
567
  $gb_add_gallery_video_url_tooltip = __("In this field, you would need to provide Video Url for Uploading Video", "gallery-bank");
568
  $gb_add_gallery_embed_video = __("Embed Video", "gallery-bank");
 
 
569
  $gb_add_gallery_title_tooltip = __("In this field, you would need to provide Gallery Title", "gallery-bank");
570
  $gb_add_gallery_title_placeholder = __("Please provide Gallery Title", "gallery-bank");
571
  $gb_add_gallery_description_tooltip = __("In this field, you would need to provide Gallery Description. It would be displayed when using shortcode", "gallery-bank");
readme.txt CHANGED
@@ -1,29 +1,31 @@
1
  === Gallery - Photo Gallery - Image Gallery - Photo Albums - WordPress Gallery Plugin ===
2
  Contributors: gallery-bank, contact-banker
3
- Tags: album, gallery, gallery widget, image gallery, images, masonry gallery, media gallery, photo album, photo gallery, portfolio, responsive gallery, wordpress gallery, wordpress gallery plugin
4
- Requires at least: 3.4
 
5
  Tested up to: 4.8
6
- Stable Tag: trunk
7
- License: GPLv2 or later
8
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
- Gallery Plugin for WordPress. Creates responsive photo gallery widget with image gallery, masonry gallery, media gallery, portfolio gallery and albums.
11
 
12
  == Description ==
13
 
14
- ### Best WordPress Gallery Plugin
15
 
16
- https://youtu.be/gdXQdyGPLlE
17
 
18
- https://youtu.be/1UqagKny3a0
19
 
20
- ### The #1 photo gallery plugin on WordPress.org - **30,000+ customers** agree!
21
-
22
- Gallery Bank is such a powerful & responsive **WordPress gallery plugin**, designed with advanced features to showcase your image galleries in the most beautiful and authentic way.
23
 
24
  Whether you specialize in photography, creative designs, or a journalistic exploration, your photos tell a unique story and deserve to be presented in the best way possible.
25
 
26
- **This plugin is the ideal solution for creating portfolios, galleries, albums, showcases or teasers.**
 
 
 
27
 
28
  * **[Gallery Bank - Responsive Image Gallery Plugin](https://gallery-bank.tech-banker.com/)**
29
  * **[Detailed Features - Responsive Photo Gallery Plugin](http://gallery-bank.tech-banker.com/features/detailed-features/)**
@@ -32,26 +34,29 @@ Whether you specialize in photography, creative designs, or a journalistic explo
32
  * **[Documentation - Best Photo Gallery WordPress Plugin](https://gallery-bank.tech-banker.com/documentation/)**
33
  * **[Upgrade to Premium Editions - Photo Gallery Plugin for WordPress](https://gallery-bank.tech-banker.com/pricing/)**
34
 
35
- Create your own individual gallery easily in wordpress. The plugin comes with an user-friendly AJAX-driven adiminstration that allows creating galleries easily and quickly. You can display a gallery in a post, page or even in a gallery widget area.
 
 
 
 
36
 
37
- We especially took care about the loading speed performance by optimizing the queries and have created a custom and lightweight jQuery script.
38
 
39
- ### Best Portfolio Plugin
40
 
41
- Gallery Bank is an advanced portfolio plugin to show portfolio, gallery and more your work. This is a fully responsive gallery plugin. The product includes plugin for adding image galleries and albums to posts and pages, as well as multiple gallery widgets. You can add images, providing detailed gallery descriptions, organize the galleries into different photo albums.
 
 
 
 
 
 
 
 
 
42
 
43
- > ### WordPress Image Gallery Plugin - Live Demos
44
 
45
- > * **[Thumbnail Layout - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-title-description-thumbnail-layout/)**
46
- > * **[Thumbnail Layout with WordPress Gallery Lightbox - Gallery Wordpress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lightboxes-thumbnail-layout/)**
47
- > * **[Thumbnail Layout with Pagination - Photo Gallery WordPress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-pagination-thumbnail-layout/)**
48
- > * **[Thumbnail Layout with Lazy Load - Best WordPress Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lazy-load-thumbnail-layout/)**
49
- > * **[Thumbnail Layout with Filters](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-filters-thumbnail-layout/)**
50
- > * **[Thumbnail Layout with Order By](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-order-by-thumbnail-layout/)**
51
- > * **[Thumbnail Layout with Search Box](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-search-box-thumbnail-layout/)**
52
- > * **[Thumbnail Layout with Watermarking](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-watermark-thumbnail-layout/)**
53
- > * **[Thumbnail Layout with Animation Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-animation-thumbnail-layout/)**
54
- > * **[Thumbnail Layout with Special Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-special-effects-thumbnail-layout/)**
55
  > * **[Masonry Gallery - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-title-description-masonry-layout/)**
56
  > * **[Masonry Gallery with WordPress Gallery Lightbox - Gallery Wordpress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lightboxes-masonry-layout/)**
57
  > * **[Masonry Gallery with Pagination - Photo Gallery WordPress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-pagination-masonry-layout/)**
@@ -62,6 +67,9 @@ Gallery Bank is an advanced portfolio plugin to show portfolio, gallery and more
62
  > * **[Masonry Gallery with Watermark](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-watermark-masonry-layout/)**
63
  > * **[Masonry Gallery with Animation Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-animation-masonry-layout/)**
64
  > * **[Masonry Gallery with Special Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-special-effects-masonry-layout/)**
 
 
 
65
  > * **[Slideshow Gallery - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-title-description-slideshow-layout/)**
66
  > * **[Slideshow Gallery with Lazy Load - Best WordPress Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lazy-load-slideshow-layout/)**
67
  > * **[Slideshow Gallery with Filters](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-filters-slideshow-layout/)**
@@ -70,54 +78,80 @@ Gallery Bank is an advanced portfolio plugin to show portfolio, gallery and more
70
  > * **[Slideshow Gallery with Watermarking](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-watermark-slideshow-layout/)**
71
  > * **[Slideshow Gallery with Animation Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-animation-slideshow-layout/)**
72
  > * **[Slideshow Gallery with Special Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-special-effects-slideshow-layout/)**
73
- > * **[Image Browser Layout - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-title-description-image-browser-layout/)**
74
- > * **[Image Browser Layout with Lazy Load - Best WordPress Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lazy-load-image-browser-layout/)**
75
- > * **[Image Browser Layout with Filters](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-filters-image-browser-layout/)**
76
- > * **[Image Browser Layout with Order By](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-order-by-image-browser-layout/)**
77
- > * **[Image Browser Layout with Search Box](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-search-box-image-browser-layout/)**
78
- > * **[Image Browser Layout with Watermarking](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-watermark-image-browser-layout/)**
79
- > * **[Image Browser Layout with Animation Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-animation-image-browser-layout/)**
80
- > * **[Image Browser Layout with Special Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-special-effects-image-browser-layout/)**
81
- > * **[Justified Grid Layout - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-title-description-justified-grid-layout/)**
82
- > * **[Justified Grid Layout with WordPress Gallery Lightbox - Gallery Wordpress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lightboxes-justified-grid-layout/)**
83
- > * **[Justified Grid Layout with Pagination - Photo Gallery WordPress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-pagination-justified-grid-layout/)**
84
- > * **[Justified Grid with Lazy Load - Best WordPress Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lazy-load-justified-grid-layout/)**
85
- > * **[Justified Grid with Filters](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-filters-justified-grid-layout/)**
86
- > * **[Justified Grid with Order By](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-order-by-justified-grid-layout/)**
87
- > * **[Justified Grid with Search Box](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-search-box-justified-grid-layout/)**
88
- > * **[Justified Grid Layout with Watermarking](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-watermark-justified-grid-layout/)**
89
- > * **[Justified Grid Layout with Animation Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-animation-justified-grid-layout/)**
90
- > * **[Justified Grid Layout with Special Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-special-effects-justified-grid-layout/)**
91
- > * **[Blog Style Layout - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-title-description-blog-style-layout/)**
92
- > * **[Blog Style Layout with WordPress Gallery Lightbox - Gallery Wordpress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lightboxes-blog-style-layout/)**
93
- > * **[Blog Style Layout with Pagination - Photo Gallery WordPress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-pagination-blog-style-layout/)**
94
- > * **[Blog Style Layout with Lazy Load - Best WordPress Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lazy-load-blog-style-layout/)**
95
- > * **[Blog Style Layout with Filters](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-filters-blog-style-layout/)**
96
- > * **[Blog Style Layout with Order By](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-order-by-blog-style-layout/)**
97
- > * **[Blog Style Layout with Search Box](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-search-box-blog-style-layout/)**
98
- > * **[Blog Style Layout with Watermarking](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-watermark-blog-style-layout/)**
99
- > * **[Blog Style Layout with Animation Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-animation-blog-style-layout/)**
100
- > * **[Blog Style Layout with Special Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-special-effects-blog-style-layout/)**
 
 
 
 
 
 
 
 
 
 
 
 
101
  > * **[Photo Albums using Compact Album Layout - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-title-description-thumbnail-layout/)**
102
- > * **[Compact Album Layout with WordPress Gallery Lightbox - Gallery Wordpress Plugin](http://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-lightboxes-thumbnail-layout/)**
103
- > * **[Compact Album Layout with Pagination - Photo Gallery WordPress Plugin](http://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-pagination-thumbnail-layout/)**
104
- > * **[Compact Album Layout with Lazy Load - Best WordPress Gallery Plugin](http://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-lazy-load-thumbnail-layout/)**
105
- > * **[Compact Album Layout with Filters](http://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-filters-thumbnail-layout/)**
106
- > * **[Compact Album Layout with Order By](http://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-order-by-thumbnail-layout/)**
107
- > * **[Compact Album Layout with Search Box](http://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-search-box-thumbnail-layout/)**
108
- > * **[Compact Album Layout with Watermarking](http://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-watermark-thumbnail-layout/)**
109
- > * **[Compact Album Layout with Animation Effects](http://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-animation-thumbnail-layout/)**
110
- > * **[Compact Album Layout with Special Effects](http://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-special-effects-thumbnail-layout/)**
 
 
 
111
  > * **[Photo Albums using Extended Album Layout - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-title-description-thumbnail-layout/)**
112
- > * **[Extended Album Layout with WordPress Gallery Lightbox - Gallery Wordpress Plugin](http://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-lightboxes-thumbnail-layout/)**
113
- > * **[Extended Album Layout with Pagination - Photo Gallery WordPress Plugin](http://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-pagination-thumbnail-layout/)**
114
- > * **[Extended Album Layout with Lazy Load - Best WordPress Gallery Plugin](http://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-lazy-load-thumbnail-layout/)**
115
- > * **[Extended Album Layout with Filters](http://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-filters-thumbnail-layout/)**
116
- > * **[Extended Album Layout with Order By](http://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-order-by-thumbnail-layout/)**
117
- > * **[Extended Album Layout with Search Box](http://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-search-box-thumbnail-layout/)**
118
- > * **[Extended Album Layout with Watermarking](http://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-watermark-thumbnail-layout/)**
119
- > * **[Extended Album Layout with Animation Effects](http://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-animation-thumbnail-layout/)**
120
- > * **[Extended Album Layout Special Effects](http://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-special-effects-thumbnail-layout/)**
 
 
 
 
 
 
 
 
 
 
 
121
 
122
  [**WordPress Photo Gallery Plugin**](https://gallery-bank.tech-banker.com/) is one of the Best WordPress Gallery Plugin designed to create elegant and beautiful **photo gallery** and **photo albums** using **Masonry Gallery Layouts**, **Thumbnail Gallery Layouts**, **Compact Album Layouts** and **Extended Album Layouts** along with Special Effects and Animation Effects.
123
 
@@ -127,101 +161,104 @@ Gallery Bank is an advanced portfolio plugin to show portfolio, gallery and more
127
 
128
  It is the best **Gallery Plugin for WordPress** which is being regularly updated for new features and its simplicity of usage along with efficient functionality makes it a perfect choice among photographers to have a stunning look for their sites.
129
 
 
 
130
  There are also Premium Editions for the Gallery Plugin for WordPress with much more useful pro features available.
131
 
132
  Gallery Bank has been downloaded over 25,00,000 times. Smart photographers, designers, and developers love Gallery Bank, and you will love too!
133
 
134
  **[Upgrade to Premium Editions - Best Wordpress Gallery Plugin](https://gallery-bank.tech-banker.com/)**
135
 
136
- ### Wordpress Photo Gallery Plugin - Key Features in Lite Edition
137
-
138
- * 100% Responsive.
139
- * Clean and Modern Design
140
- * Ajax Themes Compatibility
141
- * Masonry Gallery
142
- * Thumbnails Gallery
143
- * Top Notch Support
144
- * Strong SEO Foundation
145
- * Shortcode Editor to style each gallery individually.
146
- * Use multiple instances on the same page.
147
- * User Friendly Admin Panel to add Galleries.
148
- * Create & Manage unlimited amount of image galleries on your WordPress site/blog.
149
- * Upload unlimited amount of photos/images in your gallery.
150
- * Images uploaded are stored in a separate directory to avoid mess up with inbuilt wp-uploads folder.
151
- * Photo Metadata is fetched from each image and populates to Title, Description, Alt Text Fields too.
152
- * Photo Metadata is retrieved as per IPTC Standard mentioned [here](https://iptc.org/standards/photo-metadata/photo-metadata/)
153
- * Add Gallery Title and Description to each of your photo galleries and albums.
154
- * Add Image Title, Image Description, Alt Text to each of your images.
155
- * Possibility to exclude images from displaying in a particular photo gallery.
156
- * Add single or multiple galleries to your page or post using a shortcode.
157
- * Supports Masonry Layout and Thumbnail Layouts.
158
- * Custom CSS Toolbox
159
- * Configure Thumbnail Dimensions in Global Options
160
- * Right Click Protection Feature in Global Options
161
- * Language Direction Feature in Global Options
162
- * Shortcode Wizard to add gallery shortcodes on your Page/Post.
163
- * Gallery Widget to let you use your photo albums and galleries on your widget section.
 
164
 
165
  Take your media gallery to the next level with [Premium Editions](https://gallery-bank.tech-banker.com/) which gives you 200+ features.
166
 
167
- ### Wordpress Photo Gallery Plugin - Key Features in Premium Editions
168
-
169
- * All Standard Edition Features as mentioned above.
170
- * Supports Thumbnail, Masonry, Slideshow, Image Browser, Justified Grid, Blog Style, Compact Album, Extended Album.
171
- * Compact Albums displays in a grid gallery format whereas Extended Albums displays in a List format.
172
- * Manage Galleries
173
- * Upload Images using PL Uploader, WP Media Manager, FTP Folder, Upload Video
174
- * Video Gallery from Youtube, Facebook, Vimeo etc.
175
- * Set Thumbnail as Cover Image.
176
- * Apply Tags to use as Filters for your filterable portfolio.
177
- * Edit Images - Crop, Rotate Anti Clockwize, Rotate Clockwize, Flip Images Vertically, Flip Images Horizontally, Restore Images, Watermarking.
178
- * Edit Images - Effects such as Grayscale, Negative, Removal, Sepia, Slate, Saturate, Brightness, Contrast.
179
- * Copy Images to other Galleries, Move Images to other Galleries.
180
- * Sort Galleries - Drag & Drop Images to provide Custom Order/Sequence for displaying as per your needs.
181
- * Manage Albums - Edit existing Album, Delete Album, Delete All Albums
182
- * Add Album - Album Title & Description
183
- * Add Album - Add Existing Galleries to your Album to display on Front End.
184
- * Sort Galleries - Drag & Drop Images to provide Custom Order/Sequence for displaying as per your needs.
185
- * Manage Tags - Edit Tags, Delete Tags
186
- * Add Tags - Tag Name, Description for Filters to be applied later to Galleries, Albums
187
- * Customize Thumbnail Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.
188
- * Customize Masonry Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.
189
- * Customize Slideshow Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.
190
- * Customize Image Browser Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.
191
- * Customize Justified Grid Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.
192
- * Customize Blog Style Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.
193
- * Customize Compact Album Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.
194
- * Customize Extended Album Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.
195
- * Customize Layouts using Custom CSS.
196
- * Customize Lightcase Lightbox - General Settings, Image Title, Image Description.
197
- * Customize Fancy Box Lightbox - General Settings, Image Title, Image Description.
198
- * Customize Color Box Lightbox - General Settings, Image Title, Image Description.
199
- * Customize Foo Box Free Edition - General Settings, Image Title, Image Description.
200
- * Customize Nivo Lightbox - General Settings, Image Title, Image Description.
201
- * Global Options - Configure Thumbnail Dimensions, Right Click Protection, Language Direction
202
- * Lazy Load Settings - Customize Lazy Load Settings for loading of Images in Galleries and Albums.
203
- * Filter Settings - Customize Filter Settings to create Filterable Photo Gallery for your website/blog.
204
- * Order By Settings - Customize Order By Button.
205
- * Search Box Settings - Customize Search Button to make your galleries also searchable.
206
- * Page Navigation Settings - Customize Page Navigation to make your galleries to divide into pages.
207
- * Watermark Settings - Customize Watermark Settings to make your galleries enabled with watermarking.
208
- * Advertisement Settings - Customize Advertisement Settings to make your WordPress gallery lightbox loaded with advertisement.
209
- * WordPress Gallery Shortcode Wizard for Thumbnail Gallery, Masonry Gallery, Slideshow Gallery, Image Browser Gallery, Justified Grid Gallery Gallery, Blog Style Gallery.
210
- * Roles and Capabilities to let you choose what WordPress roles can edit your galleries.
211
- * Awesome **grid gallery** layouts using compact album.
212
- * Awesome **filterable portfolio** using tags in all layouts.
213
- * Photo Gallery Widget to embed all WordPress gallery shortcodes.
214
- * 24/7 Technical Support
 
 
215
 
216
  The gallery is completely customizable, resizable and is compatible with all browsers and devices (iPhone, iPad and Android smartphones). You will be able to insert it in any page or post you want with inbuilt short code generator.
217
 
218
- For an even more personal and compelling gallery experience, you can add special effects to your photos. This comprehensive **gallery plugin** also allows you to integrate a bundle of beautiful free and premium lightbox options to your **WordPress Gallery**, to define how your photos display after a thumbnail click. Mobile friendly and retina ready, Gallery Bank gives you complete confidence that your gallery will perform flawlessly on any device, orientation or pixel density.
219
-
220
  Visit [here](https://gallery-bank.tech-banker.com/) to upgrade to Premium Editions now.
221
 
222
- Gallery Bank uses [FooBox](https://WordPress.org/plugins/foobox-image-lightbox/) as its default gallery lightbox which is licensed under GPL V2 or later.
223
 
224
- ### Responsive Gallery
225
 
226
  It is being designed keeping in mind the optimal viewing experience across a wide range of devices. At the same time it is coded to work also on old browsers! Whether your visitors are on a Mobile, Laptop or Desktop your Gallery will look great on any device.
227
 
@@ -271,21 +308,53 @@ For the Premium Edition there is a separate support package available. Please do
271
 
272
  == Frequently Asked Questions ==
273
 
274
- = How to Install? =
 
 
 
 
 
 
275
 
276
- Here are the below mentioned steps for installing Gallery Bank on your WordPress.
277
 
278
- If you are using the Standard Edition, you can follow the following steps:
279
 
280
- * Login to the WordPress Administrator Panel.
281
- * Go to "Plugins > Add New".
282
- * In the Search box, type "Gallery Bank" and press Enter.
283
- * In the results grid, you will get a link as "Gallery Bank", click on "Install Now" link for "Gallery Bank".
284
- * Click "Activate Plugin" link to activate the Plugin.
285
 
286
- Hopefully, if you have followed the steps properly as mentioned above, you will see the success message.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
287
 
288
- If any problem occurs during installation process, please contact us at [support@tech-banker.com](support@tech-banker.com)
 
 
 
 
 
 
 
289
 
290
  = How to customize Galleries? =
291
 
@@ -2410,6 +2479,13 @@ The following set of lists are the minimum requirements for installing Gallery B
2410
 
2411
  == Changelog ==
2412
 
 
 
 
 
 
 
 
2413
  = 4.0.8 =
2414
 
2415
  * FIX: Major Shortcode Bug
1
  === Gallery - Photo Gallery - Image Gallery - Photo Albums - WordPress Gallery Plugin ===
2
  Contributors: gallery-bank, contact-banker
3
+ Donate link: https://gallery-bank.tech-banker.com/
4
+ Tags: album, gallery, gallery widget, image gallery, images, masonry gallery, media gallery, photo album, photo gallery, portfolio, responsive gallery, wordpress gallery, wordpress gallery plugin, gallery lightbox, masonry gallery
5
+ Requires at least: 3.3
6
  Tested up to: 4.8
7
+ Stable tag: trunk
8
+ License: GPLv3 or later
9
+ License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
11
+ Responsive Gallery Plugin. Gallery Widget, Image Gallery, Grid Gallery, Media Gallery, Filterable Portfolio Gallery, Gallery Lightbox, Photo Albums.
12
 
13
  == Description ==
14
 
15
+ ### #1 WordPress Photo Gallery Plugin - Gallery Bank
16
 
17
+ #### [Gallery Bank is the Most Advanced and Powerful WordPress Gallery Plugin to create attractive photo galleries and gallery images.](https://gallery-bank.tech-banker.com/)
18
 
19
+ #### Whether you specialize in photography, creative designs, or a journalistic exploration, your photos tell a unique story and deserve to be presented in the best way possible.
20
 
21
+ Gallery Bank is a powerful and **responsive gallery plugin**, designed with advanced features to showcase your image galleries in the most beautiful and authentic way.
 
 
22
 
23
  Whether you specialize in photography, creative designs, or a journalistic exploration, your photos tell a unique story and deserve to be presented in the best way possible.
24
 
25
+ > <strong>Gallery Bank Premium Editions</strong><br />
26
+ > This plugin is the lite version of the very popular Gallery Bank Plugin that comes with all the gallery features you will ever need including photo albums, tags, gallery layouts, deeplinking, pagination, watermarking, image proofing, different gallery lightboxes and tons more. <a href="https://gallery-bank.tech-banker.com/" rel="friend" title="Gallery Bank">Click here to purchase the best premium WordPress gallery plugin now!</a>
27
+
28
+ #### This plugin is the ideal solution for creating portfolios, galleries, albums, gallery lightbox, showcases or teasers.
29
 
30
  * **[Gallery Bank - Responsive Image Gallery Plugin](https://gallery-bank.tech-banker.com/)**
31
  * **[Detailed Features - Responsive Photo Gallery Plugin](http://gallery-bank.tech-banker.com/features/detailed-features/)**
34
  * **[Documentation - Best Photo Gallery WordPress Plugin](https://gallery-bank.tech-banker.com/documentation/)**
35
  * **[Upgrade to Premium Editions - Photo Gallery Plugin for WordPress](https://gallery-bank.tech-banker.com/pricing/)**
36
 
37
+ = Install and create your first Wordpress gallery in few minutes =
38
+
39
+ [youtube https://youtu.be/gdXQdyGPLlE]
40
+
41
+ = Implement your first WordPress gallery shortcode in few minutes =
42
 
43
+ [youtube https://youtu.be/1UqagKny3a0]
44
 
45
+ > ### WordPress Gallery Images Demos for Thumbnail Grid Gallery
46
 
47
+ > * **[Thumbnail Grid Gallery - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-title-description-thumbnail-layout/)**
48
+ > * **[Thumbnail Grid Gallery with WordPress Gallery Lightbox - Gallery Wordpress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lightboxes-thumbnail-layout/)**
49
+ > * **[Thumbnail Grid Gallery with Pagination - Photo Gallery WordPress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-pagination-thumbnail-layout/)**
50
+ > * **[Thumbnail Grid Gallery with Lazy Load - Best WordPress Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lazy-load-thumbnail-layout/)**
51
+ > * **[Thumbnail Grid Gallery with Filters](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-filters-thumbnail-layout/)**
52
+ > * **[Thumbnail Grid Gallery with Order By](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-order-by-thumbnail-layout/)**
53
+ > * **[Thumbnail Grid Gallery with Search Box](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-search-box-thumbnail-layout/)**
54
+ > * **[Thumbnail Grid Gallery with Watermarking](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-watermark-thumbnail-layout/)**
55
+ > * **[Thumbnail Grid Gallery with Animation Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-animation-thumbnail-layout/)**
56
+ > * **[Thumbnail Grid Gallery with Special Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-special-effects-thumbnail-layout/)**
57
 
58
+ > ### WordPress Gallery Plugin Demos for Masonry Gallery
59
 
 
 
 
 
 
 
 
 
 
 
60
  > * **[Masonry Gallery - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-title-description-masonry-layout/)**
61
  > * **[Masonry Gallery with WordPress Gallery Lightbox - Gallery Wordpress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lightboxes-masonry-layout/)**
62
  > * **[Masonry Gallery with Pagination - Photo Gallery WordPress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-pagination-masonry-layout/)**
67
  > * **[Masonry Gallery with Watermark](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-watermark-masonry-layout/)**
68
  > * **[Masonry Gallery with Animation Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-animation-masonry-layout/)**
69
  > * **[Masonry Gallery with Special Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-special-effects-masonry-layout/)**
70
+
71
+ > ### Gallery Plugin Demos for Slideshow Gallery
72
+
73
  > * **[Slideshow Gallery - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-title-description-slideshow-layout/)**
74
  > * **[Slideshow Gallery with Lazy Load - Best WordPress Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lazy-load-slideshow-layout/)**
75
  > * **[Slideshow Gallery with Filters](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-filters-slideshow-layout/)**
78
  > * **[Slideshow Gallery with Watermarking](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-watermark-slideshow-layout/)**
79
  > * **[Slideshow Gallery with Animation Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-animation-slideshow-layout/)**
80
  > * **[Slideshow Gallery with Special Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-special-effects-slideshow-layout/)**
81
+
82
+ > ### Photo Gallery Plugin Demos for Image Browser Gallery
83
+
84
+ > * **[Image Browser Gallery - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-title-description-image-browser-layout/)**
85
+ > * **[Image Browser Gallery with Lazy Load - Best WordPress Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lazy-load-image-browser-layout/)**
86
+ > * **[Image Browser Gallery with Filters](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-filters-image-browser-layout/)**
87
+ > * **[Image Browser Gallery with Order By](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-order-by-image-browser-layout/)**
88
+ > * **[Image Browser Gallery with Search Box](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-search-box-image-browser-layout/)**
89
+ > * **[Image Browser Gallery with Watermarking](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-watermark-image-browser-layout/)**
90
+ > * **[Image Browser Gallery with Animation Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-animation-image-browser-layout/)**
91
+ > * **[Image Browser Gallery with Special Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-special-effects-image-browser-layout/)**
92
+
93
+ > ### Image Gallery Plugin Demos for Justified Grid Gallery
94
+
95
+ > * **[Justified Grid Gallery - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-title-description-justified-grid-layout/)**
96
+ > * **[Justified Grid Gallery with WordPress Gallery Lightbox - Gallery Wordpress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lightboxes-justified-grid-layout/)**
97
+ > * **[Justified Grid Gallery with Pagination - Photo Gallery WordPress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-pagination-justified-grid-layout/)**
98
+ > * **[Justified Grid Gallery with Lazy Load - Best WordPress Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lazy-load-justified-grid-layout/)**
99
+ > * **[Justified Grid Gallery with Filters](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-filters-justified-grid-layout/)**
100
+ > * **[Justified Grid Gallery with Order By](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-order-by-justified-grid-layout/)**
101
+ > * **[Justified Grid Gallery with Search Box](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-search-box-justified-grid-layout/)**
102
+ > * **[Justified Grid Gallery with Watermarking](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-watermark-justified-grid-layout/)**
103
+ > * **[Justified Grid Gallery with Animation Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-animation-justified-grid-layout/)**
104
+ > * **[Justified Grid Gallery with Special Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-special-effects-justified-grid-layout/)**
105
+
106
+ > ### Gallery Images Demos for Blog Style Gallery
107
+
108
+ > * **[Blog Style Gallery - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-title-description-blog-style-layout/)**
109
+ > * **[Blog Style Gallery with WordPress Gallery Lightbox - Gallery Wordpress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lightboxes-blog-style-layout/)**
110
+ > * **[Blog Style Gallery with Pagination - Photo Gallery WordPress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-pagination-blog-style-layout/)**
111
+ > * **[Blog Style Gallery with Lazy Load - Best WordPress Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lazy-load-blog-style-layout/)**
112
+ > * **[Blog Style Gallery with Filters](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-filters-blog-style-layout/)**
113
+ > * **[Blog Style Gallery with Order By](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-order-by-blog-style-layout/)**
114
+ > * **[Blog Style Gallery with Search Box](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-search-box-blog-style-layout/)**
115
+ > * **[Blog Style Gallery with Watermarking](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-watermark-blog-style-layout/)**
116
+ > * **[Blog Style Gallery with Animation Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-animation-blog-style-layout/)**
117
+ > * **[Blog Style Gallery with Special Effects](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-special-effects-blog-style-layout/)**
118
+
119
+ > ### Photo Albums Demos for Compact Albums
120
+
121
  > * **[Photo Albums using Compact Album Layout - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-title-description-thumbnail-layout/)**
122
+ > * **[Compact Album with WordPress Gallery Lightbox - Gallery Wordpress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-lightboxes-thumbnail-layout/)**
123
+ > * **[Compact Album with Pagination - Photo Gallery WordPress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-pagination-thumbnail-layout/)**
124
+ > * **[Compact Album with Lazy Load - Best WordPress Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-lazy-load-thumbnail-layout/)**
125
+ > * **[Compact Album with Filters](https://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-filters-thumbnail-layout/)**
126
+ > * **[Compact Album with Order By](https://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-order-by-thumbnail-layout/)**
127
+ > * **[Compact Album with Search Box](https://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-search-box-thumbnail-layout/)**
128
+ > * **[Compact Album with Watermarking](https://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-watermark-thumbnail-layout/)**
129
+ > * **[Compact Album with Animation Effects](https://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-animation-thumbnail-layout/)**
130
+ > * **[Compact Album with Special Effects](https://gallery-bank.tech-banker.com/frontend-demos/compact-album-with-special-effects-thumbnail-layout/)**
131
+
132
+ > ### Photo Albums Demos for Extended Albums
133
+
134
  > * **[Photo Albums using Extended Album Layout - WordPress Image Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-title-description-thumbnail-layout/)**
135
+ > * **[Extended Album with WordPress Gallery Lightbox - Gallery Wordpress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-lightboxes-thumbnail-layout/)**
136
+ > * **[Extended Album with Pagination - Photo Gallery WordPress Plugin](https://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-pagination-thumbnail-layout/)**
137
+ > * **[Extended Album with Lazy Load - Best WordPress Gallery Plugin](https://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-lazy-load-thumbnail-layout/)**
138
+ > * **[Extended Album with Filters](https://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-filters-thumbnail-layout/)**
139
+ > * **[Extended Album with Order By](https://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-order-by-thumbnail-layout/)**
140
+ > * **[Extended Album with Search Box](https://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-search-box-thumbnail-layout/)**
141
+ > * **[Extended Album with Watermarking](https://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-watermark-thumbnail-layout/)**
142
+ > * **[Extended Album with Animation Effects](https://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-animation-thumbnail-layout/)**
143
+ > * **[Extended Album with Special Effects](https://gallery-bank.tech-banker.com/frontend-demos/extended-album-with-special-effects-thumbnail-layout/)**
144
+
145
+ > ### Gallery Lightbox Demos
146
+
147
+ > * **[LightCase Gallery Lightbox](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lightboxes-masonry-layout/lightcase-lightbox/)**
148
+ > * **[Fancy Box Gallery Lightbox](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lightboxes-masonry-layout/fancy-box/)**
149
+ > * **[Color Box Gallery Lightbox](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lightboxes-masonry-layout/color-box/)**
150
+ > * **[Foo Box Gallery Lightbox](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lightboxes-masonry-layout/foo-box/)**
151
+ > * **[Nivo Gallery Lightbox](https://gallery-bank.tech-banker.com/frontend-demos/individual-images-with-lightboxes-masonry-layout/nivo-lightbox/)**
152
+
153
+
154
+ ### Create Filterable Portfolio with Premium Editions
155
 
156
  [**WordPress Photo Gallery Plugin**](https://gallery-bank.tech-banker.com/) is one of the Best WordPress Gallery Plugin designed to create elegant and beautiful **photo gallery** and **photo albums** using **Masonry Gallery Layouts**, **Thumbnail Gallery Layouts**, **Compact Album Layouts** and **Extended Album Layouts** along with Special Effects and Animation Effects.
157
 
161
 
162
  It is the best **Gallery Plugin for WordPress** which is being regularly updated for new features and its simplicity of usage along with efficient functionality makes it a perfect choice among photographers to have a stunning look for their sites.
163
 
164
+ ### #1 WordPress Filterable Portfolio Plugin
165
+
166
  There are also Premium Editions for the Gallery Plugin for WordPress with much more useful pro features available.
167
 
168
  Gallery Bank has been downloaded over 25,00,000 times. Smart photographers, designers, and developers love Gallery Bank, and you will love too!
169
 
170
  **[Upgrade to Premium Editions - Best Wordpress Gallery Plugin](https://gallery-bank.tech-banker.com/)**
171
 
172
+ ### Wordpress Photo Gallery Plugin - Key Features (Free)
173
+
174
+ * **Easy to use.**
175
+ * **100% Responsive.**
176
+ * **Retina Support**
177
+ * **Clean and Modern Design**
178
+ * **Ajax Themes Compatibility**
179
+ * **Masonry Gallery**
180
+ * **Thumbnails Gallery**
181
+ * **Top Notch Support**
182
+ * **Strong SEO Foundation**
183
+ * **Shortcode Generator**
184
+ * **User Friendly Admin Panel to add Galleries.**
185
+ * **Create & Manage unlimited amount of image galleries on your WordPress site/blog.**
186
+ * **Upload unlimited amount of photos/images in your gallery.**
187
+ * **Images uploaded are stored in a separate directory to avoid mess up with inbuilt wp-uploads folder.**
188
+ * **Photo Metadata is fetched from each image and populates to Title, Description, Alt Text Fields too.**
189
+ * **Photo Metadata is retrieved as per IPTC Standard mentioned [here](https://iptc.org/standards/photo-metadata/photo-metadata/)**
190
+ * **Add Gallery Title and Description to each of your photo galleries and albums.**
191
+ * **Add Image Title, Image Description, Alt Text to each of your images.**
192
+ * **Possibility to exclude images from displaying in a particular photo gallery.**
193
+ * **Add single or multiple galleries to your page or post using a shortcode.**
194
+ * **Supports Masonry Layout and Thumbnail Layouts.**
195
+ * **Custom CSS Toolbox**
196
+ * **Configure Thumbnail Dimensions in Global Options**
197
+ * **Right Click Protection Feature in Global Options**
198
+ * **Language Direction Feature in Global Options**
199
+ * **Shortcode Wizard to add gallery shortcodes on your Page/Post.**
200
+ * **Gallery Widget to let you use your photo albums and galleries on your widget section.**
201
 
202
  Take your media gallery to the next level with [Premium Editions](https://gallery-bank.tech-banker.com/) which gives you 200+ features.
203
 
204
+ ### Wordpress Photo Gallery Plugin - Key Features (Premium Editions)
205
+
206
+ * **All Standard Edition Features as mentioned above.**
207
+ * **Supports Thumbnail Gallery, Masonry Gallery, Slideshow Gallery, Image Browser Gallery, Justified Grid Gallery, Blog Style Gallery, Compact Album, Extended Album.**
208
+ * **Compact Albums displays in a grid gallery format whereas Extended Albums displays in a List format.**
209
+ * **Manage Galleries**
210
+ * **Upload Images using PL Uploader, WP Media Manager, FTP Folder, Upload Video**
211
+ * **Video Gallery from Youtube, Facebook, Vimeo etc.**
212
+ * **Set Thumbnail as Cover Image.**
213
+ * **Apply Tags to use as Filters for your filterable portfolio.**
214
+ * **Edit Images - Crop, Rotate Anti Clockwize, Rotate Clockwize, Flip Images Vertically, Flip Images Horizontally, Restore Images, Watermarking.**
215
+ * **Edit Images - Effects such as Grayscale, Negative, Removal, Sepia, Slate, Saturate, Brightness, Contrast.**
216
+ * **Copy Images to other Galleries, Move Images to other Galleries.**
217
+ * **Sort Galleries - Drag & Drop Images to provide Custom Order/Sequence for displaying as per your needs.**
218
+ * **Manage Albums - Edit existing Album, Delete Album, Delete All Albums**
219
+ * **Add Album - Album Title & Description**
220
+ * **Add Album - Add Existing Galleries to your Album to display on Front End.**
221
+ * **Sort Galleries - Drag & Drop Images to provide Custom Order/Sequence for displaying as per your needs.**
222
+ * **Manage Tags - Edit Tags, Delete Tags**
223
+ * **Add Tags - Tag Name, Description for Filters to be applied later to Galleries, Albums**
224
+ * **Customize Thumbnail Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.**
225
+ * **Customize Masonry Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.**
226
+ * **Customize Slideshow Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.**
227
+ * **Customize Image Browser Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.**
228
+ * **Customize Justified Grid Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.**
229
+ * **Customize Blog Style Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.**
230
+ * **Customize Compact Album Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.**
231
+ * **Customize Extended Album Gallery - Layout Settings for Thumbnails, Gallery Title & Description, Thumbnail Title & Description.**
232
+ * **Customize Layouts using Custom CSS.**
233
+ * **Customize Lightcase Lightbox - General Settings, Image Title, Image Description.**
234
+ * **Customize Fancy Box Lightbox - General Settings, Image Title, Image Description.**
235
+ * **Customize Color Box Lightbox - General Settings, Image Title, Image Description.**
236
+ * **Customize Foo Box Free Edition - General Settings, Image Title, Image Description.**
237
+ * **Customize Nivo Lightbox - General Settings, Image Title, Image Description.**
238
+ * **Global Options - Configure Thumbnail Dimensions, Right Click Protection, Language Direction**
239
+ * **Lazy Load Settings - Customize Lazy Load Settings for loading of Images in Galleries and Albums.**
240
+ * **Filter Settings - Customize Filter Settings to create Filterable Photo Gallery for your website/blog.**
241
+ * **Order By Settings - Customize Order By Button.**
242
+ * **Search Box Settings - Customize Search Button to make your galleries also searchable.**
243
+ * **Page Navigation Settings - Customize Page Navigation to make your galleries to divide into pages.**
244
+ * **Watermark Settings - Customize Watermark Settings to make your galleries enabled with watermarking.**
245
+ * **Advertisement Settings - Customize Advertisement Settings to make your WordPress gallery lightbox loaded with advertisement.**
246
+ * **WordPress Gallery Shortcode Wizard for Thumbnail Gallery, Masonry Gallery, Slideshow Gallery, Image Browser Gallery, Justified Grid Gallery Gallery, Blog Style Gallery.**
247
+ * **Special Effects for Gallery Images & Thumbnails**
248
+ * **Animation Effects for Gallery Images & Thumbnails**
249
+ * **Roles and Capabilities to let you choose what WordPress roles can edit your galleries.**
250
+ * **Awesome **grid gallery** layouts using compact album.**
251
+ * **Awesome **filterable portfolio** using tags in all layouts.**
252
+ * **Photo Gallery Widget to embed all WordPress gallery shortcodes.**
253
+ * **24/7 Technical Support**
254
 
255
  The gallery is completely customizable, resizable and is compatible with all browsers and devices (iPhone, iPad and Android smartphones). You will be able to insert it in any page or post you want with inbuilt short code generator.
256
 
 
 
257
  Visit [here](https://gallery-bank.tech-banker.com/) to upgrade to Premium Editions now.
258
 
259
+ Gallery Bank uses FooBox as its default gallery lightbox which is licensed under GPL V2 or later.
260
 
261
+ ### Responsive Gallery Plugin
262
 
263
  It is being designed keeping in mind the optimal viewing experience across a wide range of devices. At the same time it is coded to work also on old browsers! Whether your visitors are on a Mobile, Laptop or Desktop your Gallery will look great on any device.
264
 
308
 
309
  == Frequently Asked Questions ==
310
 
311
+ = Who should you use Gallery Bank - The Best WordPress Gallery Plugin? =
312
+
313
+ Well, Gallery Bank is perfect for photographers, designers, bloggers, and small businesses.
314
+
315
+ Basically if you want to create a beautiful WordPress gallery, then you need to use Gallery Bank.
316
+
317
+ = Do I still need to have coding skills to use Gallery Bank? =
318
 
319
+ Absolutely not! You can create and customize beautiful image galleries without any coding knowledge. We made it super easy!
320
 
321
+ = What kind of galleries can I create with Gallery Bank? =
322
 
323
+ With this wordPress gallery plugin, you can create the following:
 
 
 
 
324
 
325
+ Photo gallery
326
+ Image gallery
327
+ Video gallery
328
+ Fullscreen gallery
329
+ Image Gallery with Albums
330
+ Image Gallery with Lightbox
331
+ Featured Content Gallery
332
+ Masonry Photo Gallery
333
+ Justified Image Gallery
334
+ Image Gallery with Pagination
335
+ Image Gallery with Tags
336
+ Photo Gallery with EXIF Data
337
+ Image Gallery with Watermarks
338
+ Photo Gallery with Slideshow
339
+ Image Gallery with Zoom
340
+ Photo Gallery with Proofing
341
+ Image Gallery with Lazyload
342
+ Image Gallery with Lightroom Photos
343
+ YouTube Video Gallery
344
+ Vimeo Video Gallery
345
+ Dynamic Photo Gallery
346
+ Portfolio Gallery
347
+ Photo Gallery with Tiles
348
+ Image Gallery with Grid
349
 
350
+
351
+ = I'd like access to all features. How can I get them? =
352
+
353
+ You can get access to more features, Addons and support by <a href="https://gallery-bank.tech-banker.com/" rel="friend" title="Click here to learn more about Gallery Bank!">visiting the Gallery Bank Official website and purchasing a license</a>.
354
+
355
+ = Is Gallery Bank translation ready? =
356
+
357
+ Yes, Gallery Bank has full translation and localization support via the gallery-bank textdomain. To submit a translation, see https://translate.wordpress.org/projects/wp-plugins/gallery-bank/
358
 
359
  = How to customize Galleries? =
360
 
2479
 
2480
  == Changelog ==
2481
 
2482
+ = 4.0.9 =
2483
+
2484
+ * TWEAK: Tabs Removed from Add/Edit Gallery Page
2485
+ * FIX: Masonry Layout Bug
2486
+ * FIX: Thumbnail Layout Bug
2487
+ * FIX: Overview Page Changed
2488
+
2489
  = 4.0.8 =
2490
 
2491
  * FIX: Major Shortcode Bug
user-views/layouts/compact-album-layout/compact-album-layout.php CHANGED
@@ -23,28 +23,35 @@ if (!defined("ABSPATH")) {
23
  <img src="<?php echo GALLERY_BANK_THUMBS_CROPPED_URL . esc_attr($gallery["gallery_cover_image"]); ?>"/>
24
  </div>
25
  </a>
26
- <div id="grid_content_item_album" class="compact_album_grid_content_item">
27
- <?php
28
- if ($gallery_title == "show" && $gallery["gallery_title"] != "") {
29
- ?>
30
- <a href="<?php echo $redirect_url; ?>" id="grid_album_single_text_title_<?php echo $random . "_" . $gallery["id"]; ?>" class="compact_album_grid_single_text_title">
31
- <<?php echo isset($compact_album_layout_settings["compact_album_layout_gallery_title_html_tag"]) ? esc_attr($compact_album_layout_settings["compact_album_layout_gallery_title_html_tag"]) : "h3"; ?>>
32
- <?php echo isset($gallery["gallery_title"]) ? htmlspecialchars_decode($gallery["gallery_title"]) : ""; ?>
33
- </<?php echo isset($compact_album_layout_settings["compact_album_layout_gallery_title_html_tag"]) ? esc_attr($compact_album_layout_settings["compact_album_layout_gallery_title_html_tag"]) : "h3"; ?>>
34
- </a>
35
- <?php
36
- }
37
- if ($gallery_description == "show" && $gallery["gallery_description"] != "") {
38
- ?>
39
- <a href="<?php echo $redirect_url; ?>" id="grid_album_single_text_desc_<?php echo $random . "_" . $gallery["id"]; ?>" class="compact_album_grid_single_text_desc">
40
- <<?php echo isset($compact_album_layout_settings["compact_album_layout_gallery_description_html_tag"]) ? esc_attr($compact_album_layout_settings["compact_album_layout_gallery_description_html_tag"]) : "p"; ?>>
41
- <?php echo isset($gallery["gallery_description"]) ? htmlspecialchars_decode($gallery["gallery_description"]) : ""; ?>
42
- </<?php echo isset($compact_album_layout_settings["compact_album_layout_gallery_description_html_tag"]) ? esc_attr($compact_album_layout_settings["compact_album_layout_gallery_description_html_tag"]) : "p"; ?>>
43
- </a>
44
- <?php
45
- }
46
- ?>
47
- </div>
 
 
 
 
 
 
 
48
  </div>
49
  <?php
50
  }
23
  <img src="<?php echo GALLERY_BANK_THUMBS_CROPPED_URL . esc_attr($gallery["gallery_cover_image"]); ?>"/>
24
  </div>
25
  </a>
26
+ <?php
27
+ if($gallery["gallery_title"] != "" || $gallery["gallery_description"] != "")
28
+ {
29
+ ?>
30
+ <div id="grid_content_item_album" class="compact_album_grid_content_item">
31
+ <?php
32
+ if ($gallery_title == "show" && $gallery["gallery_title"] != "") {
33
+ ?>
34
+ <a href="<?php echo $redirect_url; ?>" id="grid_album_single_text_title_<?php echo $random . "_" . $gallery["id"]; ?>" class="compact_album_grid_single_text_title">
35
+ <<?php echo isset($compact_album_layout_settings["compact_album_layout_gallery_title_html_tag"]) ? esc_attr($compact_album_layout_settings["compact_album_layout_gallery_title_html_tag"]) : "h3"; ?>>
36
+ <?php echo isset($gallery["gallery_title"]) ? htmlspecialchars_decode($gallery["gallery_title"]) : ""; ?>
37
+ </<?php echo isset($compact_album_layout_settings["compact_album_layout_gallery_title_html_tag"]) ? esc_attr($compact_album_layout_settings["compact_album_layout_gallery_title_html_tag"]) : "h3"; ?>>
38
+ </a>
39
+ <?php
40
+ }
41
+ if ($gallery_description == "show" && $gallery["gallery_description"] != "") {
42
+ ?>
43
+ <a href="<?php echo $redirect_url; ?>" id="grid_album_single_text_desc_<?php echo $random . "_" . $gallery["id"]; ?>" class="compact_album_grid_single_text_desc">
44
+ <<?php echo isset($compact_album_layout_settings["compact_album_layout_gallery_description_html_tag"]) ? esc_attr($compact_album_layout_settings["compact_album_layout_gallery_description_html_tag"]) : "p"; ?>>
45
+ <?php echo isset($gallery["gallery_description"]) ? htmlspecialchars_decode($gallery["gallery_description"]) : ""; ?>
46
+ </<?php echo isset($compact_album_layout_settings["compact_album_layout_gallery_description_html_tag"]) ? esc_attr($compact_album_layout_settings["compact_album_layout_gallery_description_html_tag"]) : "p"; ?>>
47
+ </a>
48
+ <?php
49
+ }
50
+ ?>
51
+ </div>
52
+ <?php
53
+ }
54
+ ?>
55
  </div>
56
  <?php
57
  }
user-views/layouts/masonry-layout/masonry-layout.php CHANGED
@@ -57,28 +57,35 @@ if (!defined("ABSPATH")) {
57
  <img src="<?php echo GALLERY_BANK_THUMBS_NON_CROPPED_URL . esc_attr($pic["image_name"]) ?>" alt="<?php echo $pic["alt_text"] ?>" image_full_path="<?php echo GALLERY_BANK_ORIGINAL_URL . esc_attr($pic["image_name"]); ?>" id="ux_gb_file_<?php echo $random . "_" . $pic["id"]; ?>" name="ux_gb_file" />
58
  </a>
59
  </div>
60
- <div id="grid_content_item" class="masonry_grid_content_item">
61
- <?php
62
- if ($thumbnail_title == "show" && $pic["image_title"] != "") {
63
- ?>
64
- <div id="grid_single_text_title_<?php echo $random . "_" . $pic["id"]; ?>" class="masonry_grid_single_text_title">
65
- <<?php echo isset($masonry_layout_settings["masonry_layout_thumbnail_title_html_tag"]) ? esc_attr($masonry_layout_settings["masonry_layout_thumbnail_title_html_tag"]) : "h3"; ?>>
66
- <?php echo isset($pic["image_title"]) ? htmlspecialchars_decode($pic["image_title"]) : ""; ?>
67
- </<?php echo isset($masonry_layout_settings["masonry_layout_thumbnail_title_html_tag"]) ? esc_attr($masonry_layout_settings["masonry_layout_thumbnail_title_html_tag"]) : "h3"; ?>>
68
- </div>
69
- <?php
70
- }
71
- if ($thumbnail_description == "show" && $pic["image_description"] != "") {
72
- ?>
73
- <div id="grid_single_text_desc_<?php echo $random . "_" . $pic["id"]; ?>" class="masonry_grid_single_text_desc">
74
- <<?php echo isset($masonry_layout_settings["masonry_layout_thumbnail_description_html_tag"]) ? esc_attr($masonry_layout_settings["masonry_layout_thumbnail_description_html_tag"]) : "p"; ?>>
75
- <?php echo isset($pic["image_description"]) ? htmlspecialchars_decode($pic["image_description"]) : ""; ?>
76
- </<?php echo isset($masonry_layout_settings["masonry_layout_thumbnail_description_html_tag"]) ? esc_attr($masonry_layout_settings["masonry_layout_thumbnail_description_html_tag"]) : "p"; ?>>
77
- </div>
78
- <?php
79
- }
80
- ?>
81
- </div>
 
 
 
 
 
 
 
82
  </div>
83
  <?php
84
  }
57
  <img src="<?php echo GALLERY_BANK_THUMBS_NON_CROPPED_URL . esc_attr($pic["image_name"]) ?>" alt="<?php echo $pic["alt_text"] ?>" image_full_path="<?php echo GALLERY_BANK_ORIGINAL_URL . esc_attr($pic["image_name"]); ?>" id="ux_gb_file_<?php echo $random . "_" . $pic["id"]; ?>" name="ux_gb_file" />
58
  </a>
59
  </div>
60
+ <?php
61
+ if($pic["image_title"] != "" || $pic["image_description"] != "")
62
+ {
63
+ ?>
64
+ <div id="grid_content_item" class="masonry_grid_content_item">
65
+ <?php
66
+ if ($thumbnail_title == "show" && $pic["image_title"] != "") {
67
+ ?>
68
+ <div id="grid_single_text_title_<?php echo $random . "_" . $pic["id"]; ?>" class="masonry_grid_single_text_title">
69
+ <<?php echo isset($masonry_layout_settings["masonry_layout_thumbnail_title_html_tag"]) ? esc_attr($masonry_layout_settings["masonry_layout_thumbnail_title_html_tag"]) : "h3"; ?>>
70
+ <?php echo isset($pic["image_title"]) ? htmlspecialchars_decode($pic["image_title"]) : ""; ?>
71
+ </<?php echo isset($masonry_layout_settings["masonry_layout_thumbnail_title_html_tag"]) ? esc_attr($masonry_layout_settings["masonry_layout_thumbnail_title_html_tag"]) : "h3"; ?>>
72
+ </div>
73
+ <?php
74
+ }
75
+ if ($thumbnail_description == "show" && $pic["image_description"] != "") {
76
+ ?>
77
+ <div id="grid_single_text_desc_<?php echo $random . "_" . $pic["id"]; ?>" class="masonry_grid_single_text_desc">
78
+ <<?php echo isset($masonry_layout_settings["masonry_layout_thumbnail_description_html_tag"]) ? esc_attr($masonry_layout_settings["masonry_layout_thumbnail_description_html_tag"]) : "p"; ?>>
79
+ <?php echo isset($pic["image_description"]) ? htmlspecialchars_decode($pic["image_description"]) : ""; ?>
80
+ </<?php echo isset($masonry_layout_settings["masonry_layout_thumbnail_description_html_tag"]) ? esc_attr($masonry_layout_settings["masonry_layout_thumbnail_description_html_tag"]) : "p"; ?>>
81
+ </div>
82
+ <?php
83
+ }
84
+ ?>
85
+ </div>
86
+ <?php
87
+ }
88
+ ?>
89
  </div>
90
  <?php
91
  }
user-views/layouts/thumbnail-layout/thumbnail-layout.php CHANGED
@@ -57,28 +57,36 @@ if (!defined("ABSPATH")) {
57
  <img src="<?php echo GALLERY_BANK_THUMBS_CROPPED_URL . esc_attr($pic["image_name"]); ?>" image_full_path="<?php echo $pic["file_type"] ?>" alt="<?php echo esc_attr($pic["alt_text"]); ?>" id="ux_gb_file" name= "ux_gb_file_<?php echo $random . "_" . $pic["id"]; ?>"/>
58
  </div>
59
  </a>
60
- <div id="grid_content_item" class="grid_content_item">
61
- <?php
62
- if ($thumbnail_title == "show" && $pic["image_title"] != "") {
63
- ?>
64
- <div id="grid_single_text_title_<?php echo $random . "_" . $pic["id"]; ?>" class="grid_single_text_title">
65
- <<?php echo isset($thumbnail_layout_settings["thumbnail_layout_thumbnail_title_html_tag"]) ? esc_attr($thumbnail_layout_settings["thumbnail_layout_thumbnail_title_html_tag"]) : "h3"; ?>>
66
- <?php echo isset($pic["image_title"]) ? htmlspecialchars_decode($pic["image_title"]) : ""; ?>
67
- </<?php echo isset($thumbnail_layout_settings["thumbnail_layout_thumbnail_title_html_tag"]) ? esc_attr($thumbnail_layout_settings["thumbnail_layout_thumbnail_title_html_tag"]) : "h3"; ?>>
68
- </div>
69
- <?php
70
- }
71
- if ($thumbnail_description == "show" && $pic["image_description"] != "") {
72
- ?>
73
- <div id="grid_single_text_desc_<?php echo $random; ?>" class="grid_single_text_desc">
74
- <<?php echo isset($thumbnail_layout_settings["thumbnail_layout_thumbnail_description_html_tag"]) ? esc_attr($thumbnail_layout_settings["thumbnail_layout_thumbnail_description_html_tag"]) : "p"; ?>>
75
- <?php echo isset($pic["image_description"]) ? htmlspecialchars_decode($pic["image_description"]) : ""; ?>
76
- </<?php echo isset($thumbnail_layout_settings["thumbnail_layout_thumbnail_description_html_tag"]) ? esc_attr($thumbnail_layout_settings["thumbnail_layout_thumbnail_description_html_tag"]) : "p"; ?>>
77
- </div>
78
- <?php
79
- }
80
- ?>
81
- </div>
 
 
 
 
 
 
 
 
82
  </div>
83
  <?php
84
  }
57
  <img src="<?php echo GALLERY_BANK_THUMBS_CROPPED_URL . esc_attr($pic["image_name"]); ?>" image_full_path="<?php echo $pic["file_type"] ?>" alt="<?php echo esc_attr($pic["alt_text"]); ?>" id="ux_gb_file" name= "ux_gb_file_<?php echo $random . "_" . $pic["id"]; ?>"/>
58
  </div>
59
  </a>
60
+ <?php
61
+ if($pic["image_title"] != "" || $pic["image_description"] != "")
62
+ {
63
+ ?>
64
+ <div id="grid_content_item" class="grid_content_item">
65
+ <?php
66
+ if ($thumbnail_title == "show" && $pic["image_title"] != "") {
67
+ ?>
68
+ <div id="grid_single_text_title_<?php echo $random . "_" . $pic["id"]; ?>" class="grid_single_text_title">
69
+ <<?php echo isset($thumbnail_layout_settings["thumbnail_layout_thumbnail_title_html_tag"]) ? esc_attr($thumbnail_layout_settings["thumbnail_layout_thumbnail_title_html_tag"]) : "h3"; ?>>
70
+ <?php echo isset($pic["image_title"]) ? htmlspecialchars_decode($pic["image_title"]) : ""; ?>
71
+ </<?php echo isset($thumbnail_layout_settings["thumbnail_layout_thumbnail_title_html_tag"]) ? esc_attr($thumbnail_layout_settings["thumbnail_layout_thumbnail_title_html_tag"]) : "h3"; ?>>
72
+ </div>
73
+ <?php
74
+ }
75
+ if ($thumbnail_description == "show" && $pic["image_description"] != "") {
76
+ ?>
77
+ <div id="grid_single_text_desc_<?php echo $random; ?>" class="grid_single_text_desc">
78
+ <<?php echo isset($thumbnail_layout_settings["thumbnail_layout_thumbnail_description_html_tag"]) ? esc_attr($thumbnail_layout_settings["thumbnail_layout_thumbnail_description_html_tag"]) : "p"; ?>>
79
+ <?php echo isset($pic["image_description"]) ? htmlspecialchars_decode($pic["image_description"]) : ""; ?>
80
+ </<?php echo isset($thumbnail_layout_settings["thumbnail_layout_thumbnail_description_html_tag"]) ? esc_attr($thumbnail_layout_settings["thumbnail_layout_thumbnail_description_html_tag"]) : "p"; ?>>
81
+ </div>
82
+ <?php
83
+ }
84
+ ?>
85
+ </div>
86
+ <?php
87
+
88
+ }
89
+ ?>
90
  </div>
91
  <?php
92
  }
views/galleries/add-gallery.php CHANGED
@@ -7,558 +7,537 @@
7
  * @version 4.0.0
8
  */
9
  if (!defined("ABSPATH")) {
10
- exit;
11
  } // Exit if accessed directly
12
  if (!is_user_logged_in()) {
13
- return;
14
  } else {
15
- $access_granted = false;
16
- foreach ($user_role_permission as $permission) {
17
- if (current_user_can($permission)) {
18
- $access_granted = true;
19
- break;
20
- }
21
- }
22
- if (!$access_granted) {
23
- return;
24
- } else if (galleries_gallery_bank == "1") {
25
- global $wp_version;
26
- $gallery_images_effect_nonce = wp_create_nonce("gallery_images_effect_nonce");
27
- $watermark_image_nonce = wp_create_nonce("watermark_image_nonce");
28
- $save_image_detail_nonce = wp_create_nonce("save_image_detail_nonce");
29
- $get_previous_image_nonce = wp_create_nonce("get_previous_image_nonce");
30
- $generate_edited_image_thumbs_nonce = wp_create_nonce("generate_edited_image_thumbs_nonce");
31
- $scale_image_nonce = wp_create_nonce("scale_image_nonce");
32
- $get_original_image_dimension_nonce = wp_create_nonce("get_original_image_dimension_nonce");
33
- $crop_gallery_image_nonce = wp_create_nonce("crop_gallery_image_nonce");
34
- $gallery_images_restore_nonce = wp_create_nonce("gallery_images_restore_nonce");
35
- $gallery_images_rotate_nonce = wp_create_nonce("gallery_images_rotate_nonce");
36
- $gallery_images_flip_nonce = wp_create_nonce("gallery_images_flip_nonce");
37
- $gallery_images_move_nonce = wp_create_nonce("gallery_images_move_nonce");
38
- $gallery_images_copy_nonce = wp_create_nonce("gallery_images_copy_nonce");
39
- $gallery_update_data_nonce = wp_create_nonce("gallery_update_data_nonce");
40
- $gallery_images_delete_nonce = wp_create_nonce("gallery_images_delete_nonce");
41
- $upload_local_system_files_nonce = wp_create_nonce("upload_local_system_files_nonce");
42
- $gallery_upload_images_nonce = wp_create_nonce("gallery_upload_images_nonce");
43
- $gb_delete_uploaded_image_nonce = wp_create_nonce("gb_delete_uploaded_image_nonce");
44
- $gb_check_id_nonce = wp_create_nonce("gb_check_id_nonce");
45
- $ftp_uploader_nonce = wp_create_nonce("ftp_uploader_nonce");
46
- $ftp_upload = wp_create_nonce("ftp_upload");
47
- ?>
48
- <div class="page-bar">
49
- <ul class="page-breadcrumb">
50
- <li>
51
- <i class="icon-custom-home"></i>
52
- <a href="admin.php?page=gallery_bank">
53
- <?php echo $gallery_bank; ?>
54
- </a>
55
- <span>></span>
56
- </li>
57
- <li>
58
- <a href="admin.php?page=gallery_bank">
59
- <?php echo $gb_galleries; ?>
60
- </a>
61
- <span>></span>
62
- </li>
63
- <li>
64
- <span>
65
- <?php echo isset($_REQUEST["mode"]) && esc_attr($_REQUEST["mode"]) == "edit" ? $gb_update_gallery : $gb_add_gallery; ?>
66
- </span>
67
- </li>
68
- </ul>
69
- </div>
70
- <div class="row">
71
- <div class="col-md-12">
72
- <div class="portlet box vivid-green">
73
- <div class="portlet-title">
74
- <div class="caption">
75
- <i class="icon <?php echo isset($_REQUEST["mode"]) && esc_attr($_REQUEST["mode"]) == "edit" ? "icon-custom-note" : "icon-custom-plus"; ?>"></i>
76
- <?php echo isset($_REQUEST["mode"]) && esc_attr($_REQUEST["mode"]) == "edit" ? $gb_update_gallery : $gb_add_gallery; ?>
77
- </div>
78
- <p class="premium-editions">
79
- <?php echo $gb_upgrade_need_help ?><a href="<?php echo tech_banker_gallery_url; ?>" target="_blank" class="premium-editions-documentation"><?php echo $gb_documentation ?></a><?php echo $gb_read_and_check; ?><a href="<?php echo tech_banker_gallery_url; ?>frontend-demos/" target="_blank" class="premium-editions-documentation"><?php echo $gb_demos_section; ?></a>
80
- </p>
81
- </div>
82
- <div class="portlet-body form">
83
- <form id="ux_frm_add_gallery">
84
- <div class="form-body">
85
- <div class="note note-warning">
86
- <?php
87
- if ($gb_message_translate_help != "") {
88
- ?>
89
- <h4 class="block">
90
- <?php echo $gb_important_disclaimer; ?>
91
- </h4>
92
- <p><strong><?php echo $gb_message_translate_help; ?> <a href="javascript:void(0);" data-popup-open="ux_open_popup_translator" class="custom_links_feature" onclick="show_pop_up_gallery_bank();"><?php echo $gb_message_translate_here; ?></a></strong></p>
93
- <?php
94
- }
95
- ?>
96
- <h4 class="block">
97
- <?php echo $gb_take_galleries_further; ?>
98
- </h4>
99
- <p>
100
- <?php echo $gb_galleries_upgrade_message; ?>
101
- </p>
102
- <a href="<?php echo tech_banker_gallery_url; ?>" target="_blank" class="btn vivid-green-upgrade"><?php echo $gb_click_here_to_upgrade; ?></a>
103
  </div>
104
- <div class="form-actions">
105
- <div class="pull-right">
106
- <input type="submit" class="btn vivid-green" name="ux_btn_save_changes" id="ux_btn_save_changes" value="<?php echo $gb_save_changes; ?>">
107
- </div>
108
- </div>
109
- <div class="line-separator"></div>
110
- <div class="tabbable-custom">
111
- <ul class="nav nav-tabs ">
112
- <li class="active">
113
- <a aria-expanded="true" href="#basic_details" data-toggle="tab" id="ux_basic_details">
114
- <?php echo $gb_add_gallery_basic_detail; ?>
115
- </a>
116
- </li>
117
- <li class="">
118
- <a aria-expanded="false" href="#upload_local_media" data-toggle="tab" id="ux_upload_media">
119
- <?php echo $gb_add_gallery_upload_local_media; ?>
120
- </a>
121
- </li>
122
- </ul>
123
- <div class="tab-content">
124
- <div class="tab-pane active" id="basic_details">
125
- <div class="form-group">
 
 
 
 
 
 
 
 
 
 
 
126
  <label class="control-label">
127
- <?php echo $gb_gallery_title; ?> :
128
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_title_tooltip; ?>" data-placement="right"></i>
129
- <span class="required" aria-required="true">*</span>
130
  </label>
131
  <textarea rows="1" class="form-control" name="ux_txt_gallery_title" id="ux_txt_gallery_title" placeholder="<?php echo $gb_add_gallery_title_placeholder; ?>"><?php echo isset($get_gallery_meta_data_unserialize["gallery_title"]) ? esc_html($get_gallery_meta_data_unserialize["gallery_title"]) : ""; ?></textarea>
132
- </div>
133
- <div class="form-group">
134
  <label class="control-label">
135
- <?php echo $gb_gallery_description_title; ?> :
136
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_description_tooltip; ?>" data-placement="right"></i>
137
  </label>
138
  <?php
139
  $gallery_description = isset($get_gallery_meta_data_unserialize["gallery_description"]) ? htmlspecialchars_decode($get_gallery_meta_data_unserialize["gallery_description"]) : "";
140
- wp_editor($gallery_description, $id = "ux_heading_content", array("media_buttons" => false, "textarea_rows" => 20, "tabindex" => 4));
141
  ?>
142
  <textarea name="ux_txtarea_gallery_heading_content" id="ux_txtarea_gallery_heading_content" style="display:none;"></textarea>
143
- </div>
144
- </div>
145
- <div class="tab-pane" id="upload_local_media">
146
- <div class="tabbable-custom">
147
  <ul class="nav nav-tabs">
148
- <li class="active">
149
- <a aria-expanded="true" href="#local_system" data-toggle="tab">
150
- <?php echo $gb_add_gallery_local_system; ?>
151
- </a>
152
- </li>
153
- <li class="">
154
- <a aria-expanded="false" href="#wp_media" data-toggle="tab">
155
- <?php echo $gb_add_gallery_wp_media_manager; ?>
156
- </a>
157
- </li>
158
- <li class="">
159
- <a aria-expanded="false" href="#upload_ftp" data-toggle="tab">
160
- <?php echo $gb_add_gallery_upload_from_ftp; ?>
161
- </a>
162
- </li>
163
- <li class="">
164
- <a aria-expanded="false" href="#upload_videos" data-toggle="tab">
165
- <?php echo $gb_add_gallery_upload_videos; ?>
166
- </a>
167
- </li>
168
  </ul>
169
  <div class="tab-content">
170
- <div class="tab-pane active" id="local_system">
171
- <div id="local_file_upload">
172
- <p><?php echo $gb_add_gallery_local_system_notification; ?></p>
173
- </div>
174
- </div>
175
- <div class="tab-pane" id="wp_media" style="text-align:center">
176
- <div class="form-group">
177
- <h4><?php echo $gb_add_gallery_wp_media_guide_title; ?></h4>
178
- </div>
179
- <div class="form-group">
180
- <a class="btn vivid-green" id="wp_media_upload_button" onclick="premium_edition_notification_gallery_bank();">
181
- <?php echo $gb_add_gallery_upload_thumbnail; ?>
182
- </a>
183
- <p id="wp_media_upload_error_message" style="display:none;">
184
- <?php echo $gb_add_gallery_wp_media_notification; ?>
185
- </p>
186
- </div>
187
- </div>
188
- <div class="tab-pane" id="upload_ftp" style="text-align:left">
189
- <div class="form-group">
190
- <h4><?php echo $gb_add_gallery_select_folder_import; ?></h4>
191
- </div>
192
- <div class="form-group" id="ux_wp_dir_browser">
193
- </div>
194
- <div class="form-group">
195
- <label><?php echo WP_CONTENT_DIR; ?></label>
196
- <input type="text" disabled="disabled" id="ux_txt_ftp_path" name="ux_txt_ftp_path" class="form-control input-inline custom-gallery-type" placeholder="<?php echo $gb_add_gallery_directory_path_placeholder; ?>" value="">
197
- </div>
198
- <div class="form-group">
199
- <button class="btn vivid-green" type="button" onclick="premium_edition_notification_gallery_bank();"><?php echo $gb_add_gallery_import_images; ?></button>
200
- </div>
201
- </div>
202
- <div class="tab-pane" id="upload_videos">
203
- <div class="form-group">
204
- <h4>Give the URL to upload video</h4>
205
- </div>
206
- <div class="form-group">
207
- <label><?php echo $gb_add_gallery_videos_url; ?> :
208
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_video_url_tooltip; ?>" data-placement="right"></i>
209
- <span class="required" aria-required="true">* <?php echo " ( " . $gb_premium_edition . " )"; ?></span>
210
- </label>
211
- <input type="text" id="ux_text_videos_url" name="ux_text_videos_url" class="form-control" placeholder="<?php echo $gb_add_gallery_videos_url_placeholder; ?>" value="">
212
- </div>
213
- <div class="form-group" style="text-align:right">
214
- <input type="button" class="btn vivid-green" value="<?php echo $gb_add_gallery_embed_video; ?>" onclick="premium_edition_notification_gallery_bank();">
215
- </div>
216
- </div>
217
- </div>
218
- </div>
219
- </div>
220
- <div id="ux_div_seperator" class="line-separator">
221
- </div>
222
- <div class="form-actions tabbable-custom" id="ux_div_bind_data">
223
- <div class="table-top-margin">
224
- <select name="ux_ddl_add_gallery" id="ux_ddl_add_gallery">
225
- <option value=""><?php echo $gb_bulk_action; ?></option>
226
- <option value="delete" style="color:red;"><?php echo $gb_add_gallery_option_delete_images . " (" . $gb_premium_edition . " )"; ?></option>
227
- <option value="copy" style="color:red;"><?php echo $gb_add_gallery_option_copy_images . " (" . $gb_premium_edition . " )"; ?></option>
228
- <option value="move" style="color:red;"><?php echo $gb_add_gallery_option_move_images . " (" . $gb_premium_edition . " )"; ?></option>
229
- <option value="rotate_clockwise" style="color:red;"><?php echo $gb_add_gallery_option_rotate_clockwise_images . " (" . $gb_premium_edition . " )"; ?></option>
230
- <option value="rotate_anticlockwise" style="color:red;"><?php echo $gb_add_gallery_option_rotate_anti_clockwise_images . " (" . $gb_premium_edition . " )"; ?></option>
231
- <option value="flip_vertically" style="color:red;"><?php echo $gb_add_gallery_option_flip_images_vertically . " (" . $gb_premium_edition . " )"; ?></option>
232
- <option value="flip_horizontally" style="color:red;"><?php echo $gb_add_gallery_option_flip_images_horizontally . " (" . $gb_premium_edition . " )"; ?></option>
233
- <option value="restore_image" style="color:red;"><?php echo $gb_add_gallery_option_restore_image . " (" . $gb_premium_edition . " )"; ?></option>
234
- <option value="watermark_image" style="color:red;"><?php echo $gb_add_gallery_option_apply_watermark . " (" . $gb_premium_edition . " )"; ?></option>
235
- </select>
236
- <input type="button" class="btn vivid-green" name="ux_btn_bulk_action" id="ux_btn_bulk_action" value="<?php echo $gb_apply; ?>" onclick="premium_edition_notification_gallery_bank();">
237
- </div>
238
- <div id="ux_div_clone" style="display:none;">
239
- <table class="table table-striped table-bordered table-hover table-margin-top" id="ux_tbl_add_gallery_clone">
240
- <thead>
241
- <tr>
242
- <th class="chk-action">
243
- <input type="checkbox" name="ux_chk_add_gallery" id="ux_chk_add_gallery">
244
- </th>
245
- <th>
246
- <label class="control-label">
247
- <?php echo $gb_add_gallery_table_thumbnail; ?>
248
  </label>
249
- </th>
250
- <th>
251
- <label class="control-label">
252
- <?php echo $gb_add_gallery_table_file_details; ?>
253
- </label>
254
- </th>
255
- </tr>
256
- </thead>
257
- <tbody>
258
- <tr id="ux_dynamic_tr_0" style="display:none;">
259
- <td>
260
- <input type="checkbox" id="ux_chk_select_items_" name="ux_chk_select_items_" value="" onclick="">
261
- </td>
262
- <td>
263
- <div class="image-style">
264
- <img file_type="" src="" id="ux_gb_file_" name="ux_gb_file_"/>
265
- </div>
266
- <div class="custom-div-gap">
267
- <input type="radio" name="ux_rdl_set_cover_image" id="ux_rdl_set_cover_image_" value="1" />
268
- <?php echo $gb_add_gallery_cover_image_title; ?>
269
- </div>
270
- <div class="custom-div-gap">
271
- <input type="checkbox" id="ux_exclude_image_" name="ux_exclude_image_" value="" />
272
- <?php echo $gb_add_gallery_exclude_title; ?>
273
- </div>
274
- <div class="custom-div-gap">
275
- <?php
276
- if ($wp_version >= "4.0") {
277
- ?>
278
- <a href="javascript:void(0);" class="tooltips" data-original-title="<?php echo $gb_add_gallery_edit_tooltip; ?>" data-placement="right" onclick="premium_edition_notification_gallery_bank();">
279
- <i class="icon-custom-note" ></i>
280
- <?php echo $gb_edit_tooltip; ?>
281
- </a>
282
- <label>|</label>
283
- <?php
284
- }
285
- ?>
286
- <a href="javascript:void(0);" class="tooltips" data-original-title="<?php echo $gb_add_gallery_delete_tooltip; ?>" data-placement="right" onclick="delete_upload_image_gallery_bank(this)" control_id="">
287
- <i class="icon-custom-trash" ></i>
288
- <?php echo $gb_delete; ?>
289
- </a>
290
- </div>
291
- </td>
292
- <td>
293
- <div class="row">
294
- <div class="col-md-6">
295
- <div class="form-group">
296
- <label class="control-label">
297
- <?php echo $gb_add_gallery_image_title; ?> :
298
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_image_tooltip; ?>" data-placement="right"></i>
299
- </label>
300
- <div class="input-icon right">
301
- <input type="text" placeholder="<?php echo $gb_add_gallery_image_placeholder; ?>" class="form-control" name="ux_txt_img_title_" id="ux_txt_img_title_" value="">
302
- </div>
303
- </div>
304
- </div>
305
- <div class="col-md-6">
306
- <div class="form-group">
307
- <label class="control-label">
308
- <?php echo $gb_add_gallery_image_alt_text_title; ?> :
309
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_image_alt_text_tooltip; ?>" data-placement="right"></i>
310
- </label>
311
- <div class="input-icon right">
312
- <input type="text" placeholder="<?php echo $gb_add_gallery_image_alt_text_placeholder; ?>" class="form-control" name="ux_img_alt_text_" id="ux_img_alt_text_" value="">
313
- </div>
314
- </div>
315
- </div>
316
- </div>
317
- <div class="form-group">
318
- <label class="control-label">
319
- <?php echo $gb_add_gallery_image_description_title; ?> :
320
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_image_description_tooltip; ?>" data-placement="right"></i>
321
- </label>
322
- <div class="input-icon right">
323
- <textarea placeholder="<?php echo $gb_add_gallery_image_description_placeholder; ?>" class="form-control" name="ux_txt_img_desc_" id="ux_txt_img_desc_"></textarea>
324
- </div>
325
- </div>
326
- <div class="form-group">
327
- <label class="control-label">
328
- <?php echo $gb_tags; ?> :
329
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_tag_tooltip; ?>" data-placement="right"></i>
330
- </label>
331
- <div class="input-icon right">
332
- <select id="ux_ddl_tags_" name="ux_ddl_tags_" class="form-control" multiple>
333
- <?php
334
- if (isset($tag_data_unserialize) && count($tag_data_unserialize) > 0) {
335
- foreach ($tag_data_unserialize as $value) {
336
- ?>
337
- <option value="<?php echo intval($value["id"]) ?>"><?php echo esc_attr($value["tag_name"]) ?></option>
338
- <?php
339
  }
340
- }
341
- ?>
342
- </select>
343
- </div>
344
- </div>
345
- <div class="form-group">
346
- <label class="control-label">
347
- <?php echo $gb_add_gallery_enable_url_title; ?> :
348
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_enable_url_tooltip; ?>" data-placement="right"></i>
349
- </label>
350
- <div class="input-group">
351
- <label>
352
- <input type="radio" name="ux_rdl_redirect_" id="ux_rdl_enable_redirect_" value="1" onclick="">
353
- <?php echo $gb_enable; ?>
354
- </label>
355
- <label style="margin-left:15px;">
356
- <input type="radio" checked="checked" name="ux_rdl_redirect_" id="ux_rdl_disable_redirect_" value="0" onclick="">
357
- <?php echo $gb_disable; ?>
358
- </label>
359
- </div>
360
- </div>
361
- <div class="form-group" id="ux_div_url_redirect_" style="display:none;">
362
- <label class="control-label"><?php echo $gb_add_gallery_url_link_title; ?> :
363
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_url_link_tooltip; ?>" data-placement="right"></i>
364
- </label>
365
- <div class="input-icon right">
366
- <input placeholder="<?php echo $gb_add_gallery_url_link_placeholder; ?>" class="form-control" type="text" name="ux_txt_img_url_" id="ux_txt_img_url_" value="http://">
367
- </div>
368
- </div>
369
- </td>
370
- </tr>
371
- </tbody>
372
- </table>
373
- </div>
374
- <table class="table table-striped table-bordered table-hover table-margin-top" id="ux_tbl_add_gallery">
375
- <thead>
376
- <tr>
377
- <th class="custom-checkbox chk-action">
378
- <input type="checkbox" class="custom-chkbox-operation" name="ux_chk_all_gallery" id="ux_chk_all_gallery">
379
- </th>
380
- <th class="custom-gallery-title">
381
- <label class="control-label">
382
- <?php echo $gb_add_gallery_table_thumbnail; ?>
383
- </label>
384
- </th>
385
- <th>
386
- <label class="control-label">
387
- <?php echo $gb_add_gallery_table_file_details; ?>
388
- </label>
389
- </th>
390
- </tr>
391
- </thead>
392
- <tbody>
393
- <?php
394
- if (isset($get_gallery_image_meta_data_unserialize) && count($get_gallery_image_meta_data_unserialize) > 0) {
395
- foreach ($get_gallery_image_meta_data_unserialize as $pic) {
396
- ?>
397
- <tr id="ux_dynamic_tr_<?php echo intval($pic["id"]); ?>">
398
- <td style="width:5%;text-align:center">
399
- <input type="checkbox" file_type="<?php echo esc_attr($pic["file_type"]); ?>" id="ux_chk_select_items_<?php echo intval($pic["id"]); ?>" onclick="check_value_checkbox_gallery_bank();" name="ux_chk_select_items_<?php echo intval($pic["id"]); ?>" value="<?php echo intval($pic["id"]); ?>"/>
400
- </td>
401
- <td style="width:20%">
402
- <div class="image-style">
403
- <img file_type="<?php echo esc_attr($pic["file_type"]); ?>" src="<?php echo GALLERY_BANK_THUMBS_NON_CROPPED_URL . esc_attr($pic["image_name"]); ?>" img_name="<?php echo esc_attr($pic["image_name"]); ?>" id="ux_gb_file_<?php echo intval($pic["id"]); ?>" name="ux_gb_file_<?php echo intval($pic["id"]); ?>" style="width: 100%;display: block;"/>
404
- </div>
405
- <div class="custom-div-gap">
406
- <input type="radio" name="ux_rdl_set_cover_image" onclick="set_cover_image_dynamically_gallery_bank(<?php echo $pic["id"]; ?>);" <?php echo intval($pic["gallery_cover_image"]) == 1 ? "checked=\"checked\"" : ""; ?> id="ux_rdl_set_cover_image_<?php echo intval($pic["id"]); ?>" value="1" image_data="<?php echo intval($pic["id"]); ?>"/> <?php echo $gb_add_gallery_cover_image_title; ?>
407
- </div>
408
- <div class="custom-div-gap">
409
- <input type="checkbox" id="ux_exclude_image_<?php echo intval($pic["id"]); ?>" <?php echo intval($pic["exclude_image"]) == 1 ? "checked=\"checked\"" : ""; ?> name="ux_exclude_image_<?php echo intval($pic["id"]); ?>" /><?php echo $gb_add_gallery_exclude_title; ?>
410
- </div>
411
- <div class="custom-div-gap">
412
- <?php
413
- if ($wp_version >= "4.0") {
414
- ?>
415
- <a href="javascript:void(0);" class="tooltips" data-original-title="<?php echo $gb_add_gallery_edit_tooltip; ?>" data-placement="right" id="ux_a_edit_<?php echo intval($pic["id"]); ?>" onclick="premium_edition_notification_gallery_bank();" control_id="<?php echo intval($pic["id"]); ?>">
416
- <i class="icon-custom-note" ></i> <?php echo $gb_edit_tooltip; ?>
417
- </a><label>|</label>
418
- <?php
419
- }
420
- ?>
421
- <a href="javascript:void(0);" class="tooltips" data-original-title="<?php echo $gb_add_gallery_delete_tooltip; ?>" data-placement="right" onclick="delete_upload_image_gallery_bank(this)" control_id="<?php echo intval($pic["id"]); ?>">
422
- <i class="icon-custom-trash" ></i> <?php echo $gb_delete; ?>
423
- </a>
424
- </div>
425
- </td>
426
- <td>
427
- <div class="row">
428
- <div class="col-md-6">
429
- <div class="form-group">
430
- <label class="control-label"><?php echo $gb_add_gallery_image_title; ?> :
431
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_image_tooltip; ?>" data-placement="right"></i>
432
  </label>
433
  <div class="input-icon right">
434
- <input type="text" placeholder="<?php echo $gb_add_gallery_image_placeholder; ?>" class="form-control edit" name="ux_txt_img_title_<?php echo intval($pic["id"]); ?>" id="ux_txt_img_title_<?php echo intval($pic["id"]); ?>" value="<?php echo esc_attr($pic["image_title"]); ?>"/>
435
  </div>
436
- </div>
437
- </div>
438
- <div class="col-md-6">
439
- <div class="form-group">
440
- <label class="control-label"><?php echo $gb_add_gallery_image_alt_text_title; ?> :
441
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_image_alt_text_tooltip; ?>" data-placement="right"></i>
442
  </label>
443
  <div class="input-icon right">
444
- <input type="text" placeholder="<?php echo $gb_add_gallery_image_alt_text_placeholder; ?>" class="form-control edit" name="ux_img_alt_text_<?php echo intval($pic["id"]); ?>" id="ux_img_alt_text_<?php echo intval($pic["id"]); ?>" value="<?php echo esc_attr(stripcslashes(urldecode($pic["alt_text"]))); ?>"/>
 
 
 
 
 
 
 
 
 
 
445
  </div>
446
- </div>
447
- </div>
448
- </div>
449
- <div class="form-group">
450
- <label class="control-label"><?php echo $gb_add_gallery_image_description_title; ?> :
451
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_image_description_tooltip; ?>" data-placement="right"></i>
452
- </label>
453
- <div class="input-icon right">
454
- <textarea placeholder="<?php echo $gb_add_gallery_image_description_placeholder; ?>" class="form-control" rows="3" name="ux_txt_img_desc_<?php echo intval($pic["id"]); ?>" id="ux_txt_img_desc_<?php echo intval($pic["id"]); ?>"><?php echo stripcslashes(urldecode($pic["image_description"])); ?></textarea>
455
- </div>
456
- </div>
457
- <div class="form-group">
458
- <label class="control-label"><?php echo $gb_tags; ?> :
459
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_tag_tooltip; ?>" data-placement="right"></i>
460
- </label>
461
- <div class="input-icon right">
462
- <select name="ux_ddl_tags_<?php echo intval($pic["id"]); ?>[]" id="ux_ddl_tags_<?php echo intval($pic["id"]); ?>" class="form-control" multiple>
463
- <?php
464
- $tag_array = isset($pic["tags"]) ? (is_array($pic["tags"]) ? $pic["tags"] : array()) : "";
465
- if (isset($tag_data_unserialize) && count($tag_data_unserialize) > 0) {
466
- foreach ($tag_data_unserialize as $value) {
467
- ?>
468
- <option onclick="remove_selected_attr_gallery_bank(this.id)" id="ux_tag_<?php echo intval($value["id"]) . "_" . intval($pic["id"]); ?>" value="<?php echo $value["id"] ?>" class="<?php echo in_array($value["id"], $tag_array) == true ? "tag" : ""; ?>" <?php echo in_array($value["id"], $tag_array) == true ? "selected" : ""; ?>><?php echo $value["tag_name"] ?></option>
469
- <?php
470
- }
471
- }
472
- ?>
473
- </select>
474
- </div>
475
- </div>
476
- <div class="form-group">
477
- <label class="control-label"> <?php echo $gb_add_gallery_enable_url_title; ?> :
478
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_enable_url_tooltip; ?>" data-placement="right"></i>
479
- </label>
480
- <div class="input-group">
481
- <label>
482
- <input type="radio" <?php echo intval($pic["enable_redirect"]) == 1 ? "checked=\"checked\"" : ""; ?> name="ux_rdl_redirect_<?php echo intval($pic["id"]); ?>" id="ux_rdl_enable_redirect_<?php echo intval($pic["id"]); ?>" value="1" onclick="show_image_url_redirect_gallery_bank(<?php echo intval($pic["id"]); ?>);"><?php echo $gb_enable; ?>
483
- </label>
484
- <label style="margin-left:15px;">
485
- <input type="radio" <?php echo intval($pic["enable_redirect"]) == 0 ? "checked=\"checked\"" : ""; ?> name="ux_rdl_redirect_<?php echo intval($pic["id"]); ?>" id="ux_rdl_disable_redirect_<?php echo intval($pic["id"]); ?>" value="0" onclick="show_image_url_redirect_gallery_bank(<?php echo intval($pic["id"]); ?>);"><?php echo $gb_disable; ?>
486
- </label>
487
- </div>
488
- </div>
489
- <div class="form-group" id="ux_div_url_redirect_<?php echo intval($pic["id"]); ?>" style="display: none;">
490
- <label class="control-label"><?php echo $gb_add_gallery_url_link_title; ?> :
491
- <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_url_link_tooltip; ?>" data-placement="right"></i>
492
- </label>
493
- <div class="input-icon right">
494
- <input placeholder="<?php echo $gb_add_gallery_url_link_placeholder; ?>" class="form-control" type="text" name="ux_txt_img_url_<?php echo intval($pic["id"]); ?>" id="ux_txt_img_url_<?php echo intval($pic["id"]); ?>" value="<?php echo esc_attr($pic["redirect_url"]); ?>"/>
495
- </div>
496
- </div>
497
- </td>
498
- </tr>
499
- <?php
500
- }
501
- }
502
- ?>
503
- </tbody>
504
- </table>
505
- </div>
506
- </div>
507
- <div class="line-separator"></div>
508
- <div class="form-actions">
509
- <div class="pull-right">
510
- <input type="submit" class="btn vivid-green" name="ux_btn_save_changes" id="ux_btn_save_changes" value="<?php echo $gb_save_changes; ?>">
511
- </div>
512
- </div>
513
- </div>
514
- </div>
515
- </form>
516
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
517
  </div>
518
- </div>
519
- </div>
520
- <?php
521
- } else {
522
- ?>
523
- <div class="page-bar">
524
- <ul class="page-breadcrumb">
525
- <li>
526
- <i class="icon-custom-home"></i>
527
- <a href="admin.php?page=gallery_bank">
528
- <?php echo $gallery_bank; ?>
529
- </a>
530
- <span>></span>
531
- </li>
532
- <li>
533
- <a href="admin.php?page=gallery_bank">
534
- <?php echo $gb_galleries; ?>
535
- </a>
536
- <span>></span>
537
- </li>
538
- <li>
539
- <span>
540
- <?php echo isset($_REQUEST["mode"]) && esc_attr($_REQUEST["mode"]) == "edit" ? $gb_update_gallery : $gb_add_gallery; ?>
541
- </span>
542
- </li>
543
- </ul>
544
- </div>
545
- <div class="row">
546
- <div class="col-md-12">
547
- <div class="portlet box vivid-green">
548
- <div class="portlet-title">
549
- <div class="caption">
550
- <i class="icon icon-custom-plus"></i>
551
- <?php echo $gb_add_gallery; ?>
552
- </div>
553
- </div>
554
- <div class="portlet-body form">
555
- <div class="form-body">
556
- <strong><?php echo $gb_user_access_message; ?></strong>
557
- </div>
558
- </div>
559
  </div>
560
- </div>
561
- </div>
562
- <?php
563
- }
564
  }
7
  * @version 4.0.0
8
  */
9
  if (!defined("ABSPATH")) {
10
+ exit;
11
  } // Exit if accessed directly
12
  if (!is_user_logged_in()) {
13
+ return;
14
  } else {
15
+ $access_granted = false;
16
+ foreach ($user_role_permission as $permission) {
17
+ if (current_user_can($permission)) {
18
+ $access_granted = true;
19
+ break;
20
+ }
21
+ }
22
+ if (!$access_granted) {
23
+ return;
24
+ } else if (galleries_gallery_bank == "1") {
25
+ global $wp_version;
26
+ $gallery_images_effect_nonce = wp_create_nonce("gallery_images_effect_nonce");
27
+ $watermark_image_nonce = wp_create_nonce("watermark_image_nonce");
28
+ $save_image_detail_nonce = wp_create_nonce("save_image_detail_nonce");
29
+ $get_previous_image_nonce = wp_create_nonce("get_previous_image_nonce");
30
+ $generate_edited_image_thumbs_nonce = wp_create_nonce("generate_edited_image_thumbs_nonce");
31
+ $scale_image_nonce = wp_create_nonce("scale_image_nonce");
32
+ $get_original_image_dimension_nonce = wp_create_nonce("get_original_image_dimension_nonce");
33
+ $crop_gallery_image_nonce = wp_create_nonce("crop_gallery_image_nonce");
34
+ $gallery_images_restore_nonce = wp_create_nonce("gallery_images_restore_nonce");
35
+ $gallery_images_rotate_nonce = wp_create_nonce("gallery_images_rotate_nonce");
36
+ $gallery_images_flip_nonce = wp_create_nonce("gallery_images_flip_nonce");
37
+ $gallery_images_move_nonce = wp_create_nonce("gallery_images_move_nonce");
38
+ $gallery_images_copy_nonce = wp_create_nonce("gallery_images_copy_nonce");
39
+ $gallery_update_data_nonce = wp_create_nonce("gallery_update_data_nonce");
40
+ $gallery_images_delete_nonce = wp_create_nonce("gallery_images_delete_nonce");
41
+ $upload_local_system_files_nonce = wp_create_nonce("upload_local_system_files_nonce");
42
+ $gallery_upload_images_nonce = wp_create_nonce("gallery_upload_images_nonce");
43
+ $gb_delete_uploaded_image_nonce = wp_create_nonce("gb_delete_uploaded_image_nonce");
44
+ $gb_check_id_nonce = wp_create_nonce("gb_check_id_nonce");
45
+ $ftp_uploader_nonce = wp_create_nonce("ftp_uploader_nonce");
46
+ $ftp_upload = wp_create_nonce("ftp_upload");
47
+ ?>
48
+ <div class="page-bar">
49
+ <ul class="page-breadcrumb">
50
+ <li>
51
+ <i class="icon-custom-home"></i>
52
+ <a href="admin.php?page=gallery_bank">
53
+ <?php echo $gallery_bank; ?>
54
+ </a>
55
+ <span>></span>
56
+ </li>
57
+ <li>
58
+ <a href="admin.php?page=gallery_bank">
59
+ <?php echo $gb_galleries; ?>
60
+ </a>
61
+ <span>></span>
62
+ </li>
63
+ <li>
64
+ <span>
65
+ <?php echo isset($_REQUEST["mode"]) && esc_attr($_REQUEST["mode"]) == "edit" ? $gb_update_gallery : $gb_add_gallery; ?>
66
+ </span>
67
+ </li>
68
+ </ul>
69
+ </div>
70
+ <div class="row">
71
+ <div class="col-md-12">
72
+ <div class="portlet box vivid-green">
73
+ <div class="portlet-title">
74
+ <div class="caption">
75
+ <i class="icon <?php echo isset($_REQUEST["mode"]) && esc_attr($_REQUEST["mode"]) == "edit" ? "icon-custom-note" : "icon-custom-plus"; ?>"></i>
76
+ <?php echo isset($_REQUEST["mode"]) && esc_attr($_REQUEST["mode"]) == "edit" ? $gb_update_gallery : $gb_add_gallery; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  </div>
78
+ <p class="premium-editions">
79
+ <?php echo $gb_upgrade_need_help ?><a href="<?php echo tech_banker_gallery_url; ?>" target="_blank" class="premium-editions-documentation"><?php echo $gb_documentation ?></a><?php echo $gb_read_and_check; ?><a href="<?php echo tech_banker_gallery_url; ?>frontend-demos/" target="_blank" class="premium-editions-documentation"><?php echo $gb_demos_section; ?></a>
80
+ </p>
81
+ </div>
82
+ <div class="portlet-body form">
83
+ <form id="ux_frm_add_gallery">
84
+ <div class="form-body">
85
+ <div class="note note-warning">
86
+ <?php
87
+ if ($gb_message_translate_help != "") {
88
+ ?>
89
+ <h4 class="block">
90
+ <?php echo $gb_important_disclaimer; ?>
91
+ </h4>
92
+ <p><strong><?php echo $gb_message_translate_help; ?> <a href="javascript:void(0);" data-popup-open="ux_open_popup_translator" class="custom_links_feature" onclick="show_pop_up_gallery_bank();"><?php echo $gb_message_translate_here; ?></a></strong></p>
93
+ <?php
94
+ }
95
+ ?>
96
+ <h4 class="block">
97
+ <?php echo $gb_take_galleries_further; ?>
98
+ </h4>
99
+ <p>
100
+ <?php echo $gb_galleries_upgrade_message; ?>
101
+ </p>
102
+ <a href="<?php echo tech_banker_gallery_url; ?>" target="_blank" class="btn vivid-green-upgrade"><?php echo $gb_click_here_to_upgrade; ?></a>
103
+ </div>
104
+ <div class="form-actions">
105
+ <div class="pull-right">
106
+ <input type="submit" class="btn vivid-green" name="ux_btn_save_changes" id="ux_btn_save_changes" value="<?php echo $gb_save_changes; ?>">
107
+ </div>
108
+ </div>
109
+ <div class="line-separator"></div>
110
+ <div class="form-group">
111
  <label class="control-label">
112
+ <?php echo $gb_gallery_title; ?> :
113
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_title_tooltip; ?>" data-placement="right"></i>
114
+ <span class="required" aria-required="true">*</span>
115
  </label>
116
  <textarea rows="1" class="form-control" name="ux_txt_gallery_title" id="ux_txt_gallery_title" placeholder="<?php echo $gb_add_gallery_title_placeholder; ?>"><?php echo isset($get_gallery_meta_data_unserialize["gallery_title"]) ? esc_html($get_gallery_meta_data_unserialize["gallery_title"]) : ""; ?></textarea>
117
+ </div>
118
+ <div class="form-group">
119
  <label class="control-label">
120
+ <?php echo $gb_gallery_description_title; ?> :
121
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_description_tooltip; ?>" data-placement="right"></i>
122
  </label>
123
  <?php
124
  $gallery_description = isset($get_gallery_meta_data_unserialize["gallery_description"]) ? htmlspecialchars_decode($get_gallery_meta_data_unserialize["gallery_description"]) : "";
125
+ wp_editor($gallery_description, $id = "ux_heading_content", array("media_buttons" => false, "textarea_rows" => 6, "tabindex" => 4));
126
  ?>
127
  <textarea name="ux_txtarea_gallery_heading_content" id="ux_txtarea_gallery_heading_content" style="display:none;"></textarea>
128
+ </div>
129
+ <div class="tabbable-custom">
 
 
130
  <ul class="nav nav-tabs">
131
+ <li class="active">
132
+ <a aria-expanded="true" href="#local_system" data-toggle="tab">
133
+ <?php echo $gb_add_gallery_local_system; ?>
134
+ </a>
135
+ </li>
136
+ <li class="">
137
+ <a aria-expanded="false" href="#wp_media" data-toggle="tab">
138
+ <?php echo $gb_add_gallery_wp_media_manager; ?>
139
+ </a>
140
+ </li>
141
+ <li class="">
142
+ <a aria-expanded="false" href="#upload_ftp" data-toggle="tab">
143
+ <?php echo $gb_add_gallery_upload_from_ftp; ?>
144
+ </a>
145
+ </li>
146
+ <li class="">
147
+ <a aria-expanded="false" href="#upload_videos" data-toggle="tab">
148
+ <?php echo $gb_add_gallery_upload_videos; ?>
149
+ </a>
150
+ </li>
151
  </ul>
152
  <div class="tab-content">
153
+ <div class="tab-pane active" id="local_system">
154
+ <div id="local_file_upload">
155
+ <p><?php echo $gb_add_gallery_local_system_notification; ?></p>
156
+ </div>
157
+ </div>
158
+ <div class="tab-pane" id="wp_media" style="text-align:center">
159
+ <div class="form-group">
160
+ <h4><?php echo $gb_add_gallery_wp_media_guide_title; ?></h4>
161
+ </div>
162
+ <div class="form-group">
163
+ <a class="btn vivid-green" id="wp_media_upload_button" onclick="premium_edition_notification_gallery_bank();">
164
+ <?php echo $gb_add_gallery_upload_thumbnail; ?>
165
+ </a>
166
+ <p id="wp_media_upload_error_message" style="display:none;">
167
+ <?php echo $gb_add_gallery_wp_media_notification; ?>
168
+ </p>
169
+ </div>
170
+ </div>
171
+ <div class="tab-pane" id="upload_ftp" style="text-align:left">
172
+ <div class="form-group">
173
+ <h4><?php echo $gb_add_gallery_select_folder_import; ?></h4>
174
+ </div>
175
+ <div class="form-group" id="ux_wp_dir_browser">
176
+ </div>
177
+ <div class="form-group">
178
+ <label><?php echo WP_CONTENT_DIR; ?></label>
179
+ <input type="text" disabled="disabled" id="ux_txt_ftp_path" name="ux_txt_ftp_path" class="form-control input-inline custom-gallery-type" placeholder="<?php echo $gb_add_gallery_directory_path_placeholder; ?>" value="">
180
+ </div>
181
+ <div class="form-group">
182
+ <button class="btn vivid-green" type="button" onclick="premium_edition_notification_gallery_bank();"><?php echo $gb_add_gallery_import_images; ?></button>
183
+ </div>
184
+ </div>
185
+ <div class="tab-pane" id="upload_videos">
186
+ <div class="form-group">
187
+ <h4>Give the URL to upload video</h4>
188
+ </div>
189
+ <div class="form-group">
190
+ <label><?php echo $gb_add_gallery_videos_url; ?> :
191
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_video_url_tooltip; ?>" data-placement="right"></i>
192
+ <span class="required" aria-required="true">* <?php echo " ( " . $gb_premium_edition . " )"; ?></span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
  </label>
194
+ <input type="text" id="ux_text_videos_url" name="ux_text_videos_url" class="form-control" placeholder="<?php echo $gb_add_gallery_videos_url_placeholder; ?>" value="">
195
+ </div>
196
+ <div class="form-group" style="text-align:right">
197
+ <input type="button" class="btn vivid-green" value="<?php echo $gb_add_gallery_embed_video; ?>" onclick="premium_edition_notification_gallery_bank();">
198
+ </div>
199
+ </div>
200
+ </div>
201
+ </div>
202
+ <div id="ux_div_seperator" class="line-separator"></div>
203
+ <div class="form-actions tabbable-custom" id="ux_div_bind_data">
204
+ <div class="table-top-margin">
205
+ <select name="ux_ddl_add_gallery" id="ux_ddl_add_gallery">
206
+ <option value=""><?php echo $gb_bulk_action; ?></option>
207
+ <option value="delete" style="color:red;"><?php echo $gb_add_gallery_option_delete_images . " (" . $gb_premium_edition . " )"; ?></option>
208
+ <option value="copy" style="color:red;"><?php echo $gb_add_gallery_option_copy_images . " (" . $gb_premium_edition . " )"; ?></option>
209
+ <option value="move" style="color:red;"><?php echo $gb_add_gallery_option_move_images . " (" . $gb_premium_edition . " )"; ?></option>
210
+ <option value="rotate_clockwise" style="color:red;"><?php echo $gb_add_gallery_option_rotate_clockwise_images . " (" . $gb_premium_edition . " )"; ?></option>
211
+ <option value="rotate_anticlockwise" style="color:red;"><?php echo $gb_add_gallery_option_rotate_anti_clockwise_images . " (" . $gb_premium_edition . " )"; ?></option>
212
+ <option value="flip_vertically" style="color:red;"><?php echo $gb_add_gallery_option_flip_images_vertically . " (" . $gb_premium_edition . " )"; ?></option>
213
+ <option value="flip_horizontally" style="color:red;"><?php echo $gb_add_gallery_option_flip_images_horizontally . " (" . $gb_premium_edition . " )"; ?></option>
214
+ <option value="restore_image" style="color:red;"><?php echo $gb_add_gallery_option_restore_image . " (" . $gb_premium_edition . " )"; ?></option>
215
+ <option value="watermark_image" style="color:red;"><?php echo $gb_add_gallery_option_apply_watermark . " (" . $gb_premium_edition . " )"; ?></option>
216
+ </select>
217
+ <input type="button" class="btn vivid-green" name="ux_btn_bulk_action" id="ux_btn_bulk_action" value="<?php echo $gb_apply; ?>" onclick="premium_edition_notification_gallery_bank();">
218
+ </div>
219
+ <div id="ux_div_clone" style="display:none;">
220
+ <table class="table table-striped table-bordered table-hover table-margin-top" id="ux_tbl_add_gallery_clone">
221
+ <thead>
222
+ <tr>
223
+ <th class="chk-action">
224
+ <input type="checkbox" name="ux_chk_add_gallery" id="ux_chk_add_gallery">
225
+ </th>
226
+ <th>
227
+ <label class="control-label">
228
+ <?php echo $gb_add_gallery_table_thumbnail; ?>
229
+ </label>
230
+ </th>
231
+ <th>
232
+ <label class="control-label">
233
+ <?php echo $gb_add_gallery_table_file_details; ?>
234
+ </label>
235
+ </th>
236
+ </tr>
237
+ </thead>
238
+ <tbody>
239
+ <tr id="ux_dynamic_tr_0" style="display:none;">
240
+ <td>
241
+ <input type="checkbox" id="ux_chk_select_items_" name="ux_chk_select_items_" value="" onclick="">
242
+ </td>
243
+ <td>
244
+ <div class="image-style">
245
+ <img file_type="" src="" id="ux_gb_file_" name="ux_gb_file_"/>
246
+ </div>
247
+ <div class="custom-div-gap">
248
+ <input type="radio" name="ux_rdl_set_cover_image" id="ux_rdl_set_cover_image_" value="1" />
249
+ <?php echo $gb_add_gallery_cover_image_title; ?>
250
+ </div>
251
+ <div class="custom-div-gap">
252
+ <input type="checkbox" id="ux_exclude_image_" name="ux_exclude_image_" value="" />
253
+ <?php echo $gb_add_gallery_exclude_title; ?>
254
+ </div>
255
+ <div class="custom-div-gap">
256
+ <?php
257
+ if ($wp_version >= "4.0") {
258
+ ?>
259
+ <a href="javascript:void(0);" class="tooltips" data-original-title="<?php echo $gb_add_gallery_edit_tooltip; ?>" data-placement="right" onclick="premium_edition_notification_gallery_bank();">
260
+ <i class="icon-custom-note" ></i>
261
+ <?php echo $gb_edit_tooltip; ?>
262
+ </a>
263
+ <label>|</label>
264
+ <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
265
  }
266
+ ?>
267
+ <a href="javascript:void(0);" class="tooltips" data-original-title="<?php echo $gb_add_gallery_delete_tooltip; ?>" data-placement="right" onclick="delete_upload_image_gallery_bank(this)" control_id="">
268
+ <i class="icon-custom-trash" ></i>
269
+ <?php echo $gb_delete; ?>
270
+ </a>
271
+ </div>
272
+ </td>
273
+ <td>
274
+ <div class="row">
275
+ <div class="col-md-6">
276
+ <div class="form-group">
277
+ <label class="control-label">
278
+ <?php echo $gb_add_gallery_image_title; ?> :
279
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_image_tooltip; ?>" data-placement="right"></i>
280
+ </label>
281
+ <div class="input-icon right">
282
+ <input type="text" placeholder="<?php echo $gb_add_gallery_image_placeholder; ?>" class="form-control" name="ux_txt_img_title_" id="ux_txt_img_title_" value="">
283
+ </div>
284
+ </div>
285
+ </div>
286
+ <div class="col-md-6">
287
+ <div class="form-group">
288
+ <label class="control-label">
289
+ <?php echo $gb_add_gallery_image_alt_text_title; ?> :
290
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_image_alt_text_tooltip; ?>" data-placement="right"></i>
291
+ </label>
292
+ <div class="input-icon right">
293
+ <input type="text" placeholder="<?php echo $gb_add_gallery_image_alt_text_placeholder; ?>" class="form-control" name="ux_img_alt_text_" id="ux_img_alt_text_" value="">
294
+ </div>
295
+ </div>
296
+ </div>
297
+ </div>
298
+ <div class="form-group">
299
+ <label class="control-label">
300
+ <?php echo $gb_add_gallery_image_description_title; ?> :
301
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_image_description_tooltip; ?>" data-placement="right"></i>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
302
  </label>
303
  <div class="input-icon right">
304
+ <textarea placeholder="<?php echo $gb_add_gallery_image_description_placeholder; ?>" class="form-control" name="ux_txt_img_desc_" id="ux_txt_img_desc_"></textarea>
305
  </div>
306
+ </div>
307
+ <div class="form-group">
308
+ <label class="control-label">
309
+ <?php echo $gb_tags; ?> :
310
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_tag_tooltip; ?>" data-placement="right"></i>
 
311
  </label>
312
  <div class="input-icon right">
313
+ <select id="ux_ddl_tags_" name="ux_ddl_tags_" class="form-control" multiple>
314
+ <?php
315
+ if (isset($tag_data_unserialize) && count($tag_data_unserialize) > 0) {
316
+ foreach ($tag_data_unserialize as $value) {
317
+ ?>
318
+ <option value="<?php echo intval($value["id"]) ?>"><?php echo esc_attr($value["tag_name"]) ?></option>
319
+ <?php
320
+ }
321
+ }
322
+ ?>
323
+ </select>
324
  </div>
325
+ </div>
326
+ <div class="form-group">
327
+ <label class="control-label">
328
+ <?php echo $gb_add_gallery_enable_url_title; ?> :
329
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_enable_url_tooltip; ?>" data-placement="right"></i>
330
+ </label>
331
+ <div class="input-group">
332
+ <label>
333
+ <input type="radio" name="ux_rdl_redirect_" id="ux_rdl_enable_redirect_" value="1" onclick="">
334
+ <?php echo $gb_enable; ?>
335
+ </label>
336
+ <label style="margin-left:15px;">
337
+ <input type="radio" checked="checked" name="ux_rdl_redirect_" id="ux_rdl_disable_redirect_" value="0" onclick="">
338
+ <?php echo $gb_disable; ?>
339
+ </label>
340
+ </div>
341
+ </div>
342
+ <div class="form-group" id="ux_div_url_redirect_" style="display:none;">
343
+ <label class="control-label"><?php echo $gb_add_gallery_url_link_title; ?> :
344
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_url_link_tooltip; ?>" data-placement="right"></i>
345
+ </label>
346
+ <div class="input-icon right">
347
+ <input placeholder="<?php echo $gb_add_gallery_url_link_placeholder; ?>" class="form-control" type="text" name="ux_txt_img_url_" id="ux_txt_img_url_" value="http://">
348
+ </div>
349
+ </div>
350
+ </td>
351
+ </tr>
352
+ </tbody>
353
+ </table>
354
+ </div>
355
+ <table class="table table-striped table-bordered table-hover table-margin-top" id="ux_tbl_add_gallery">
356
+ <thead>
357
+ <tr>
358
+ <th class="custom-checkbox chk-action">
359
+ <input type="checkbox" class="custom-chkbox-operation" name="ux_chk_all_gallery" id="ux_chk_all_gallery">
360
+ </th>
361
+ <th class="custom-gallery-title">
362
+ <label class="control-label">
363
+ <?php echo $gb_add_gallery_table_thumbnail; ?>
364
+ </label>
365
+ </th>
366
+ <th>
367
+ <label class="control-label">
368
+ <?php echo $gb_add_gallery_table_file_details; ?>
369
+ </label>
370
+ </th>
371
+ </tr>
372
+ </thead>
373
+ <tbody>
374
+ <?php
375
+ if (isset($get_gallery_image_meta_data_unserialize) && count($get_gallery_image_meta_data_unserialize) > 0) {
376
+ foreach ($get_gallery_image_meta_data_unserialize as $pic) {
377
+ ?>
378
+ <tr id="ux_dynamic_tr_<?php echo intval($pic["id"]); ?>">
379
+ <td style="width:5%;text-align:center">
380
+ <input type="checkbox" file_type="<?php echo esc_attr($pic["file_type"]); ?>" id="ux_chk_select_items_<?php echo intval($pic["id"]); ?>" onclick="check_value_checkbox_gallery_bank();" name="ux_chk_select_items_<?php echo intval($pic["id"]); ?>" value="<?php echo intval($pic["id"]); ?>"/>
381
+ </td>
382
+ <td style="width:20%">
383
+ <div class="image-style">
384
+ <img file_type="<?php echo esc_attr($pic["file_type"]); ?>" src="<?php echo GALLERY_BANK_THUMBS_NON_CROPPED_URL . esc_attr($pic["image_name"]); ?>" img_name="<?php echo esc_attr($pic["image_name"]); ?>" id="ux_gb_file_<?php echo intval($pic["id"]); ?>" name="ux_gb_file_<?php echo intval($pic["id"]); ?>" style="width: 100%;display: block;"/>
385
+ </div>
386
+ <div class="custom-div-gap">
387
+ <input type="radio" name="ux_rdl_set_cover_image" onclick="set_cover_image_dynamically_gallery_bank(<?php echo $pic["id"]; ?>);" <?php echo intval($pic["gallery_cover_image"]) == 1 ? "checked=\"checked\"" : ""; ?> id="ux_rdl_set_cover_image_<?php echo intval($pic["id"]); ?>" value="1" image_data="<?php echo intval($pic["id"]); ?>"/> <?php echo $gb_add_gallery_cover_image_title; ?>
388
+ </div>
389
+ <div class="custom-div-gap">
390
+ <input type="checkbox" id="ux_exclude_image_<?php echo intval($pic["id"]); ?>" <?php echo intval($pic["exclude_image"]) == 1 ? "checked=\"checked\"" : ""; ?> name="ux_exclude_image_<?php echo intval($pic["id"]); ?>" /><?php echo $gb_add_gallery_exclude_title; ?>
391
+ </div>
392
+ <div class="custom-div-gap">
393
+ <?php
394
+ if ($wp_version >= "4.0") {
395
+ ?>
396
+ <a href="javascript:void(0);" class="tooltips" data-original-title="<?php echo $gb_add_gallery_edit_tooltip; ?>" data-placement="right" id="ux_a_edit_<?php echo intval($pic["id"]); ?>" onclick="premium_edition_notification_gallery_bank();" control_id="<?php echo intval($pic["id"]); ?>">
397
+ <i class="icon-custom-note" ></i> <?php echo $gb_edit_tooltip; ?>
398
+ </a><label>|</label>
399
+ <?php
400
+ }
401
+ ?>
402
+ <a href="javascript:void(0);" class="tooltips" data-original-title="<?php echo $gb_add_gallery_delete_tooltip; ?>" data-placement="right" onclick="delete_upload_image_gallery_bank(this)" control_id="<?php echo intval($pic["id"]); ?>">
403
+ <i class="icon-custom-trash" ></i> <?php echo $gb_delete; ?>
404
+ </a>
405
+ </div>
406
+ </td>
407
+ <td>
408
+ <div class="row">
409
+ <div class="col-md-6">
410
+ <div class="form-group">
411
+ <label class="control-label"><?php echo $gb_add_gallery_image_title; ?> :
412
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_image_tooltip; ?>" data-placement="right"></i>
413
+ </label>
414
+ <div class="input-icon right">
415
+ <input type="text" placeholder="<?php echo $gb_add_gallery_image_placeholder; ?>" class="form-control edit" name="ux_txt_img_title_<?php echo intval($pic["id"]); ?>" id="ux_txt_img_title_<?php echo intval($pic["id"]); ?>" value="<?php echo esc_attr($pic["image_title"]); ?>"/>
416
+ </div>
417
+ </div>
418
+ </div>
419
+ <div class="col-md-6">
420
+ <div class="form-group">
421
+ <label class="control-label"><?php echo $gb_add_gallery_image_alt_text_title; ?> :
422
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_image_alt_text_tooltip; ?>" data-placement="right"></i>
423
+ </label>
424
+ <div class="input-icon right">
425
+ <input type="text" placeholder="<?php echo $gb_add_gallery_image_alt_text_placeholder; ?>" class="form-control edit" name="ux_img_alt_text_<?php echo intval($pic["id"]); ?>" id="ux_img_alt_text_<?php echo intval($pic["id"]); ?>" value="<?php echo esc_attr(stripcslashes(urldecode($pic["alt_text"]))); ?>"/>
426
+ </div>
427
+ </div>
428
+ </div>
429
+ </div>
430
+ <div class="form-group">
431
+ <label class="control-label"><?php echo $gb_add_gallery_image_description_title; ?> :
432
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_image_description_tooltip; ?>" data-placement="right"></i>
433
+ </label>
434
+ <div class="input-icon right">
435
+ <textarea placeholder="<?php echo $gb_add_gallery_image_description_placeholder; ?>" class="form-control" rows="3" name="ux_txt_img_desc_<?php echo intval($pic["id"]); ?>" id="ux_txt_img_desc_<?php echo intval($pic["id"]); ?>"><?php echo stripcslashes(urldecode($pic["image_description"])); ?></textarea>
436
+ </div>
437
+ </div>
438
+ <div class="form-group">
439
+ <label class="control-label"><?php echo $gb_tags; ?> :
440
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_tag_tooltip; ?>" data-placement="right"></i>
441
+ </label>
442
+ <div class="input-icon right">
443
+ <select name="ux_ddl_tags_<?php echo intval($pic["id"]); ?>[]" id="ux_ddl_tags_<?php echo intval($pic["id"]); ?>" class="form-control" multiple>
444
+ <?php
445
+ $tag_array = isset($pic["tags"]) ? (is_array($pic["tags"]) ? $pic["tags"] : array()) : "";
446
+ if (isset($tag_data_unserialize) && count($tag_data_unserialize) > 0) {
447
+ foreach ($tag_data_unserialize as $value) {
448
+ ?>
449
+ <option onclick="remove_selected_attr_gallery_bank(this.id)" id="ux_tag_<?php echo intval($value["id"]) . "_" . intval($pic["id"]); ?>" value="<?php echo $value["id"] ?>" class="<?php echo in_array($value["id"], $tag_array) == true ? "tag" : ""; ?>" <?php echo in_array($value["id"], $tag_array) == true ? "selected" : ""; ?>><?php echo $value["tag_name"] ?></option>
450
+ <?php
451
+ }
452
+ }
453
+ ?>
454
+ </select>
455
+ </div>
456
+ </div>
457
+ <div class="form-group">
458
+ <label class="control-label"> <?php echo $gb_add_gallery_enable_url_title; ?> :
459
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_enable_url_tooltip; ?>" data-placement="right"></i>
460
+ </label>
461
+ <div class="input-group">
462
+ <label>
463
+ <input type="radio" <?php echo intval($pic["enable_redirect"]) == 1 ? "checked=\"checked\"" : ""; ?> name="ux_rdl_redirect_<?php echo intval($pic["id"]); ?>" id="ux_rdl_enable_redirect_<?php echo intval($pic["id"]); ?>" value="1" onclick="show_image_url_redirect_gallery_bank(<?php echo intval($pic["id"]); ?>);"><?php echo $gb_enable; ?>
464
+ </label>
465
+ <label style="margin-left:15px;">
466
+ <input type="radio" <?php echo intval($pic["enable_redirect"]) == 0 ? "checked=\"checked\"" : ""; ?> name="ux_rdl_redirect_<?php echo intval($pic["id"]); ?>" id="ux_rdl_disable_redirect_<?php echo intval($pic["id"]); ?>" value="0" onclick="show_image_url_redirect_gallery_bank(<?php echo intval($pic["id"]); ?>);"><?php echo $gb_disable; ?>
467
+ </label>
468
+ </div>
469
+ </div>
470
+ <div class="form-group" id="ux_div_url_redirect_<?php echo intval($pic["id"]); ?>" style="display: none;">
471
+ <label class="control-label"><?php echo $gb_add_gallery_url_link_title; ?> :
472
+ <i class="icon-custom-question tooltips" data-original-title="<?php echo $gb_add_gallery_url_link_tooltip; ?>" data-placement="right"></i>
473
+ </label>
474
+ <div class="input-icon right">
475
+ <input placeholder="<?php echo $gb_add_gallery_url_link_placeholder; ?>" class="form-control" type="text" name="ux_txt_img_url_<?php echo intval($pic["id"]); ?>" id="ux_txt_img_url_<?php echo intval($pic["id"]); ?>" value="<?php echo esc_attr($pic["redirect_url"]); ?>"/>
476
+ </div>
477
+ </div>
478
+ </td>
479
+ </tr>
480
+ <?php
481
+ }
482
+ }
483
+ ?>
484
+ </tbody>
485
+ </table>
486
+ </div>
487
+ <div class="line-separator"></div>
488
+ <div class="form-actions">
489
+ <div class="pull-right">
490
+ <input type="submit" class="btn vivid-green" name="ux_btn_save_changes" id="ux_btn_save_changes" value="<?php echo $gb_save_changes; ?>">
491
+ </div>
492
+ </div>
493
+ </div>
494
+ </form>
495
+ </div>
496
+ </div>
497
  </div>
498
+ </div>
499
+ <?php
500
+ } else {
501
+ ?>
502
+ <div class="page-bar">
503
+ <ul class="page-breadcrumb">
504
+ <li>
505
+ <i class="icon-custom-home"></i>
506
+ <a href="admin.php?page=gallery_bank">
507
+ <?php echo $gallery_bank; ?>
508
+ </a>
509
+ <span>></span>
510
+ </li>
511
+ <li>
512
+ <a href="admin.php?page=gallery_bank">
513
+ <?php echo $gb_galleries; ?>
514
+ </a>
515
+ <span>></span>
516
+ </li>
517
+ <li>
518
+ <span>
519
+ <?php echo isset($_REQUEST["mode"]) && esc_attr($_REQUEST["mode"]) == "edit" ? $gb_update_gallery : $gb_add_gallery; ?>
520
+ </span>
521
+ </li>
522
+ </ul>
523
+ </div>
524
+ <div class="row">
525
+ <div class="col-md-12">
526
+ <div class="portlet box vivid-green">
527
+ <div class="portlet-title">
528
+ <div class="caption">
529
+ <i class="icon icon-custom-plus"></i>
530
+ <?php echo $gb_add_gallery; ?>
531
+ </div>
532
+ </div>
533
+ <div class="portlet-body form">
534
+ <div class="form-body">
535
+ <strong><?php echo $gb_user_access_message; ?></strong>
536
+ </div>
537
+ </div>
538
+ </div>
539
  </div>
540
+ </div>
541
+ <?php
542
+ }
 
543
  }
views/wizard/wizard.php CHANGED
@@ -57,7 +57,7 @@ if (!is_user_logged_in()) {
57
  </div>
58
  <div class="wpb_text_column wpb_content_element ">
59
  <div class="wpb_wrapper">
60
- <h1 style="text-align: center;">Gallery Bank is the most <u style="color: #237371;">Stylish and Elegant</u> Photo Gallery Plugin on WordPress.</h1>
61
  </div>
62
  </div>
63
  <div class="wpb_text_column wpb_content_element ">
@@ -96,20 +96,6 @@ if (!is_user_logged_in()) {
96
  </ul>
97
  <div class="tab-content">
98
  <div class="tab-pane active" id="video_tutorials">
99
- <div class="portlet box vivid-green">
100
- <div class="portlet-title" onclick="show_hide_text_field_options('ux_div_create_gallery');">
101
- <div class="caption">
102
- <i class="icon-custom-plus"></i>
103
- How to create a Gallery with Images?
104
- </div>
105
- <span class="dashicons dashicons-arrow-down downarraow-toggle"></span>
106
- </div>
107
- <div class="portlet-body form">
108
- <div class="form-body" id="ux_div_create_gallery">
109
- <iframe class="youtube-player" type="text/html" src="https://www.youtube.com/embed/5tOPGePG9Dw?version=3&amp;rel=1&amp;fs=1&amp;autohide=2&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;wmode=transparent" allowfullscreen="true" style="border:0;" width="640" height="390"></iframe>
110
- </div>
111
- </div>
112
- </div>
113
  <div class="portlet box vivid-green" style="margin-top:5px;">
114
  <div class="portlet-title" onclick="show_hide_text_field_options('ux_div_add_images_gallery');">
115
  <div class="caption">
57
  </div>
58
  <div class="wpb_text_column wpb_content_element ">
59
  <div class="wpb_wrapper">
60
+ <h1 style="text-align: center;line-height: 1.2em;">Gallery Bank is the most <u style="color: #237371;">Stylish and Elegant</u> Photo Gallery Plugin on WordPress.</h1>
61
  </div>
62
  </div>
63
  <div class="wpb_text_column wpb_content_element ">
96
  </ul>
97
  <div class="tab-content">
98
  <div class="tab-pane active" id="video_tutorials">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  <div class="portlet box vivid-green" style="margin-top:5px;">
100
  <div class="portlet-title" onclick="show_hide_text_field_options('ux_div_add_images_gallery');">
101
  <div class="caption">