Responsive Lightbox & Gallery - Version 2.0.4

Version Description

  • Fix: Gallery sorting and orderby not working
  • Fix: Slow db query on post edit screen
  • Fix: WooCommerce gallery undefined method for get_gallery_image_ids
  • Fix: Uncaught Argument in preview_post_link function
  • Fix: Removed a callback to sanitize_textarea_field
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Responsive Lightbox & Gallery
Version 2.0.4
Comparing to
See all releases

Code changes from version 2.0.3 to 2.0.4

css/admin-galleries.css CHANGED
@@ -126,6 +126,9 @@
126
  #rl-gallery-tab-design:before {
127
  content: "\f100";
128
  }
 
 
 
129
  #rl-gallery-tab-lightbox:before {
130
  content: "\f128";
131
  }
126
  #rl-gallery-tab-design:before {
127
  content: "\f100";
128
  }
129
+ #rl-gallery-tab-paging:before {
130
+ content: "\f333";
131
+ }
132
  #rl-gallery-tab-lightbox:before {
133
  content: "\f128";
134
  }
includes/class-fast-image.php ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Finds the dimensions or filetype of an image given its uri by fetching as little as needed
4
+ *
5
+ * Based on the FastImage class (https://github.com/tommoor/fastimage)
6
+ *
7
+ * @version 0.1
8
+ */
9
+ class Responsive_Lightbox_Fast_Image {
10
+
11
+ private $strpos = 0;
12
+ private $str;
13
+ private $type;
14
+ private $handle;
15
+
16
+ public function __construct( $uri = null ) {
17
+ if ( $uri )
18
+ $this->load( $uri );
19
+ }
20
+
21
+ public function load( $uri ) {
22
+ if ( $this->handle )
23
+ $this->close();
24
+
25
+ $this->handle = fopen( $uri, 'r' );
26
+ }
27
+
28
+ public function close() {
29
+ if ( $this->handle ) {
30
+ fclose( $this->handle );
31
+
32
+ $this->handle = null;
33
+ $this->type = null;
34
+ $this->str = null;
35
+ }
36
+ }
37
+
38
+ public function get_size() {
39
+ $this->strpos = 0;
40
+
41
+ if ( $this->get_type() )
42
+ return array_values( $this->parse_size() );
43
+
44
+ return false;
45
+ }
46
+
47
+ public function get_type() {
48
+ $this->strpos = 0;
49
+
50
+ if ( ! $this->type ) {
51
+ switch ( $this->get_chars( 2 ) ) {
52
+ case "BM":
53
+ return $this->type = 'bmp';
54
+
55
+ case "GI":
56
+ return $this->type = 'gif';
57
+
58
+ case chr( 0xFF ) . chr( 0xd8 ):
59
+ return $this->type = 'jpeg';
60
+
61
+ case chr( 0x89 ) . 'P':
62
+ return $this->type = 'png';
63
+
64
+ default:
65
+ return false;
66
+ }
67
+ }
68
+
69
+ return $this->type;
70
+ }
71
+
72
+ private function parse_size() {
73
+ $this->strpos = 0;
74
+
75
+ switch ( $this->type ) {
76
+ case 'png':
77
+ return $this->parse_size_png();
78
+
79
+ case 'gif':
80
+ return $this->parse_size_gif();
81
+
82
+ case 'bmp':
83
+ return $this->parse_size_bmp();
84
+
85
+ case 'jpeg':
86
+ return $this->parse_size_jpeg();
87
+ }
88
+
89
+ return null;
90
+ }
91
+
92
+ private function parse_size_png() {
93
+ $chars = $this->get_chars( 25 );
94
+
95
+ return unpack( "N*", substr( $chars, 16, 8 ) );
96
+ }
97
+
98
+ private function parse_size_gif() {
99
+ $chars = $this->get_chars( 11 );
100
+
101
+ return unpack( "S*", substr( $chars, 6, 4 ) );
102
+ }
103
+
104
+ private function parse_size_bmp() {
105
+ $chars = $this->get_chars( 29 );
106
+ $chars = substr( $chars, 14, 14 );
107
+ $type = unpack( 'C', $chars );
108
+
109
+ return ( reset( $type ) == 40 ) ? unpack( 'L*', substr( $chars, 4 ) ) : unpack( 'L*', substr( $chars, 4, 8 ) );
110
+ }
111
+
112
+ private function parse_size_jpeg() {
113
+ $state = null;
114
+ $i = 0;
115
+
116
+ while ( true ) {
117
+ switch ( $state ) {
118
+ default:
119
+ $this->get_chars( 2 );
120
+ $state = 'started';
121
+ break;
122
+
123
+ case 'started':
124
+ $b = $this->get_byte();
125
+ if ( $b === false )
126
+ return false;
127
+
128
+ $state = $b == 0xFF ? 'sof' : 'started';
129
+ break;
130
+
131
+ case 'sof':
132
+ $b = $this->get_byte();
133
+ if ( in_array( $b, range( 0xe0, 0xef ) ) )
134
+ $state = 'skipframe';
135
+ elseif ( in_array( $b, array_merge( range( 0xC0, 0xC3 ), range( 0xC5, 0xC7 ), range( 0xC9, 0xCB ), range( 0xCD, 0xCF ) ) ) )
136
+ $state = 'readsize';
137
+ elseif ( $b == 0xFF )
138
+ $state = 'sof';
139
+ else
140
+ $state = 'skipframe';
141
+ break;
142
+
143
+ case 'skipframe':
144
+ $skip = $this->read_int( $this->get_chars( 2 ) ) - 2;
145
+ $state = 'doskip';
146
+ break;
147
+
148
+ case 'doskip':
149
+ $this->get_chars( $skip );
150
+ $state = 'started';
151
+ break;
152
+
153
+ case 'readsize':
154
+ $c = $this->get_chars( 7 );
155
+
156
+ return array( $this->read_int( substr( $c, 5, 2 ) ), $this->read_int( substr( $c, 3, 2 ) ) );
157
+ }
158
+ }
159
+ }
160
+
161
+ private function get_chars( $n ) {
162
+ $response = null;
163
+
164
+ // do we need more data?
165
+ if ( $this->strpos + $n - 1 >= strlen( $this->str ) ) {
166
+ $end = ( $this->strpos + $n );
167
+
168
+ while ( strlen( $this->str ) < $end && $response !== false ) {
169
+ // read more from the file handle
170
+ $need = $end - ftell( $this->handle );
171
+
172
+ if ( $response = fread( $this->handle, $need ) )
173
+ $this->str .= $response;
174
+ else
175
+ return false;
176
+ }
177
+ }
178
+
179
+ $result = substr( $this->str, $this->strpos, $n );
180
+ $this->strpos += $n;
181
+
182
+ return $result;
183
+ }
184
+
185
+ private function get_byte() {
186
+ $c = $this->get_chars( 1 );
187
+ $b = unpack( "C", $c );
188
+
189
+ return reset( $b );
190
+ }
191
+
192
+ private function read_int( $str ) {
193
+ $size = unpack( "C*", $str );
194
+
195
+ return ( $size[1] << 8 ) + $size[2];
196
+ }
197
+
198
+ public function __destruct() {
199
+ $this->close();
200
+ }
201
+ }
includes/class-frontend.php CHANGED
@@ -363,7 +363,7 @@ class Responsive_Lightbox_Frontend {
363
  $caption = esc_attr( wp_strip_all_tags( trim( nl2br( $args['caption'] ) ), true ) );
364
 
365
  // add rl_caption
366
- $link = preg_replace( '/(<a.*?)>/s', '$1 data-rl_caption="'. $caption .'">', $link );
367
 
368
  if ( isset( $_GET['rl_gallery_no'], $_GET['rl_page'] ) )
369
  $this->gallery_no = (int) $_GET['rl_gallery_no'];
@@ -555,7 +555,7 @@ class Responsive_Lightbox_Frontend {
555
  'title' => __( 'Size', 'responsive-lightbox' ),
556
  'type' => 'select',
557
  'description' => __( 'Specify the image size to use for the thumbnail display.', 'responsive-lightbox' ),
558
- 'default' => 'thumbnail',
559
  'options' => array_combine( $sizes, $sizes )
560
  ),
561
  'link' => array(
@@ -781,7 +781,7 @@ class Responsive_Lightbox_Frontend {
781
 
782
  // lightbox image title
783
  $args['settings']['plugin']['gallery_image_title'] = ! empty( $shortcode_atts['lightbox_image_title'] ) ? ( $shortcode_atts['lightbox_image_title'] === 'global' ? Responsive_Lightbox()->options['settings']['gallery_image_title'] : $shortcode_atts['lightbox_image_title'] ) : Responsive_Lightbox()->options['settings']['gallery_image_title'];
784
-
785
  // lightbox image caption
786
  $args['settings']['plugin']['gallery_image_caption'] = ! empty( $shortcode_atts['lightbox_image_caption'] ) ? ( $shortcode_atts['lightbox_image_caption'] === 'global' ? Responsive_Lightbox()->options['settings']['gallery_image_caption'] : $shortcode_atts['lightbox_image_caption'] ) : Responsive_Lightbox()->options['settings']['gallery_image_caption'];
787
 
@@ -1060,20 +1060,24 @@ class Responsive_Lightbox_Frontend {
1060
  /**
1061
  * WooCommerce gallery support.
1062
  *
1063
- * @global object $post
1064
  * @global object $product
1065
- * @global object $woocommerce
1066
  * @return mixed
1067
  */
1068
  public function woocommerce_gallery() {
1069
- global $post, $product, $woocommerce;
1070
-
1071
- $attachment_ids = $product->get_gallery_image_ids();
1072
 
1073
- $gallery_type = Responsive_Lightbox()->options['settings']['default_woocommerce_gallery'];
 
 
 
 
 
 
 
 
1074
 
1075
- if ( $attachment_ids )
1076
- echo do_shortcode( '[gallery type="' . $gallery_type . '" size="' . apply_filters( 'single_product_small_thumbnail_size', 'medium' ) . '" ids="' . implode( ',', $attachment_ids ) . '"]' );
1077
  }
1078
 
1079
  /**
@@ -1121,10 +1125,12 @@ class Responsive_Lightbox_Frontend {
1121
  $url = ! empty( $url ) ? esc_url( $url ) : '';
1122
 
1123
  // get cached data
1124
- $post_id = wp_cache_get( md5( $url ), 'rl-attachment_id_by_url' );
 
 
1125
 
1126
  // cached url not found?
1127
- if ( $post_id === false ) {
1128
  $post_id = attachment_url_to_postid( $url );
1129
 
1130
  if ( ! $post_id ) {
@@ -1141,10 +1147,57 @@ class Responsive_Lightbox_Frontend {
1141
  // set the cache expiration, 24 hours by default
1142
  $expire = absint( apply_filters( 'rl_object_cache_expire', DAY_IN_SECONDS ) );
1143
 
1144
- wp_cache_set( md5( $url ), $post_id, 'rl-attachment_id_by_url', $expire );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1145
  }
1146
 
1147
- return (int) $post_id;
1148
  }
1149
 
1150
  /**
363
  $caption = esc_attr( wp_strip_all_tags( trim( nl2br( $args['caption'] ) ), true ) );
364
 
365
  // add rl_caption
366
+ $link = preg_replace( '/(<a.*?)>/s', '$1 data-rl_caption="'. preg_quote( $caption ) .'">', $link );
367
 
368
  if ( isset( $_GET['rl_gallery_no'], $_GET['rl_page'] ) )
369
  $this->gallery_no = (int) $_GET['rl_gallery_no'];
555
  'title' => __( 'Size', 'responsive-lightbox' ),
556
  'type' => 'select',
557
  'description' => __( 'Specify the image size to use for the thumbnail display.', 'responsive-lightbox' ),
558
+ 'default' => 'medium',
559
  'options' => array_combine( $sizes, $sizes )
560
  ),
561
  'link' => array(
781
 
782
  // lightbox image title
783
  $args['settings']['plugin']['gallery_image_title'] = ! empty( $shortcode_atts['lightbox_image_title'] ) ? ( $shortcode_atts['lightbox_image_title'] === 'global' ? Responsive_Lightbox()->options['settings']['gallery_image_title'] : $shortcode_atts['lightbox_image_title'] ) : Responsive_Lightbox()->options['settings']['gallery_image_title'];
784
+
785
  // lightbox image caption
786
  $args['settings']['plugin']['gallery_image_caption'] = ! empty( $shortcode_atts['lightbox_image_caption'] ) ? ( $shortcode_atts['lightbox_image_caption'] === 'global' ? Responsive_Lightbox()->options['settings']['gallery_image_caption'] : $shortcode_atts['lightbox_image_caption'] ) : Responsive_Lightbox()->options['settings']['gallery_image_caption'];
787
 
1060
  /**
1061
  * WooCommerce gallery support.
1062
  *
 
1063
  * @global object $product
 
1064
  * @return mixed
1065
  */
1066
  public function woocommerce_gallery() {
1067
+ global $product;
 
 
1068
 
1069
+ $attachment_ids = array();
1070
+
1071
+ // WooCommerce 3.x
1072
+ if ( method_exists( $product, 'get_gallery_image_ids' ) ) {
1073
+ $attachment_ids = $product->get_gallery_image_ids();
1074
+ // WooCommerce 2.x
1075
+ } elseif ( method_exists( $product, 'get_gallery_attachment_ids' ) ) {
1076
+ $attachment_ids = $product->get_gallery_attachment_ids();
1077
+ }
1078
 
1079
+ if ( ! empty( $attachment_ids ) && is_array( $attachment_ids ) )
1080
+ echo do_shortcode( '[gallery type="' . Responsive_Lightbox()->options['settings']['default_woocommerce_gallery'] . '" size="' . apply_filters( 'single_product_small_thumbnail_size', 'medium' ) . '" ids="' . implode( ',', $attachment_ids ) . '"]' );
1081
  }
1082
 
1083
  /**
1125
  $url = ! empty( $url ) ? esc_url( $url ) : '';
1126
 
1127
  // get cached data
1128
+ // $post_id = wp_cache_get( md5( $url ), 'rl-attachment_id_by_url' );
1129
+ $post_ids = get_transient( 'rl-attachment_ids_by_url' );
1130
+ $post_id = 0;
1131
 
1132
  // cached url not found?
1133
+ if ( $post_ids === false || ! in_array( $url, array_keys( $post_ids ) ) ) {
1134
  $post_id = attachment_url_to_postid( $url );
1135
 
1136
  if ( ! $post_id ) {
1147
  // set the cache expiration, 24 hours by default
1148
  $expire = absint( apply_filters( 'rl_object_cache_expire', DAY_IN_SECONDS ) );
1149
 
1150
+ // wp_cache_add( md5( $url ), $post_id, 'rl-attachment_id_by_url', $expire );
1151
+
1152
+ $post_ids[$url] = $post_id;
1153
+
1154
+ set_transient( 'rl-attachment_ids_by_url', $post_ids, $expire );
1155
+ // cached url found
1156
+ } elseif ( ! empty( $post_ids[$url] ) )
1157
+ $post_id = absint( $post_ids[$url] );
1158
+
1159
+ return (int) apply_filters( 'rl_get_attachment_id_by_url', $post_id, $url );
1160
+ }
1161
+
1162
+ /**
1163
+ * Get image size by URL.
1164
+ *
1165
+ * @param string $url Image URL
1166
+ * @return array
1167
+ */
1168
+ public function get_image_size_by_url( $url ) {
1169
+ $url = ! empty( $url ) ? esc_url( $url ) : '';
1170
+ $size = array( 0, 0 );
1171
+
1172
+ if ( ! empty( $url ) ) {
1173
+ // get cached data
1174
+ $image_sizes = get_transient( 'rl-image_sizes_by_url' );
1175
+
1176
+ // cached url not found?
1177
+ if ( $image_sizes === false || ! in_array( $url, array_keys( $image_sizes ) ) || empty( $image_sizes[$url] ) ) {
1178
+ if ( class_exists( 'Responsive_Lightbox_Fast_Image' ) ) {
1179
+ // loading image
1180
+ $image = new Responsive_Lightbox_Fast_Image( $url );
1181
+
1182
+ // get size
1183
+ $size = $image->get_size();
1184
+ } else {
1185
+ // get size using php
1186
+ $size = getimagesize( $url );
1187
+ }
1188
+
1189
+ // set the cache expiration, 24 hours by default
1190
+ $expire = absint( apply_filters( 'rl_object_cache_expire', DAY_IN_SECONDS ) );
1191
+
1192
+ $image_sizes[$url] = $size;
1193
+
1194
+ set_transient( 'rl-image_sizes_by_url', $image_sizes, $expire );
1195
+ // cached url found
1196
+ } elseif ( ! empty( $image_sizes[$url] ) )
1197
+ $size = array_map( 'absint', $image_sizes[$url] );
1198
  }
1199
 
1200
+ return apply_filters( 'rl_get_image_size_by_url', $size, $url );
1201
  }
1202
 
1203
  /**
includes/class-galleries.php CHANGED
@@ -53,8 +53,7 @@ class Responsive_Lightbox_Galleries {
53
  add_filter( 'manage_rl_gallery_posts_columns', array( $this, 'gallery_columns' ) );
54
  add_filter( 'admin_post_thumbnail_html', array( $this, 'admin_post_thumbnail_html' ), 10, 2 );
55
  add_filter( 'post_thumbnail_html', array( $this, 'post_thumbnail_html' ), 10, 5 );
56
- add_filter( 'get_post_metadata', array( $this, 'filter_preview_metadata' ), 10, 4 );
57
- add_filter( 'preview_post_link', array( $this, 'preview_post_link' ), 10, 2 );
58
 
59
  if ( ! empty( $_POST['rl_active_tab'] ) )
60
  add_filter( 'redirect_post_location', array( $this, 'add_active_tab' ) );
@@ -66,6 +65,9 @@ class Responsive_Lightbox_Galleries {
66
  * @return void
67
  */
68
  public function init() {
 
 
 
69
  // register shortcode
70
  add_shortcode( 'rl_gallery', array( $this, 'gallery_shortcode' ) );
71
 
@@ -988,7 +990,37 @@ class Responsive_Lightbox_Galleries {
988
  break;
989
 
990
  case 'textarea':
991
- $value = trim( sanitize_textarea_field( $value ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
992
  break;
993
 
994
  case 'color_picker':
@@ -1380,7 +1412,9 @@ class Responsive_Lightbox_Galleries {
1380
  'image_size' => 'large',
1381
  'thumbnail_size' => 'thumbnail',
1382
  'pagination_type' => 'paged',
1383
- 'pagination_position' => 'bottom'
 
 
1384
  );
1385
 
1386
  $args = wp_parse_args( apply_filters( 'rl_get_gallery_images_args', $args, $gallery_id ), $defaults );
@@ -1390,23 +1424,26 @@ class Responsive_Lightbox_Galleries {
1390
  $args['posts_per_page'] = ! empty( $args['posts_per_page'] ) ? (int) $args['posts_per_page'] : -1;
1391
  $args['nopaging'] = (bool) ! empty( $args['nopaging'] );
1392
 
1393
- $paging = get_post_meta( $gallery_id, '_rl_paging', true );
 
 
1394
 
1395
- if ( isset( $paging['menu_item'] ) ) {
1396
- $pagination = $paging[$paging['menu_item']];
1397
 
1398
- if ( $pagination['pagination'] ) {
1399
- $args['nopaging'] = false;
1400
- $args['images_per_page'] = $pagination['images_per_page'];
1401
- $args['pagination_type'] = $pagination['pagination_type'];
1402
 
1403
- // infinite type?
1404
- if ( $args['pagination_type'] === 'infinite' )
1405
- $args['pagination_position'] = 'bottom';
1406
- else
1407
- $args['pagination_position'] = $pagination['pagination_position'];
1408
- } else
1409
- $args['nopaging'] = true;
 
1410
  }
1411
 
1412
  // is it preview?
@@ -1419,7 +1456,18 @@ class Responsive_Lightbox_Galleries {
1419
  else
1420
  $args['page'] = (int) $args['page'];
1421
 
1422
- if ( get_post_type( $gallery_id ) === 'rl_gallery' ) {
 
 
 
 
 
 
 
 
 
 
 
1423
  $data = get_post_meta( $gallery_id, '_rl_images', true );
1424
 
1425
  // already saved gallery?
@@ -1464,6 +1512,76 @@ class Responsive_Lightbox_Galleries {
1464
  }
1465
  }
1466
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1467
  $images = apply_filters( 'rl_get_gallery_images_array', $images, $gallery_id, $args );
1468
 
1469
  // save images count
@@ -1576,7 +1694,7 @@ class Responsive_Lightbox_Galleries {
1576
  $images = $this->get_gallery_images( $gallery_id, array( 'exclude' => true ) );
1577
 
1578
  // count attachments
1579
- $images_count = absint( get_post_meta( $gallery_id, '_rl_images_count', true ) );
1580
 
1581
  if ( ! empty( $images ) ) {
1582
  foreach ( $images as $image ) {
@@ -1768,7 +1886,7 @@ class Responsive_Lightbox_Galleries {
1768
  /**
1769
  * Get attachment image.
1770
  *
1771
- * @param int|string|array attachment_id, image url or array of image data
1772
  * @param string $image_size
1773
  * @param string $thumbnail_size
1774
  * @return array
@@ -1789,7 +1907,8 @@ class Responsive_Lightbox_Galleries {
1789
  $imagedata = array(
1790
  'id' => $image,
1791
  'link' => '',
1792
- 'title' => '',
 
1793
  'caption' => '',
1794
  'alt' => '',
1795
  'url' => $image_src[0],
@@ -1804,7 +1923,7 @@ class Responsive_Lightbox_Galleries {
1804
  } elseif ( is_string( $image ) ) {
1805
  $imagedata['url'] = $image;
1806
 
1807
- @list( $imagedata['width'], $imagedata['height'] ) = getimagesize( $imagedata['url'] );
1808
 
1809
  $imagedata = array(
1810
  'id' => 0,
@@ -1822,7 +1941,7 @@ class Responsive_Lightbox_Galleries {
1822
  } elseif ( is_array( $image ) ) {
1823
  // set width and height from url, if not available
1824
  if ( empty( $image['width'] ) || empty( $image['height'] ) )
1825
- @list( $image['width'], $image['height'] ) = getimagesize( $image['url'] );
1826
 
1827
  // set thumbnail data, if not available
1828
  if ( empty( $image['thumbnail_url'] ) ) {
@@ -1832,7 +1951,7 @@ class Responsive_Lightbox_Galleries {
1832
  } else {
1833
  // set thumbnail width and height from url, if not available
1834
  if ( empty( $image['thumbnail_width'] ) || empty( $image['thumbnail_height'] ) )
1835
- @list( $image['thumbnail_width'], $image['thumbnail_height'] ) = getimagesize( $image['thumbnail_url'] );
1836
  }
1837
 
1838
  /* adjust thumbnail size ?
@@ -2245,7 +2364,7 @@ class Responsive_Lightbox_Galleries {
2245
  global $pagenow;
2246
 
2247
  // prepare query arguments if needed
2248
- if ( in_array( $pagenow, array( 'post.php', 'post-new.php', 'edit.php', 'admin-ajax.php' ), true ) ) {
2249
  foreach ( array( 'post_type', 'post_status', 'post_format', 'post_term', 'post_author', 'page_parent', 'page_template' ) as $option ) {
2250
  $this->fields['images']['featured'][$option]['options'] = $this->prepare_query_args( $option );
2251
  }
@@ -2789,7 +2908,7 @@ class Responsive_Lightbox_Galleries {
2789
  case 'image':
2790
  // get image data, based on gallery source type
2791
  $image = $this->get_featured_image( $post_id, array( 60, 60 ) );
2792
- $images_count = absint( get_post_meta( $post_id, '_rl_images_count', true ) );
2793
 
2794
  // display count
2795
  if ( ! empty( $image ) )
@@ -2978,13 +3097,17 @@ class Responsive_Lightbox_Galleries {
2978
  * Update preview link.
2979
  *
2980
  * @param string $link Preview link
2981
- * @param object $post Post object
2982
  * @return string
2983
  */
2984
- public function preview_post_link( $link, $post ) {
2985
  // add rl gallery revision ID
2986
- if ( $post->post_type === 'rl_gallery' && property_exists( $this, 'revision_id' ) && ! is_null( $this->revision_id ) )
2987
- return add_query_arg( 'rl_gallery_revision_id', $this->revision_id, $link );
 
 
 
 
 
2988
 
2989
  return $link;
2990
  }
@@ -3003,13 +3126,13 @@ class Responsive_Lightbox_Galleries {
3003
  $revision_id = (int) $_GET['rl_gallery_revision_id'];
3004
 
3005
  // is it a valid revision?
3006
- if ( get_post_type( $post->ID ) === 'rl_gallery' && wp_is_post_revision( $revision_id ) === $post->ID )
3007
  wp_delete_post_revision( $revision_id );
3008
  }
3009
  }
3010
 
3011
  /**
3012
- * Filter gallery meta data.
3013
  *
3014
  * @param mixed $value Meta value to filter
3015
  * @param int $object_id Object ID
@@ -3018,6 +3141,7 @@ class Responsive_Lightbox_Galleries {
3018
  * @return mixed
3019
  */
3020
  public function filter_preview_metadata( $value, $object_id, $meta_key, $single ) {
 
3021
  if ( get_post_type( $object_id ) !== 'rl_gallery' )
3022
  return $value;
3023
 
@@ -3025,21 +3149,25 @@ class Responsive_Lightbox_Galleries {
3025
  $post = get_post();
3026
 
3027
  // prepare keys
3028
- $keys = array( '_rl_featured_image_type', '_rl_featured_image', '_thumbnail_id' );
3029
 
 
3030
  foreach ( array_keys( $this->tabs ) as $key ) {
3031
  $keys[] = '_rl_' . $key;
3032
  }
3033
 
 
3034
  if ( empty( $post ) || (int) $post->ID !== (int) $object_id || ! in_array( $meta_key, $keys, true ) || $post->post_type === 'revision' )
3035
  return $value;
3036
 
3037
- // grab the autosave.
3038
  $preview = wp_get_post_autosave( $post->ID );
3039
 
 
3040
  if ( ! is_object( $preview ) )
3041
  return $value;
3042
 
 
3043
  return array( get_post_meta( $preview->ID, $meta_key, $single ) );
3044
  }
3045
  }
53
  add_filter( 'manage_rl_gallery_posts_columns', array( $this, 'gallery_columns' ) );
54
  add_filter( 'admin_post_thumbnail_html', array( $this, 'admin_post_thumbnail_html' ), 10, 2 );
55
  add_filter( 'post_thumbnail_html', array( $this, 'post_thumbnail_html' ), 10, 5 );
56
+ add_filter( 'preview_post_link', array( $this, 'preview_post_link' ) );
 
57
 
58
  if ( ! empty( $_POST['rl_active_tab'] ) )
59
  add_filter( 'redirect_post_location', array( $this, 'add_active_tab' ) );
65
  * @return void
66
  */
67
  public function init() {
68
+ if ( ! is_admin() )
69
+ add_filter( 'get_post_metadata', array( $this, 'filter_preview_metadata' ), 10, 4 );
70
+
71
  // register shortcode
72
  add_shortcode( 'rl_gallery', array( $this, 'gallery_shortcode' ) );
73
 
990
  break;
991
 
992
  case 'textarea':
993
+ global $wp_version;
994
+
995
+ // WP 4.7+
996
+ if ( version_compare( $wp_version, '4.7', '>=' ) )
997
+ $value = trim( sanitize_textarea_field( $value ) );
998
+ // _sanitize_text_fields
999
+ else {
1000
+ $value = wp_check_invalid_utf8( $value );
1001
+
1002
+ if ( strpos( $value, '<' ) !== false ) {
1003
+ $value = wp_pre_kses_less_than( $value );
1004
+
1005
+ // this will strip extra whitespace for us.
1006
+ $value = wp_strip_all_tags( $value, false );
1007
+
1008
+ // use html entities in a special case to make sure no later newline stripping stage could lead to a functional tag
1009
+ $value = str_replace( "<\n", "&lt;\n", $value );
1010
+ }
1011
+
1012
+ $value = trim( $value );
1013
+ $found = false;
1014
+
1015
+ while ( preg_match('/%[a-f0-9]{2}/i', $value, $match ) ) {
1016
+ $value = str_replace( $match[0], '', $value );
1017
+ $found = true;
1018
+ }
1019
+
1020
+ // strip out the whitespace that may now exist after removing the octets.
1021
+ if ( $found )
1022
+ $value = trim( preg_replace( '/ +/', ' ', $value ) );
1023
+ }
1024
  break;
1025
 
1026
  case 'color_picker':
1412
  'image_size' => 'large',
1413
  'thumbnail_size' => 'thumbnail',
1414
  'pagination_type' => 'paged',
1415
+ 'pagination_position' => 'bottom',
1416
+ 'orderby' => 'menu_order',
1417
+ 'order' => 'asc'
1418
  );
1419
 
1420
  $args = wp_parse_args( apply_filters( 'rl_get_gallery_images_args', $args, $gallery_id ), $defaults );
1424
  $args['posts_per_page'] = ! empty( $args['posts_per_page'] ) ? (int) $args['posts_per_page'] : -1;
1425
  $args['nopaging'] = (bool) ! empty( $args['nopaging'] );
1426
 
1427
+ // is it rl_gallery?
1428
+ if ( $valid_gallery_type = ( get_post_type( $gallery_id ) === 'rl_gallery' ) ) {
1429
+ $paging = get_post_meta( $gallery_id, '_rl_paging', true );
1430
 
1431
+ if ( isset( $paging['menu_item'] ) ) {
1432
+ $pagination = $paging[$paging['menu_item']];
1433
 
1434
+ if ( $pagination['pagination'] ) {
1435
+ $args['nopaging'] = false;
1436
+ $args['images_per_page'] = $pagination['images_per_page'];
1437
+ $args['pagination_type'] = $pagination['pagination_type'];
1438
 
1439
+ // infinite type?
1440
+ if ( $args['pagination_type'] === 'infinite' )
1441
+ $args['pagination_position'] = 'bottom';
1442
+ else
1443
+ $args['pagination_position'] = $pagination['pagination_position'];
1444
+ } else
1445
+ $args['nopaging'] = true;
1446
+ }
1447
  }
1448
 
1449
  // is it preview?
1456
  else
1457
  $args['page'] = (int) $args['page'];
1458
 
1459
+ // is it rl_gallery?
1460
+ if ( $valid_gallery_type ) {
1461
+ // get config metadata
1462
+ $config_meta = get_post_meta( $gallery_id, '_rl_config', true );
1463
+
1464
+ if ( isset( $config_meta['menu_item'] ) ) {
1465
+ $config = $config_meta[$config_meta['menu_item']];
1466
+
1467
+ $args['orderby'] = $config['orderby'];
1468
+ $args['order'] = $config['order'];
1469
+ }
1470
+
1471
  $data = get_post_meta( $gallery_id, '_rl_images', true );
1472
 
1473
  // already saved gallery?
1512
  }
1513
  }
1514
 
1515
+ // assign singleton instance
1516
+ $rl = Responsive_Lightbox();
1517
+
1518
+ switch ( $args['orderby'] ) {
1519
+ case 'id':
1520
+ $sort = array();
1521
+
1522
+ foreach ( $images as $key => $image ) {
1523
+ // set sorting value
1524
+ $sort[$key] = $image['id'];
1525
+ }
1526
+
1527
+ // sort
1528
+ array_multisort( $sort, $args['order'] === 'asc' ? SORT_ASC : SORT_DESC, SORT_NUMERIC, $images );
1529
+ break;
1530
+
1531
+ case 'title':
1532
+ $sort = array();
1533
+
1534
+ if ( $valid_gallery_type ) {
1535
+ // get lightbox data
1536
+ $lightbox_meta = get_post_meta( $gallery_id, '_rl_lightbox', true );
1537
+
1538
+ // valid data?
1539
+ if ( isset( $lightbox_meta['menu_item'] ) )
1540
+ $title_arg = $lightbox_meta[$lightbox_meta['menu_item']]['lightbox_image_title'];
1541
+ else
1542
+ $title_arg = $rl->options['settings']['gallery_image_title'];
1543
+ } else
1544
+ $title_arg = $rl->options['settings']['gallery_image_title'];
1545
+
1546
+ $images_copy = $images;
1547
+
1548
+ foreach ( $images_copy as $key => $image ) {
1549
+ if ( $title_arg === 'global' )
1550
+ $images[$key]['title'] = $rl->frontend->get_attachment_title( $image['id'], $rl->options['settings']['gallery_image_title'] );
1551
+ elseif ( $title_arg === 'default' )
1552
+ $images[$key]['title'] = '';
1553
+ else
1554
+ $images[$key]['title'] = $rl->frontend->get_attachment_title( $image['id'], $title_arg );
1555
+
1556
+ // set sorting value
1557
+ $sort[$key] = function_exists( 'mb_strtolower' ) ? mb_strtolower( $images[$key]['title'] ) : strtolower( $images[$key]['title'] );
1558
+ }
1559
+
1560
+ // sort
1561
+ array_multisort( $sort, $args['order'] === 'asc' ? SORT_ASC : SORT_DESC, SORT_STRING, $images );
1562
+ break;
1563
+
1564
+ case 'post_date':
1565
+ $sort = array();
1566
+
1567
+ foreach ( $images as $key => $image ) {
1568
+ // set sorting value
1569
+ $sort[$key] = $image['date'];
1570
+ }
1571
+
1572
+ // sort
1573
+ array_multisort( $sort, $args['order'] === 'asc' ? SORT_ASC : SORT_DESC, $images );
1574
+ break;
1575
+
1576
+ case 'menu_order':
1577
+ // do nothing
1578
+ break;
1579
+
1580
+ case 'rand':
1581
+ shuffle( $images );
1582
+ break;
1583
+ }
1584
+
1585
  $images = apply_filters( 'rl_get_gallery_images_array', $images, $gallery_id, $args );
1586
 
1587
  // save images count
1694
  $images = $this->get_gallery_images( $gallery_id, array( 'exclude' => true ) );
1695
 
1696
  // count attachments
1697
+ $images_count = (int) get_post_meta( $gallery_id, '_rl_images_count', true );
1698
 
1699
  if ( ! empty( $images ) ) {
1700
  foreach ( $images as $image ) {
1886
  /**
1887
  * Get attachment image.
1888
  *
1889
+ * @param int|string|array $image attachment_id, image url or array of image data
1890
  * @param string $image_size
1891
  * @param string $thumbnail_size
1892
  * @return array
1907
  $imagedata = array(
1908
  'id' => $image,
1909
  'link' => '',
1910
+ 'title' => get_the_title( $image ),
1911
+ 'date' => get_the_date( 'Y-m-d H:i:s', $image ),
1912
  'caption' => '',
1913
  'alt' => '',
1914
  'url' => $image_src[0],
1923
  } elseif ( is_string( $image ) ) {
1924
  $imagedata['url'] = $image;
1925
 
1926
+ @list( $imagedata['width'], $imagedata['height'] ) = rl_get_image_size_by_url( $imagedata['url'] );
1927
 
1928
  $imagedata = array(
1929
  'id' => 0,
1941
  } elseif ( is_array( $image ) ) {
1942
  // set width and height from url, if not available
1943
  if ( empty( $image['width'] ) || empty( $image['height'] ) )
1944
+ @list( $image['width'], $image['height'] ) = rl_get_image_size_by_url( $image['url'] );
1945
 
1946
  // set thumbnail data, if not available
1947
  if ( empty( $image['thumbnail_url'] ) ) {
1951
  } else {
1952
  // set thumbnail width and height from url, if not available
1953
  if ( empty( $image['thumbnail_width'] ) || empty( $image['thumbnail_height'] ) )
1954
+ @list( $image['thumbnail_width'], $image['thumbnail_height'] ) = rl_get_image_size_by_url( $image['thumbnail_url'] );
1955
  }
1956
 
1957
  /* adjust thumbnail size ?
2364
  global $pagenow;
2365
 
2366
  // prepare query arguments if needed
2367
+ if ( ( $pagenow === 'post.php' && ( ( isset( $_GET['post'] ) && get_post_type( $_GET['post'] ) === 'rl_gallery' ) || ( isset( $_POST['post_ID'] ) && get_post_type( $_POST['post_ID'] ) === 'rl_gallery' ) ) ) || ( $pagenow === 'post-new.php' && isset( $_GET['post_type'] ) && $_GET['post_type'] === 'rl_gallery' ) || ( $pagenow === 'edit.php' ) || ( $pagenow === 'admin-ajax.php' && isset( $_POST['action'] ) && ( $_POST['action'] === 'rl-get-preview-content' || $_POST['action'] === 'rl-post-gallery-preview' ) ) ) {
2368
  foreach ( array( 'post_type', 'post_status', 'post_format', 'post_term', 'post_author', 'page_parent', 'page_template' ) as $option ) {
2369
  $this->fields['images']['featured'][$option]['options'] = $this->prepare_query_args( $option );
2370
  }
2908
  case 'image':
2909
  // get image data, based on gallery source type
2910
  $image = $this->get_featured_image( $post_id, array( 60, 60 ) );
2911
+ $images_count = (int) get_post_meta( $post_id, '_rl_images_count', true );
2912
 
2913
  // display count
2914
  if ( ! empty( $image ) )
3097
  * Update preview link.
3098
  *
3099
  * @param string $link Preview link
 
3100
  * @return string
3101
  */
3102
+ public function preview_post_link( $link ) {
3103
  // add rl gallery revision ID
3104
+ if ( property_exists( $this, 'revision_id' ) && ! is_null( $this->revision_id ) ) {
3105
+ $post_id = wp_get_post_parent_id( $this->revision_id );
3106
+
3107
+ // is it valid rl_gallery post?
3108
+ if ( $post_id && get_post_type( $post_id ) === 'rl_gallery' )
3109
+ return add_query_arg( 'rl_gallery_revision_id', $this->revision_id, $link );
3110
+ }
3111
 
3112
  return $link;
3113
  }
3126
  $revision_id = (int) $_GET['rl_gallery_revision_id'];
3127
 
3128
  // is it a valid revision?
3129
+ if ( get_post_type( $post->ID ) === 'rl_gallery' && wp_is_post_revision( $revision_id ) === (int) $post->ID )
3130
  wp_delete_post_revision( $revision_id );
3131
  }
3132
  }
3133
 
3134
  /**
3135
+ * Filter gallery meta data needed for frontend gallery preview.
3136
  *
3137
  * @param mixed $value Meta value to filter
3138
  * @param int $object_id Object ID
3141
  * @return mixed
3142
  */
3143
  public function filter_preview_metadata( $value, $object_id, $meta_key, $single ) {
3144
+ // ignore other post types
3145
  if ( get_post_type( $object_id ) !== 'rl_gallery' )
3146
  return $value;
3147
 
3149
  $post = get_post();
3150
 
3151
  // prepare keys
3152
+ $keys = array( '_rl_featured_image_type', '_rl_featured_image', '_rl_images_count', '_thumbnail_id' );
3153
 
3154
+ // add other metakeys
3155
  foreach ( array_keys( $this->tabs ) as $key ) {
3156
  $keys[] = '_rl_' . $key;
3157
  }
3158
 
3159
+ // restrict only to specified data
3160
  if ( empty( $post ) || (int) $post->ID !== (int) $object_id || ! in_array( $meta_key, $keys, true ) || $post->post_type === 'revision' )
3161
  return $value;
3162
 
3163
+ // grab the last autosave
3164
  $preview = wp_get_post_autosave( $post->ID );
3165
 
3166
+ // invalid revision?
3167
  if ( ! is_object( $preview ) )
3168
  return $value;
3169
 
3170
+ // finally replace metadata
3171
  return array( get_post_meta( $preview->ID, $meta_key, $single ) );
3172
  }
3173
  }
includes/class-settings.php CHANGED
@@ -217,7 +217,7 @@ class Responsive_Lightbox_Settings {
217
  'section' => 'responsive_lightbox_settings',
218
  'type' => 'radio',
219
  'label' => '',
220
- 'description' => sprintf(__( 'Select your preffered ligthbox effect script or get our <a href="%s">premium extensions</a>.', 'responsive-lightbox' ), wp_nonce_url( add_query_arg( array( 'action' => 'rl-hide-notice' ), admin_url( 'admin.php?page=responsive-lightbox-addons' ) ), 'rl_action', 'rl_nonce' ) ),
221
  'options' => $scripts
222
  // 'options_cb' => '',
223
  // 'id' => '',
@@ -265,22 +265,22 @@ class Responsive_Lightbox_Settings {
265
  'title' => __( 'WordPress gallery', 'responsive-lightbox' ),
266
  'section' => 'responsive_lightbox_settings',
267
  'type' => 'radio',
268
- 'description' => __( 'Select your preffered default WordPress gallery style.', 'responsive-lightbox' ),
269
  'options' => $galleries
270
  ),
271
  'builder_gallery' => array(
272
  'title' => __( 'Builder gallery', 'responsive-lightbox' ),
273
  'section' => 'responsive_lightbox_settings',
274
  'type' => 'radio',
275
- 'description' => __( 'Select your preffered default builder gallery style.', 'responsive-lightbox' ),
276
  'options' => $builder_galleries
277
  ),
278
  'default_woocommerce_gallery' => array(
279
- 'title' => __( 'WooCommerce gallery', 'rl-justified-gallery' ),
280
  'section' => 'responsive_lightbox_settings',
281
  'type' => 'radio',
282
  'disabled' => ! class_exists( 'WooCommerce' ),
283
- 'description' => __( 'Select your preffered gallery style for WooCommerce product gallery.', 'responsive-lightbox' ),
284
  'options' => $galleries
285
  ),
286
  'gallery_image_size' => array(
@@ -745,21 +745,21 @@ class Responsive_Lightbox_Settings {
745
  'min' => 0,
746
  'max' => 6,
747
  'default' => 4,
748
- 'append' => __( 'large devices / desktops (1200px)', 'responsive-lightbox' )
749
  ),
750
  'columns_md' => array(
751
  'type' => 'number',
752
  'min' => 0,
753
  'max' => 6,
754
  'default' => 3,
755
- 'append' => __( 'medium devices / desktops (992px)', 'responsive-lightbox' )
756
  ),
757
  'columns_sm' => array(
758
  'type' => 'number',
759
  'min' => 0,
760
  'max' => 6,
761
  'default' => 2,
762
- 'append' => __( 'small devices / tablets (768px)', 'responsive-lightbox' )
763
  ),
764
  'columns_xs' => array(
765
  'type' => 'number',
217
  'section' => 'responsive_lightbox_settings',
218
  'type' => 'radio',
219
  'label' => '',
220
+ 'description' => sprintf(__( 'Select your preferred ligthbox effect script or get our <a href="%s">premium extensions</a>.', 'responsive-lightbox' ), wp_nonce_url( add_query_arg( array( 'action' => 'rl-hide-notice' ), admin_url( 'admin.php?page=responsive-lightbox-addons' ) ), 'rl_action', 'rl_nonce' ) ),
221
  'options' => $scripts
222
  // 'options_cb' => '',
223
  // 'id' => '',
265
  'title' => __( 'WordPress gallery', 'responsive-lightbox' ),
266
  'section' => 'responsive_lightbox_settings',
267
  'type' => 'radio',
268
+ 'description' => __( 'Select your preferred default WordPress gallery style.', 'responsive-lightbox' ),
269
  'options' => $galleries
270
  ),
271
  'builder_gallery' => array(
272
  'title' => __( 'Builder gallery', 'responsive-lightbox' ),
273
  'section' => 'responsive_lightbox_settings',
274
  'type' => 'radio',
275
+ 'description' => __( 'Select your preferred default builder gallery style.', 'responsive-lightbox' ),
276
  'options' => $builder_galleries
277
  ),
278
  'default_woocommerce_gallery' => array(
279
+ 'title' => __( 'WooCommerce gallery', 'responsive-lightbox' ),
280
  'section' => 'responsive_lightbox_settings',
281
  'type' => 'radio',
282
  'disabled' => ! class_exists( 'WooCommerce' ),
283
+ 'description' => __( 'Select your preferred gallery style for WooCommerce product gallery.', 'responsive-lightbox' ),
284
  'options' => $galleries
285
  ),
286
  'gallery_image_size' => array(
745
  'min' => 0,
746
  'max' => 6,
747
  'default' => 4,
748
+ 'append' => __( 'large devices / desktops (?1200px)', 'responsive-lightbox' )
749
  ),
750
  'columns_md' => array(
751
  'type' => 'number',
752
  'min' => 0,
753
  'max' => 6,
754
  'default' => 3,
755
+ 'append' => __( 'medium devices / desktops (?992px)', 'responsive-lightbox' )
756
  ),
757
  'columns_sm' => array(
758
  'type' => 'number',
759
  'min' => 0,
760
  'max' => 6,
761
  'default' => 2,
762
+ 'append' => __( 'small devices / tablets (?768px)', 'responsive-lightbox' )
763
  ),
764
  'columns_xs' => array(
765
  'type' => 'number',
includes/functions.php CHANGED
@@ -1,13 +1,10 @@
1
  <?php
2
-
3
  /**
4
  * Responsive Lightbox public functions
5
  *
6
  * Functions available for users and developers. May not be replaced.
7
  *
8
- * @author Digital Factory
9
- * @package Responsive Lightbox/Functions
10
- * @version
11
  */
12
  if ( ! defined( 'ABSPATH' ) )
13
  exit;
@@ -89,6 +86,26 @@ function rl_add_lightbox( $content ) {
89
  return Responsive_Lightbox()->frontend->add_lightbox( $content );
90
  }
91
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  /**
93
  * Check whether lightbox supports specified type.
94
  *
@@ -106,4 +123,4 @@ function rl_current_lightbox_supports( $type = '' ) {
106
  return $scripts[$script]['supports'];
107
 
108
  return false;
109
- }
1
  <?php
 
2
  /**
3
  * Responsive Lightbox public functions
4
  *
5
  * Functions available for users and developers. May not be replaced.
6
  *
7
+ * @since 2.0
 
 
8
  */
9
  if ( ! defined( 'ABSPATH' ) )
10
  exit;
86
  return Responsive_Lightbox()->frontend->add_lightbox( $content );
87
  }
88
 
89
+ /**
90
+ * Get attachment id by url.
91
+ *
92
+ * @param string $url
93
+ * @return int
94
+ */
95
+ function rl_get_attachment_id_by_url( $url ) {
96
+ return Responsive_Lightbox()->frontend->get_attachment_id_by_url( $url );
97
+ }
98
+
99
+ /**
100
+ * Get image size by url.
101
+ *
102
+ * @param string $url Image url
103
+ * @return string
104
+ */
105
+ function rl_get_image_size_by_url( $url ) {
106
+ return Responsive_Lightbox()->frontend->get_image_size_by_url( $url );
107
+ }
108
+
109
  /**
110
  * Check whether lightbox supports specified type.
111
  *
123
  return $scripts[$script]['supports'];
124
 
125
  return false;
126
+ }
languages/responsive-lightbox.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Responsive Lightbox\n"
5
- "POT-Creation-Date: 2018-05-07 12:03+0200\n"
6
  "PO-Revision-Date: 2015-05-12 12:06+0100\n"
7
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
8
  "Language-Team: dFactory <info@dfactory.eu>\n"
@@ -16,706 +16,706 @@ msgstr ""
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: ..\n"
18
 
19
- #: ../includes/class-frontend.php:547 ../includes/class-widgets.php:464
20
  msgid "Size"
21
  msgstr ""
22
 
23
- #: ../includes/class-frontend.php:549
24
  msgid "Specify the image size to use for the thumbnail display."
25
  msgstr ""
26
 
27
- #: ../includes/class-frontend.php:554
28
  msgid "Link To"
29
  msgstr ""
30
 
31
- #: ../includes/class-frontend.php:556
32
  msgid "Specify where you want the image to link."
33
  msgstr ""
34
 
35
- #: ../includes/class-frontend.php:559 ../includes/class-widgets.php:330
36
  msgid "Attachment Page"
37
  msgstr ""
38
 
39
- #: ../includes/class-frontend.php:560 ../includes/class-widgets.php:329
40
  msgid "Media File"
41
  msgstr ""
42
 
43
- #: ../includes/class-frontend.php:561 ../includes/class-galleries.php:120
44
  #: ../includes/class-settings.php:150 ../includes/class-settings.php:545
45
  #: ../includes/class-settings.php:604 ../includes/class-widgets.php:81
46
  #: ../includes/class-widgets.php:328 ../includes/class-widgets.php:335
47
  msgid "None"
48
  msgstr ""
49
 
50
- #: ../includes/class-frontend.php:565
51
  msgid "Orderby"
52
  msgstr ""
53
 
54
- #: ../includes/class-frontend.php:567
55
  msgid "Specify how to sort the display thumbnails."
56
  msgstr ""
57
 
58
- #: ../includes/class-frontend.php:570 ../includes/class-galleries.php:158
59
  #: ../includes/class-widgets.php:67
60
  msgid "ID"
61
  msgstr ""
62
 
63
- #: ../includes/class-frontend.php:571 ../includes/class-galleries.php:160
64
  #: ../includes/class-widgets.php:65 ../includes/class-widgets.php:121
65
  #: ../includes/class-widgets.php:445
66
  msgid "Title"
67
  msgstr ""
68
 
69
- #: ../includes/class-frontend.php:572 ../includes/class-galleries.php:162
70
  msgid "Date"
71
  msgstr ""
72
 
73
- #: ../includes/class-frontend.php:573
74
  msgid "Menu Order"
75
  msgstr ""
76
 
77
- #: ../includes/class-frontend.php:574 ../includes/class-galleries.php:165
78
  #: ../includes/class-widgets.php:68
79
  msgid "Random"
80
  msgstr ""
81
 
82
- #: ../includes/class-frontend.php:578 ../includes/class-widgets.php:180
83
  msgid "Order"
84
  msgstr ""
85
 
86
- #: ../includes/class-frontend.php:580
87
  msgid "Specify the sort order."
88
  msgstr ""
89
 
90
- #: ../includes/class-frontend.php:583 ../includes/class-galleries.php:174
91
  #: ../includes/class-widgets.php:72
92
  msgid "Ascending"
93
  msgstr ""
94
 
95
- #: ../includes/class-frontend.php:584 ../includes/class-galleries.php:175
96
  #: ../includes/class-widgets.php:73
97
  msgid "Descending"
98
  msgstr ""
99
 
100
- #: ../includes/class-frontend.php:588
101
  msgid "Columns"
102
  msgstr ""
103
 
104
- #: ../includes/class-frontend.php:590
105
  msgid "Specify the number of columns."
106
  msgstr ""
107
 
108
- #: ../includes/class-galleries.php:73 ../includes/class-galleries.php:2498
109
  msgid "Status"
110
  msgstr ""
111
 
112
- #: ../includes/class-galleries.php:73
113
  msgid "Edit image"
114
  msgstr ""
115
 
116
- #: ../includes/class-galleries.php:73 ../responsive-lightbox.php:888
117
  msgid "Remove image"
118
  msgstr ""
119
 
120
- #: ../includes/class-galleries.php:76 ../includes/class-galleries.php:116
121
- #: ../includes/class-galleries.php:261 ../includes/class-galleries.php:268
122
- #: ../includes/class-galleries.php:422 ../includes/class-galleries.php:429
123
  msgid "Global"
124
  msgstr ""
125
 
126
- #: ../includes/class-galleries.php:80 ../includes/class-settings.php:233
127
  msgid "Images"
128
  msgstr ""
129
 
130
- #: ../includes/class-galleries.php:81
131
  msgid "The settings below adjust the contents of the gallery."
132
  msgstr ""
133
 
134
- #: ../includes/class-galleries.php:83 ../includes/class-galleries.php:2903
135
  msgid "Media Library"
136
  msgstr ""
137
 
138
- #: ../includes/class-galleries.php:84
139
  msgid "Featured Content"
140
  msgstr ""
141
 
142
- #: ../includes/class-galleries.php:88
143
  msgid "Config"
144
  msgstr ""
145
 
146
- #: ../includes/class-galleries.php:89
147
  msgid "The settings below adjust the configuration options for the gallery."
148
  msgstr ""
149
 
150
- #: ../includes/class-galleries.php:93
151
  msgid "Design"
152
  msgstr ""
153
 
154
- #: ../includes/class-galleries.php:94
155
  msgid "The settings below adjust the gallery design options."
156
  msgstr ""
157
 
158
- #: ../includes/class-galleries.php:97
159
  msgid "Paging"
160
  msgstr ""
161
 
162
- #: ../includes/class-galleries.php:98
163
  msgid "The settings below adjust the gallery pagination options."
164
  msgstr ""
165
 
166
- #: ../includes/class-galleries.php:101 ../includes/class-settings.php:1693
167
  msgid "Lightbox"
168
  msgstr ""
169
 
170
- #: ../includes/class-galleries.php:102
171
  msgid "The settings below adjust the lightbox options."
172
  msgstr ""
173
 
174
- #: ../includes/class-galleries.php:105
175
  msgid "Misc"
176
  msgstr ""
177
 
178
- #: ../includes/class-galleries.php:106
179
  msgid "The settings below adjust miscellaneous options."
180
  msgstr ""
181
 
182
- #: ../includes/class-galleries.php:115
183
  msgid "Full size"
184
  msgstr ""
185
 
186
- #: ../includes/class-galleries.php:117 ../includes/class-galleries.php:401
187
  msgid "Custom size"
188
  msgstr ""
189
 
190
- #: ../includes/class-galleries.php:121
191
  msgid "Top"
192
  msgstr ""
193
 
194
- #: ../includes/class-galleries.php:122
195
  msgid "Bottom"
196
  msgstr ""
197
 
198
- #: ../includes/class-galleries.php:146
199
  msgid "Number of Posts"
200
  msgstr ""
201
 
202
- #: ../includes/class-galleries.php:148
203
  msgid "Enter the number of posts."
204
  msgstr ""
205
 
206
- #: ../includes/class-galleries.php:153
207
  msgid "Posts Sorting"
208
  msgstr ""
209
 
210
- #: ../includes/class-galleries.php:155
211
  msgid "Select the posts sorting."
212
  msgstr ""
213
 
214
- #: ../includes/class-galleries.php:159
215
  msgid "Author"
216
  msgstr ""
217
 
218
- #: ../includes/class-galleries.php:161
219
  msgid "Slug"
220
  msgstr ""
221
 
222
- #: ../includes/class-galleries.php:163
223
  msgid "Last modified date"
224
  msgstr ""
225
 
226
- #: ../includes/class-galleries.php:164
227
  msgid "Parent ID"
228
  msgstr ""
229
 
230
- #: ../includes/class-galleries.php:169
231
  msgid "Posts Order"
232
  msgstr ""
233
 
234
- #: ../includes/class-galleries.php:171
235
  msgid "Select the posts order."
236
  msgstr ""
237
 
238
- #: ../includes/class-galleries.php:179
239
  msgid "Posts Offset"
240
  msgstr ""
241
 
242
- #: ../includes/class-galleries.php:181
243
  msgid "Enter the posts offset."
244
  msgstr ""
245
 
246
- #: ../includes/class-galleries.php:186
247
  msgid "Image Source"
248
  msgstr ""
249
 
250
- #: ../includes/class-galleries.php:188
251
  msgid "Select the image source."
252
  msgstr ""
253
 
254
- #: ../includes/class-galleries.php:191
255
  msgid "Post Thumbnails"
256
  msgstr ""
257
 
258
- #: ../includes/class-galleries.php:192
259
  msgid "Post Attached Images"
260
  msgstr ""
261
 
262
- #: ../includes/class-galleries.php:196
263
  msgid "Images per Post"
264
  msgstr ""
265
 
266
- #: ../includes/class-galleries.php:198
267
  msgid "Enter maximum number of images for a post."
268
  msgstr ""
269
 
270
- #: ../includes/class-galleries.php:203
271
  msgid "Post Type"
272
  msgstr ""
273
 
274
- #: ../includes/class-galleries.php:205
275
  msgid "Select the post types to query."
276
  msgstr ""
277
 
278
- #: ../includes/class-galleries.php:210
279
  msgid "Post Status"
280
  msgstr ""
281
 
282
- #: ../includes/class-galleries.php:212
283
  msgid "Select the post status."
284
  msgstr ""
285
 
286
- #: ../includes/class-galleries.php:217
287
  msgid "Post Format"
288
  msgstr ""
289
 
290
- #: ../includes/class-galleries.php:219
291
  msgid "Select the post format."
292
  msgstr ""
293
 
294
- #: ../includes/class-galleries.php:224
295
  msgid "Post Term"
296
  msgstr ""
297
 
298
- #: ../includes/class-galleries.php:226
299
  msgid "Select the post taxonomy terms to query."
300
  msgstr ""
301
 
302
- #: ../includes/class-galleries.php:231
303
  msgid "Post Author"
304
  msgstr ""
305
 
306
- #: ../includes/class-galleries.php:233
307
  msgid "Select the post author."
308
  msgstr ""
309
 
310
- #: ../includes/class-galleries.php:238
311
  msgid "Page Parent"
312
  msgstr ""
313
 
314
- #: ../includes/class-galleries.php:240
315
  msgid "Select the post parent."
316
  msgstr ""
317
 
318
- #: ../includes/class-galleries.php:245
319
  msgid "Page Template"
320
  msgstr ""
321
 
322
- #: ../includes/class-galleries.php:247
323
  msgid "Select the page template."
324
  msgstr ""
325
 
326
- #: ../includes/class-galleries.php:257
327
  msgid "Thumbnail title"
328
  msgstr ""
329
 
330
- #: ../includes/class-galleries.php:259
331
  msgid "Select title for the gallery thumbnails."
332
  msgstr ""
333
 
334
- #: ../includes/class-galleries.php:264
335
  msgid "Thumbnail caption"
336
  msgstr ""
337
 
338
- #: ../includes/class-galleries.php:266
339
  msgid "Select caption for the gallery thumbnails."
340
  msgstr ""
341
 
342
- #: ../includes/class-galleries.php:271
343
  msgid "Thumbnail icon"
344
  msgstr ""
345
 
346
- #: ../includes/class-galleries.php:273
347
  msgid "Select icon for the gallery thumbnails."
348
  msgstr ""
349
 
350
- #: ../includes/class-galleries.php:278
351
  msgid "Hover effect"
352
  msgstr ""
353
 
354
- #: ../includes/class-galleries.php:280
355
  msgid "Select thumbnail effect on hover."
356
  msgstr ""
357
 
358
- #: ../includes/class-galleries.php:283 ../includes/class-settings.php:100
359
  #: ../includes/class-settings.php:158
360
  msgid "none"
361
  msgstr ""
362
 
363
- #: ../includes/class-galleries.php:284 ../includes/class-galleries.php:285
364
  #: ../includes/class-galleries.php:286 ../includes/class-galleries.php:287
365
  #: ../includes/class-galleries.php:288 ../includes/class-galleries.php:289
366
  #: ../includes/class-galleries.php:290 ../includes/class-galleries.php:291
367
- #: ../includes/class-galleries.php:292
 
368
  #, php-format
369
  msgid "Effect %s"
370
  msgstr ""
371
 
372
- #: ../includes/class-galleries.php:296
373
  msgid "Title Color"
374
  msgstr ""
375
 
376
- #: ../includes/class-galleries.php:301
377
  msgid "Caption Color"
378
  msgstr ""
379
 
380
- #: ../includes/class-galleries.php:306
381
  msgid "Background Color"
382
  msgstr ""
383
 
384
- #: ../includes/class-galleries.php:311
385
  msgid "Background Opacity"
386
  msgstr ""
387
 
388
- #: ../includes/class-galleries.php:320
389
  msgid "Border Color"
390
  msgstr ""
391
 
392
- #: ../includes/class-galleries.php:325
393
  msgid "Border Width"
394
  msgstr ""
395
 
396
- #: ../includes/class-galleries.php:338
397
  msgid "Use pagination"
398
  msgstr ""
399
 
400
- #: ../includes/class-galleries.php:340
401
  msgid "Enable pagination."
402
  msgstr ""
403
 
404
- #: ../includes/class-galleries.php:344
405
  msgid "Pagination type"
406
  msgstr ""
407
 
408
- #: ../includes/class-galleries.php:346
409
  msgid "Select pagination type."
410
  msgstr ""
411
 
412
- #: ../includes/class-galleries.php:349
413
  msgid "standard"
414
  msgstr ""
415
 
416
- #: ../includes/class-galleries.php:350
417
  msgid "AJAX"
418
  msgstr ""
419
 
420
- #: ../includes/class-galleries.php:351
421
  msgid "infinite scroll"
422
  msgstr ""
423
 
424
- #: ../includes/class-galleries.php:355
425
  msgid "Pagination position"
426
  msgstr ""
427
 
428
- #: ../includes/class-galleries.php:357
429
  msgid "Select pagination position."
430
  msgstr ""
431
 
432
- #: ../includes/class-galleries.php:360
433
  msgid "bottom"
434
  msgstr ""
435
 
436
- #: ../includes/class-galleries.php:361
437
  msgid "top"
438
  msgstr ""
439
 
440
- #: ../includes/class-galleries.php:362
441
  msgid "top & bottom"
442
  msgstr ""
443
 
444
- #: ../includes/class-galleries.php:366
445
  msgid "Images per page"
446
  msgstr ""
447
 
448
- #: ../includes/class-galleries.php:368
449
  msgid "Number of images per page."
450
  msgstr ""
451
 
452
- #: ../includes/class-galleries.php:374
453
  msgid "Load More"
454
  msgstr ""
455
 
456
- #: ../includes/class-galleries.php:376
457
  msgid "Select the load more trigger (infinite scroll only)."
458
  msgstr ""
459
 
460
- #: ../includes/class-galleries.php:379
461
  msgid "Automatically"
462
  msgstr ""
463
 
464
- #: ../includes/class-galleries.php:380
465
  msgid "On click"
466
  msgstr ""
467
 
468
- #: ../includes/class-galleries.php:388
469
  msgid "Enable Lightbox"
470
  msgstr ""
471
 
472
- #: ../includes/class-galleries.php:390
473
  msgid "Enable lightbox effect for the gallery."
474
  msgstr ""
475
 
476
- #: ../includes/class-galleries.php:394
477
  msgid "Image Size"
478
  msgstr ""
479
 
480
- #: ../includes/class-galleries.php:396
481
  msgid "Select image size for gallery lightbox."
482
  msgstr ""
483
 
484
- #: ../includes/class-galleries.php:403
485
  msgid ""
486
  "Choose the custom image size for gallery lightbox (used if Custom Image size "
487
  "is selected)."
488
  msgstr ""
489
 
490
- #: ../includes/class-galleries.php:407
491
  msgid "width in px"
492
  msgstr ""
493
 
494
- #: ../includes/class-galleries.php:412
495
  msgid "height in px"
496
  msgstr ""
497
 
498
- #: ../includes/class-galleries.php:418 ../includes/class-settings.php:151
499
  msgid "Image Title"
500
  msgstr ""
501
 
502
- #: ../includes/class-galleries.php:420
503
  msgid "Select image title for gallery lightbox."
504
  msgstr ""
505
 
506
- #: ../includes/class-galleries.php:425 ../includes/class-settings.php:152
507
  msgid "Image Caption"
508
  msgstr ""
509
 
510
- #: ../includes/class-galleries.php:427
511
  msgid ""
512
  "Select image caption for gallery lightbox (used if supported by selected "
513
  "lightbox effect)."
514
  msgstr ""
515
 
516
- #: ../includes/class-galleries.php:436
517
  msgid "Title Position"
518
  msgstr ""
519
 
520
- #: ../includes/class-galleries.php:438
521
  msgid "Select where to display the title."
522
  msgstr ""
523
 
524
- #: ../includes/class-galleries.php:443
525
  msgid "Description Position"
526
  msgstr ""
527
 
528
- #: ../includes/class-galleries.php:445
529
  msgid "Select where to display the description."
530
  msgstr ""
531
 
532
- #: ../includes/class-galleries.php:450
533
  msgid "Gallery Description"
534
  msgstr ""
535
 
536
- #: ../includes/class-galleries.php:452
537
  msgid "Enter the gallery description (optional)."
538
  msgstr ""
539
 
540
- #: ../includes/class-galleries.php:457
541
  msgid "Custom Classes"
542
  msgstr ""
543
 
544
- #: ../includes/class-galleries.php:459
545
  msgid "Add custom, space saparated CSS classes (optional)."
546
  msgstr ""
547
 
548
- #: ../includes/class-galleries.php:611
549
  msgid "Add Gallery"
550
  msgstr ""
551
 
552
- #: ../includes/class-galleries.php:629 ../includes/class-tour.php:207
553
  msgid "Close"
554
  msgstr ""
555
 
556
- #: ../includes/class-galleries.php:633
557
  msgid "Insert Gallery"
558
  msgstr ""
559
 
560
- #: ../includes/class-galleries.php:633
561
  msgid "Reload"
562
  msgstr ""
563
 
564
- #: ../includes/class-galleries.php:639
565
  msgid "Search galleries"
566
  msgstr ""
567
 
568
- #: ../includes/class-galleries.php:645
569
  msgid "Select A Gallery"
570
  msgstr ""
571
 
572
- #: ../includes/class-galleries.php:646
573
  msgid "To select a gallery simply click on one of the boxes to the left."
574
  msgstr ""
575
 
576
- #: ../includes/class-galleries.php:647
577
  msgid ""
578
  "To insert your gallery into the editor, click on the \"Insert Gallery\" "
579
  "button below."
580
  msgstr ""
581
 
582
- #: ../includes/class-galleries.php:657
583
  msgid "Edit gallery"
584
  msgstr ""
585
 
586
- #: ../includes/class-galleries.php:667
587
  msgid "Insert into post"
588
  msgstr ""
589
 
590
- #: ../includes/class-galleries.php:668
591
  msgid "Cancel"
592
  msgstr ""
593
 
594
- #: ../includes/class-galleries.php:835 ../includes/class-widgets.php:128
595
- #: ../responsive-lightbox.php:859 ../responsive-lightbox.php:889
596
  msgid "Select images"
597
  msgstr ""
598
 
599
- #: ../includes/class-galleries.php:871
600
  msgid "Update preview"
601
  msgstr ""
602
 
603
- #: ../includes/class-galleries.php:1205
604
  #, php-format
605
  msgid "Gallery %s"
606
  msgstr ""
607
 
608
- #: ../includes/class-galleries.php:1209
609
  msgid "Gallery Code"
610
  msgstr ""
611
 
612
- #: ../includes/class-galleries.php:1328
613
  msgid "No data"
614
  msgstr ""
615
 
616
- #: ../includes/class-galleries.php:1529
617
  msgid "&laquo; Previous"
618
  msgstr ""
619
 
620
- #: ../includes/class-galleries.php:1530
621
  msgid "Next &raquo;"
622
  msgstr ""
623
 
624
- #: ../includes/class-galleries.php:1640
625
  msgid "(no title)"
626
  msgstr ""
627
 
628
- #: ../includes/class-galleries.php:1654
629
  msgid "Deselect"
630
  msgstr ""
631
 
632
- #: ../includes/class-galleries.php:2415
633
  msgid "Untitled"
634
  msgstr ""
635
 
636
- #: ../includes/class-galleries.php:2490
637
  msgid "Aside"
638
  msgstr ""
639
 
640
- #: ../includes/class-galleries.php:2491
641
  msgid "Audio"
642
  msgstr ""
643
 
644
- #: ../includes/class-galleries.php:2492
645
  msgid "Chat"
646
  msgstr ""
647
 
648
- #: ../includes/class-galleries.php:2493 ../includes/class-galleries.php:2768
649
  #: ../includes/class-widgets.php:45 ../includes/class-widgets.php:53
650
- #: ../responsive-lightbox.php:727
651
  msgid "Gallery"
652
  msgstr ""
653
 
654
- #: ../includes/class-galleries.php:2494
655
  msgid "Link"
656
  msgstr ""
657
 
658
- #: ../includes/class-galleries.php:2495
659
  msgid "Photo"
660
  msgstr ""
661
 
662
- #: ../includes/class-galleries.php:2496
663
  msgid "Quote"
664
  msgstr ""
665
 
666
- #: ../includes/class-galleries.php:2497
667
  msgid "Standard"
668
  msgstr ""
669
 
670
- #: ../includes/class-galleries.php:2499
671
  msgid "Video"
672
  msgstr ""
673
 
674
- #: ../includes/class-galleries.php:2576
675
  msgid "Default Template"
676
  msgstr ""
677
 
678
- #: ../includes/class-galleries.php:2751
679
  msgid ""
680
  "You can place this gallery anywhere into your posts, pages, custom post "
681
  "types or widgets by using the shortcode below"
682
  msgstr ""
683
 
684
- #: ../includes/class-galleries.php:2753
685
  msgid ""
686
  "You can also place this gallery into your template files by using the "
687
  "template tag below"
688
  msgstr ""
689
 
690
- #: ../includes/class-galleries.php:2777
691
  msgid "Shortcode"
692
  msgstr ""
693
 
694
- #: ../includes/class-galleries.php:2778
695
  msgid "Type"
696
  msgstr ""
697
 
698
- #: ../includes/class-galleries.php:2779
699
  msgid "Source"
700
  msgstr ""
701
 
702
- #: ../includes/class-galleries.php:2901
703
  msgid "Select gallery featured image source:"
704
  msgstr ""
705
 
706
- #: ../includes/class-galleries.php:2902
707
  msgid "First gallery image"
708
  msgstr ""
709
 
710
- #: ../includes/class-galleries.php:2904 ../includes/class-widgets.php:331
711
  msgid "Custom URL"
712
  msgstr ""
713
 
714
- #: ../includes/class-galleries.php:2910
715
  msgid "Custom featured image URL"
716
  msgstr ""
717
 
718
- #: ../includes/class-galleries.php:2912
719
  msgid "Dynamically generated first gallery image"
720
  msgstr ""
721
 
@@ -935,7 +935,7 @@ msgstr ""
935
  #: ../includes/class-settings.php:220
936
  #, php-format
937
  msgid ""
938
- "Select your preffered ligthbox effect script or get our <a href=\"%s"
939
  "\">premium extensions</a>."
940
  msgstr ""
941
 
@@ -990,7 +990,7 @@ msgid "WordPress gallery"
990
  msgstr ""
991
 
992
  #: ../includes/class-settings.php:268
993
- msgid "Select your preffered default WordPress gallery style."
994
  msgstr ""
995
 
996
  #: ../includes/class-settings.php:272
@@ -998,7 +998,7 @@ msgid "Builder gallery"
998
  msgstr ""
999
 
1000
  #: ../includes/class-settings.php:275
1001
- msgid "Select your preffered default builder gallery style."
1002
  msgstr ""
1003
 
1004
  #: ../includes/class-settings.php:279
@@ -1006,7 +1006,7 @@ msgid "WooCommerce gallery"
1006
  msgstr ""
1007
 
1008
  #: ../includes/class-settings.php:283
1009
- msgid "Select your preffered gallery style for WooCommerce product gallery."
1010
  msgstr ""
1011
 
1012
  #: ../includes/class-settings.php:287
@@ -1127,7 +1127,7 @@ msgstr ""
1127
  msgid "Enable advanced gallery builder."
1128
  msgstr ""
1129
 
1130
- #: ../includes/class-settings.php:391 ../responsive-lightbox.php:661
1131
  msgid "Categories"
1132
  msgstr ""
1133
 
@@ -1139,7 +1139,7 @@ msgstr ""
1139
  msgid "Enable if you want to use Gallery Categories."
1140
  msgstr ""
1141
 
1142
- #: ../includes/class-settings.php:398 ../responsive-lightbox.php:696
1143
  msgid "Tags"
1144
  msgstr ""
1145
 
@@ -1491,15 +1491,15 @@ msgid "Basic Masonry Gallery settings"
1491
  msgstr ""
1492
 
1493
  #: ../includes/class-settings.php:748
1494
- msgid "large devices / desktops (1200px)"
1495
  msgstr ""
1496
 
1497
  #: ../includes/class-settings.php:755
1498
- msgid "medium devices / desktops (992px)"
1499
  msgstr ""
1500
 
1501
  #: ../includes/class-settings.php:762
1502
- msgid "small devices / tablets (768px)"
1503
  msgstr ""
1504
 
1505
  #: ../includes/class-settings.php:777
@@ -1550,15 +1550,15 @@ msgstr ""
1550
  msgid "Lightboxes"
1551
  msgstr ""
1552
 
1553
- #: ../includes/class-settings.php:821 ../responsive-lightbox.php:426
1554
  msgid "Basic Grid"
1555
  msgstr ""
1556
 
1557
- #: ../includes/class-settings.php:827 ../responsive-lightbox.php:427
1558
  msgid "Basic Slider"
1559
  msgstr ""
1560
 
1561
- #: ../includes/class-settings.php:833 ../responsive-lightbox.php:428
1562
  msgid "Basic Masonry"
1563
  msgstr ""
1564
 
@@ -1571,7 +1571,7 @@ msgid "Licenses"
1571
  msgstr ""
1572
 
1573
  #: ../includes/class-settings.php:921 ../includes/class-tour.php:184
1574
- #: ../responsive-lightbox.php:622
1575
  msgid "Add-ons"
1576
  msgstr ""
1577
 
@@ -2474,7 +2474,7 @@ msgid ""
2474
  "lightbox plugin and a powerful gallery builder for WordPress."
2475
  msgstr ""
2476
 
2477
- #: ../includes/class-welcome.php:61 ../responsive-lightbox.php:619
2478
  msgid "Settings"
2479
  msgstr ""
2480
 
@@ -2482,7 +2482,7 @@ msgstr ""
2482
  msgid "Documentation"
2483
  msgstr ""
2484
 
2485
- #: ../includes/class-welcome.php:63 ../responsive-lightbox.php:596
2486
  msgid "Support"
2487
  msgstr ""
2488
 
@@ -2556,7 +2556,7 @@ msgstr ""
2556
  msgid "Image date"
2557
  msgstr ""
2558
 
2559
- #: ../includes/class-widgets.php:82 ../responsive-lightbox.php:425
2560
  msgid "Default"
2561
  msgstr ""
2562
 
@@ -2620,7 +2620,7 @@ msgstr ""
2620
  msgid "Justify"
2621
  msgstr ""
2622
 
2623
- #: ../includes/class-widgets.php:450 ../responsive-lightbox.php:890
2624
  msgid "Select image"
2625
  msgstr ""
2626
 
@@ -2656,29 +2656,29 @@ msgstr ""
2656
  msgid "Text align"
2657
  msgstr ""
2658
 
2659
- #: ../responsive-lightbox.php:475
2660
  #, php-format
2661
  msgid ""
2662
  "Hey, you've been using <strong>Responsive Lightbox & Gallery</strong> for "
2663
  "more than %s"
2664
  msgstr ""
2665
 
2666
- #: ../responsive-lightbox.php:475
2667
  msgid ""
2668
  "Could you please do me a BIG favor and give it a 5-star rating on WordPress "
2669
  "to help us spread the word and boost our motivation."
2670
  msgstr ""
2671
 
2672
- #: ../responsive-lightbox.php:475
2673
  msgid "Your help is much appreciated. Thank you very much"
2674
  msgstr ""
2675
 
2676
- #: ../responsive-lightbox.php:475
2677
  #, php-format
2678
  msgid "founder of <a href=\"%s\" target=\"_blank\">dFactory</a> plugins."
2679
  msgstr ""
2680
 
2681
- #: ../responsive-lightbox.php:475
2682
  #, php-format
2683
  msgid ""
2684
  "<a href=\"%s\" class=\"rl-dismissible-notice\" target=\"_blank\" rel="
@@ -2688,188 +2688,188 @@ msgid ""
2688
  "\" rel=\"noopener\">I already did</a>"
2689
  msgstr ""
2690
 
2691
- #: ../responsive-lightbox.php:652
2692
  msgid "Search Gallery Categories"
2693
  msgstr ""
2694
 
2695
- #: ../responsive-lightbox.php:653
2696
  msgid "All Gallery Categories"
2697
  msgstr ""
2698
 
2699
- #: ../responsive-lightbox.php:654
2700
  msgid "Parent Gallery Category"
2701
  msgstr ""
2702
 
2703
- #: ../responsive-lightbox.php:655
2704
  msgid "Parent Gallery Category:"
2705
  msgstr ""
2706
 
2707
- #: ../responsive-lightbox.php:656
2708
  msgid "Edit Gallery Category"
2709
  msgstr ""
2710
 
2711
- #: ../responsive-lightbox.php:657
2712
  msgid "View Gallery Category"
2713
  msgstr ""
2714
 
2715
- #: ../responsive-lightbox.php:658
2716
  msgid "Update Gallery Category"
2717
  msgstr ""
2718
 
2719
- #: ../responsive-lightbox.php:659
2720
  msgid "Add New Gallery Category"
2721
  msgstr ""
2722
 
2723
- #: ../responsive-lightbox.php:660
2724
  msgid "New Gallery Category Name"
2725
  msgstr ""
2726
 
2727
- #: ../responsive-lightbox.php:684
2728
  msgid "Search Gallery Tags"
2729
  msgstr ""
2730
 
2731
- #: ../responsive-lightbox.php:685
2732
  msgid "Popular Gallery Tags"
2733
  msgstr ""
2734
 
2735
- #: ../responsive-lightbox.php:686
2736
  msgid "All Gallery Tags"
2737
  msgstr ""
2738
 
2739
- #: ../responsive-lightbox.php:689
2740
  msgid "Edit Gallery Tag"
2741
  msgstr ""
2742
 
2743
- #: ../responsive-lightbox.php:690
2744
  msgid "Update Gallery Tag"
2745
  msgstr ""
2746
 
2747
- #: ../responsive-lightbox.php:691
2748
  msgid "Add New Gallery Tag"
2749
  msgstr ""
2750
 
2751
- #: ../responsive-lightbox.php:692
2752
  msgid "New Gallery Tag Name"
2753
  msgstr ""
2754
 
2755
- #: ../responsive-lightbox.php:693
2756
  msgid "Separate gallery tags with commas"
2757
  msgstr ""
2758
 
2759
- #: ../responsive-lightbox.php:694
2760
  msgid "Add or remove gallery tags"
2761
  msgstr ""
2762
 
2763
- #: ../responsive-lightbox.php:695
2764
  msgid "Choose from the most used gallery tags"
2765
  msgstr ""
2766
 
2767
- #: ../responsive-lightbox.php:717
2768
  msgid "Add New"
2769
  msgstr ""
2770
 
2771
- #: ../responsive-lightbox.php:718
2772
  msgid "Add New Gallery"
2773
  msgstr ""
2774
 
2775
- #: ../responsive-lightbox.php:719
2776
  msgid "Edit Gallery"
2777
  msgstr ""
2778
 
2779
- #: ../responsive-lightbox.php:720
2780
  msgid "New Gallery"
2781
  msgstr ""
2782
 
2783
- #: ../responsive-lightbox.php:721
2784
  msgid "View Gallery"
2785
  msgstr ""
2786
 
2787
- #: ../responsive-lightbox.php:722
2788
  msgid "View Galleries"
2789
  msgstr ""
2790
 
2791
- #: ../responsive-lightbox.php:723
2792
  msgid "Search Galleries"
2793
  msgstr ""
2794
 
2795
- #: ../responsive-lightbox.php:724
2796
  msgid "No galleries found"
2797
  msgstr ""
2798
 
2799
- #: ../responsive-lightbox.php:725
2800
  msgid "No galleries found in trash"
2801
  msgstr ""
2802
 
2803
- #: ../responsive-lightbox.php:726
2804
  msgid "All Galleries"
2805
  msgstr ""
2806
 
2807
- #: ../responsive-lightbox.php:795 ../responsive-lightbox.php:796
2808
  msgid "Gallery updated."
2809
  msgstr ""
2810
 
2811
- #: ../responsive-lightbox.php:797
2812
  #, php-format
2813
  msgid "Gallery restored to revision from %s"
2814
  msgstr ""
2815
 
2816
- #: ../responsive-lightbox.php:798
2817
  msgid "Gallery published."
2818
  msgstr ""
2819
 
2820
- #: ../responsive-lightbox.php:799
2821
  msgid "Gallery saved."
2822
  msgstr ""
2823
 
2824
- #: ../responsive-lightbox.php:800
2825
  msgid "Gallery submitted."
2826
  msgstr ""
2827
 
2828
- #: ../responsive-lightbox.php:802
2829
  #, php-format
2830
  msgid "Gallery scheduled for: <strong>%1$s</strong>."
2831
  msgstr ""
2832
 
2833
- #: ../responsive-lightbox.php:803
2834
  msgid "M j, Y @ G:i"
2835
  msgstr ""
2836
 
2837
- #: ../responsive-lightbox.php:805
2838
  msgid "Gallery draft updated."
2839
  msgstr ""
2840
 
2841
- #: ../responsive-lightbox.php:811
2842
  msgid "View gallery"
2843
  msgstr ""
2844
 
2845
- #: ../responsive-lightbox.php:817
2846
  msgid "Preview gallery"
2847
  msgstr ""
2848
 
2849
- #: ../responsive-lightbox.php:838
2850
  msgid "Are you sure you want to reset these settings to defaults?"
2851
  msgstr ""
2852
 
2853
- #: ../responsive-lightbox.php:839
2854
  msgid "Are you sure you want to reset this script settings to defaults?"
2855
  msgstr ""
2856
 
2857
- #: ../responsive-lightbox.php:840
2858
  msgid "Are you sure you want to reset this gallery settings to defaults?"
2859
  msgstr ""
2860
 
2861
- #: ../responsive-lightbox.php:860 ../responsive-lightbox.php:891
2862
  msgid "Use these images"
2863
  msgstr ""
2864
 
2865
- #: ../responsive-lightbox.php:861
2866
  msgid "Edit attachment"
2867
  msgstr ""
2868
 
2869
- #: ../responsive-lightbox.php:862
2870
  msgid "Save attachment"
2871
  msgstr ""
2872
 
2873
- #: ../responsive-lightbox.php:892
2874
  msgid "Use this image"
2875
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Responsive Lightbox\n"
5
+ "POT-Creation-Date: 2018-05-17 11:59+0200\n"
6
  "PO-Revision-Date: 2015-05-12 12:06+0100\n"
7
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
8
  "Language-Team: dFactory <info@dfactory.eu>\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-SearchPath-0: ..\n"
18
 
19
+ #: ../includes/class-frontend.php:555 ../includes/class-widgets.php:464
20
  msgid "Size"
21
  msgstr ""
22
 
23
+ #: ../includes/class-frontend.php:557
24
  msgid "Specify the image size to use for the thumbnail display."
25
  msgstr ""
26
 
27
+ #: ../includes/class-frontend.php:562
28
  msgid "Link To"
29
  msgstr ""
30
 
31
+ #: ../includes/class-frontend.php:564
32
  msgid "Specify where you want the image to link."
33
  msgstr ""
34
 
35
+ #: ../includes/class-frontend.php:567 ../includes/class-widgets.php:330
36
  msgid "Attachment Page"
37
  msgstr ""
38
 
39
+ #: ../includes/class-frontend.php:568 ../includes/class-widgets.php:329
40
  msgid "Media File"
41
  msgstr ""
42
 
43
+ #: ../includes/class-frontend.php:569 ../includes/class-galleries.php:122
44
  #: ../includes/class-settings.php:150 ../includes/class-settings.php:545
45
  #: ../includes/class-settings.php:604 ../includes/class-widgets.php:81
46
  #: ../includes/class-widgets.php:328 ../includes/class-widgets.php:335
47
  msgid "None"
48
  msgstr ""
49
 
50
+ #: ../includes/class-frontend.php:573
51
  msgid "Orderby"
52
  msgstr ""
53
 
54
+ #: ../includes/class-frontend.php:575
55
  msgid "Specify how to sort the display thumbnails."
56
  msgstr ""
57
 
58
+ #: ../includes/class-frontend.php:578 ../includes/class-galleries.php:160
59
  #: ../includes/class-widgets.php:67
60
  msgid "ID"
61
  msgstr ""
62
 
63
+ #: ../includes/class-frontend.php:579 ../includes/class-galleries.php:162
64
  #: ../includes/class-widgets.php:65 ../includes/class-widgets.php:121
65
  #: ../includes/class-widgets.php:445
66
  msgid "Title"
67
  msgstr ""
68
 
69
+ #: ../includes/class-frontend.php:580 ../includes/class-galleries.php:164
70
  msgid "Date"
71
  msgstr ""
72
 
73
+ #: ../includes/class-frontend.php:581
74
  msgid "Menu Order"
75
  msgstr ""
76
 
77
+ #: ../includes/class-frontend.php:582 ../includes/class-galleries.php:167
78
  #: ../includes/class-widgets.php:68
79
  msgid "Random"
80
  msgstr ""
81
 
82
+ #: ../includes/class-frontend.php:586 ../includes/class-widgets.php:180
83
  msgid "Order"
84
  msgstr ""
85
 
86
+ #: ../includes/class-frontend.php:588
87
  msgid "Specify the sort order."
88
  msgstr ""
89
 
90
+ #: ../includes/class-frontend.php:591 ../includes/class-galleries.php:176
91
  #: ../includes/class-widgets.php:72
92
  msgid "Ascending"
93
  msgstr ""
94
 
95
+ #: ../includes/class-frontend.php:592 ../includes/class-galleries.php:177
96
  #: ../includes/class-widgets.php:73
97
  msgid "Descending"
98
  msgstr ""
99
 
100
+ #: ../includes/class-frontend.php:596
101
  msgid "Columns"
102
  msgstr ""
103
 
104
+ #: ../includes/class-frontend.php:598
105
  msgid "Specify the number of columns."
106
  msgstr ""
107
 
108
+ #: ../includes/class-galleries.php:75 ../includes/class-galleries.php:2609
109
  msgid "Status"
110
  msgstr ""
111
 
112
+ #: ../includes/class-galleries.php:75
113
  msgid "Edit image"
114
  msgstr ""
115
 
116
+ #: ../includes/class-galleries.php:75 ../responsive-lightbox.php:889
117
  msgid "Remove image"
118
  msgstr ""
119
 
120
+ #: ../includes/class-galleries.php:78 ../includes/class-galleries.php:118
121
+ #: ../includes/class-galleries.php:263 ../includes/class-galleries.php:270
122
+ #: ../includes/class-galleries.php:424 ../includes/class-galleries.php:431
123
  msgid "Global"
124
  msgstr ""
125
 
126
+ #: ../includes/class-galleries.php:82 ../includes/class-settings.php:233
127
  msgid "Images"
128
  msgstr ""
129
 
130
+ #: ../includes/class-galleries.php:83
131
  msgid "The settings below adjust the contents of the gallery."
132
  msgstr ""
133
 
134
+ #: ../includes/class-galleries.php:85 ../includes/class-galleries.php:3014
135
  msgid "Media Library"
136
  msgstr ""
137
 
138
+ #: ../includes/class-galleries.php:86
139
  msgid "Featured Content"
140
  msgstr ""
141
 
142
+ #: ../includes/class-galleries.php:90
143
  msgid "Config"
144
  msgstr ""
145
 
146
+ #: ../includes/class-galleries.php:91
147
  msgid "The settings below adjust the configuration options for the gallery."
148
  msgstr ""
149
 
150
+ #: ../includes/class-galleries.php:95
151
  msgid "Design"
152
  msgstr ""
153
 
154
+ #: ../includes/class-galleries.php:96
155
  msgid "The settings below adjust the gallery design options."
156
  msgstr ""
157
 
158
+ #: ../includes/class-galleries.php:99
159
  msgid "Paging"
160
  msgstr ""
161
 
162
+ #: ../includes/class-galleries.php:100
163
  msgid "The settings below adjust the gallery pagination options."
164
  msgstr ""
165
 
166
+ #: ../includes/class-galleries.php:103 ../includes/class-settings.php:1693
167
  msgid "Lightbox"
168
  msgstr ""
169
 
170
+ #: ../includes/class-galleries.php:104
171
  msgid "The settings below adjust the lightbox options."
172
  msgstr ""
173
 
174
+ #: ../includes/class-galleries.php:107
175
  msgid "Misc"
176
  msgstr ""
177
 
178
+ #: ../includes/class-galleries.php:108
179
  msgid "The settings below adjust miscellaneous options."
180
  msgstr ""
181
 
182
+ #: ../includes/class-galleries.php:117
183
  msgid "Full size"
184
  msgstr ""
185
 
186
+ #: ../includes/class-galleries.php:119 ../includes/class-galleries.php:403
187
  msgid "Custom size"
188
  msgstr ""
189
 
190
+ #: ../includes/class-galleries.php:123
191
  msgid "Top"
192
  msgstr ""
193
 
194
+ #: ../includes/class-galleries.php:124
195
  msgid "Bottom"
196
  msgstr ""
197
 
198
+ #: ../includes/class-galleries.php:148
199
  msgid "Number of Posts"
200
  msgstr ""
201
 
202
+ #: ../includes/class-galleries.php:150
203
  msgid "Enter the number of posts."
204
  msgstr ""
205
 
206
+ #: ../includes/class-galleries.php:155
207
  msgid "Posts Sorting"
208
  msgstr ""
209
 
210
+ #: ../includes/class-galleries.php:157
211
  msgid "Select the posts sorting."
212
  msgstr ""
213
 
214
+ #: ../includes/class-galleries.php:161
215
  msgid "Author"
216
  msgstr ""
217
 
218
+ #: ../includes/class-galleries.php:163
219
  msgid "Slug"
220
  msgstr ""
221
 
222
+ #: ../includes/class-galleries.php:165
223
  msgid "Last modified date"
224
  msgstr ""
225
 
226
+ #: ../includes/class-galleries.php:166
227
  msgid "Parent ID"
228
  msgstr ""
229
 
230
+ #: ../includes/class-galleries.php:171
231
  msgid "Posts Order"
232
  msgstr ""
233
 
234
+ #: ../includes/class-galleries.php:173
235
  msgid "Select the posts order."
236
  msgstr ""
237
 
238
+ #: ../includes/class-galleries.php:181
239
  msgid "Posts Offset"
240
  msgstr ""
241
 
242
+ #: ../includes/class-galleries.php:183
243
  msgid "Enter the posts offset."
244
  msgstr ""
245
 
246
+ #: ../includes/class-galleries.php:188
247
  msgid "Image Source"
248
  msgstr ""
249
 
250
+ #: ../includes/class-galleries.php:190
251
  msgid "Select the image source."
252
  msgstr ""
253
 
254
+ #: ../includes/class-galleries.php:193
255
  msgid "Post Thumbnails"
256
  msgstr ""
257
 
258
+ #: ../includes/class-galleries.php:194
259
  msgid "Post Attached Images"
260
  msgstr ""
261
 
262
+ #: ../includes/class-galleries.php:198
263
  msgid "Images per Post"
264
  msgstr ""
265
 
266
+ #: ../includes/class-galleries.php:200
267
  msgid "Enter maximum number of images for a post."
268
  msgstr ""
269
 
270
+ #: ../includes/class-galleries.php:205
271
  msgid "Post Type"
272
  msgstr ""
273
 
274
+ #: ../includes/class-galleries.php:207
275
  msgid "Select the post types to query."
276
  msgstr ""
277
 
278
+ #: ../includes/class-galleries.php:212
279
  msgid "Post Status"
280
  msgstr ""
281
 
282
+ #: ../includes/class-galleries.php:214
283
  msgid "Select the post status."
284
  msgstr ""
285
 
286
+ #: ../includes/class-galleries.php:219
287
  msgid "Post Format"
288
  msgstr ""
289
 
290
+ #: ../includes/class-galleries.php:221
291
  msgid "Select the post format."
292
  msgstr ""
293
 
294
+ #: ../includes/class-galleries.php:226
295
  msgid "Post Term"
296
  msgstr ""
297
 
298
+ #: ../includes/class-galleries.php:228
299
  msgid "Select the post taxonomy terms to query."
300
  msgstr ""
301
 
302
+ #: ../includes/class-galleries.php:233
303
  msgid "Post Author"
304
  msgstr ""
305
 
306
+ #: ../includes/class-galleries.php:235
307
  msgid "Select the post author."
308
  msgstr ""
309
 
310
+ #: ../includes/class-galleries.php:240
311
  msgid "Page Parent"
312
  msgstr ""
313
 
314
+ #: ../includes/class-galleries.php:242
315
  msgid "Select the post parent."
316
  msgstr ""
317
 
318
+ #: ../includes/class-galleries.php:247
319
  msgid "Page Template"
320
  msgstr ""
321
 
322
+ #: ../includes/class-galleries.php:249
323
  msgid "Select the page template."
324
  msgstr ""
325
 
326
+ #: ../includes/class-galleries.php:259
327
  msgid "Thumbnail title"
328
  msgstr ""
329
 
330
+ #: ../includes/class-galleries.php:261
331
  msgid "Select title for the gallery thumbnails."
332
  msgstr ""
333
 
334
+ #: ../includes/class-galleries.php:266
335
  msgid "Thumbnail caption"
336
  msgstr ""
337
 
338
+ #: ../includes/class-galleries.php:268
339
  msgid "Select caption for the gallery thumbnails."
340
  msgstr ""
341
 
342
+ #: ../includes/class-galleries.php:273
343
  msgid "Thumbnail icon"
344
  msgstr ""
345
 
346
+ #: ../includes/class-galleries.php:275
347
  msgid "Select icon for the gallery thumbnails."
348
  msgstr ""
349
 
350
+ #: ../includes/class-galleries.php:280
351
  msgid "Hover effect"
352
  msgstr ""
353
 
354
+ #: ../includes/class-galleries.php:282
355
  msgid "Select thumbnail effect on hover."
356
  msgstr ""
357
 
358
+ #: ../includes/class-galleries.php:285 ../includes/class-settings.php:100
359
  #: ../includes/class-settings.php:158
360
  msgid "none"
361
  msgstr ""
362
 
 
363
  #: ../includes/class-galleries.php:286 ../includes/class-galleries.php:287
364
  #: ../includes/class-galleries.php:288 ../includes/class-galleries.php:289
365
  #: ../includes/class-galleries.php:290 ../includes/class-galleries.php:291
366
+ #: ../includes/class-galleries.php:292 ../includes/class-galleries.php:293
367
+ #: ../includes/class-galleries.php:294
368
  #, php-format
369
  msgid "Effect %s"
370
  msgstr ""
371
 
372
+ #: ../includes/class-galleries.php:298
373
  msgid "Title Color"
374
  msgstr ""
375
 
376
+ #: ../includes/class-galleries.php:303
377
  msgid "Caption Color"
378
  msgstr ""
379
 
380
+ #: ../includes/class-galleries.php:308
381
  msgid "Background Color"
382
  msgstr ""
383
 
384
+ #: ../includes/class-galleries.php:313
385
  msgid "Background Opacity"
386
  msgstr ""
387
 
388
+ #: ../includes/class-galleries.php:322
389
  msgid "Border Color"
390
  msgstr ""
391
 
392
+ #: ../includes/class-galleries.php:327
393
  msgid "Border Width"
394
  msgstr ""
395
 
396
+ #: ../includes/class-galleries.php:340
397
  msgid "Use pagination"
398
  msgstr ""
399
 
400
+ #: ../includes/class-galleries.php:342
401
  msgid "Enable pagination."
402
  msgstr ""
403
 
404
+ #: ../includes/class-galleries.php:346
405
  msgid "Pagination type"
406
  msgstr ""
407
 
408
+ #: ../includes/class-galleries.php:348
409
  msgid "Select pagination type."
410
  msgstr ""
411
 
412
+ #: ../includes/class-galleries.php:351
413
  msgid "standard"
414
  msgstr ""
415
 
416
+ #: ../includes/class-galleries.php:352
417
  msgid "AJAX"
418
  msgstr ""
419
 
420
+ #: ../includes/class-galleries.php:353
421
  msgid "infinite scroll"
422
  msgstr ""
423
 
424
+ #: ../includes/class-galleries.php:357
425
  msgid "Pagination position"
426
  msgstr ""
427
 
428
+ #: ../includes/class-galleries.php:359
429
  msgid "Select pagination position."
430
  msgstr ""
431
 
432
+ #: ../includes/class-galleries.php:362
433
  msgid "bottom"
434
  msgstr ""
435
 
436
+ #: ../includes/class-galleries.php:363
437
  msgid "top"
438
  msgstr ""
439
 
440
+ #: ../includes/class-galleries.php:364
441
  msgid "top & bottom"
442
  msgstr ""
443
 
444
+ #: ../includes/class-galleries.php:368
445
  msgid "Images per page"
446
  msgstr ""
447
 
448
+ #: ../includes/class-galleries.php:370
449
  msgid "Number of images per page."
450
  msgstr ""
451
 
452
+ #: ../includes/class-galleries.php:376
453
  msgid "Load More"
454
  msgstr ""
455
 
456
+ #: ../includes/class-galleries.php:378
457
  msgid "Select the load more trigger (infinite scroll only)."
458
  msgstr ""
459
 
460
+ #: ../includes/class-galleries.php:381
461
  msgid "Automatically"
462
  msgstr ""
463
 
464
+ #: ../includes/class-galleries.php:382
465
  msgid "On click"
466
  msgstr ""
467
 
468
+ #: ../includes/class-galleries.php:390
469
  msgid "Enable Lightbox"
470
  msgstr ""
471
 
472
+ #: ../includes/class-galleries.php:392
473
  msgid "Enable lightbox effect for the gallery."
474
  msgstr ""
475
 
476
+ #: ../includes/class-galleries.php:396
477
  msgid "Image Size"
478
  msgstr ""
479
 
480
+ #: ../includes/class-galleries.php:398
481
  msgid "Select image size for gallery lightbox."
482
  msgstr ""
483
 
484
+ #: ../includes/class-galleries.php:405
485
  msgid ""
486
  "Choose the custom image size for gallery lightbox (used if Custom Image size "
487
  "is selected)."
488
  msgstr ""
489
 
490
+ #: ../includes/class-galleries.php:409
491
  msgid "width in px"
492
  msgstr ""
493
 
494
+ #: ../includes/class-galleries.php:414
495
  msgid "height in px"
496
  msgstr ""
497
 
498
+ #: ../includes/class-galleries.php:420 ../includes/class-settings.php:151
499
  msgid "Image Title"
500
  msgstr ""
501
 
502
+ #: ../includes/class-galleries.php:422
503
  msgid "Select image title for gallery lightbox."
504
  msgstr ""
505
 
506
+ #: ../includes/class-galleries.php:427 ../includes/class-settings.php:152
507
  msgid "Image Caption"
508
  msgstr ""
509
 
510
+ #: ../includes/class-galleries.php:429
511
  msgid ""
512
  "Select image caption for gallery lightbox (used if supported by selected "
513
  "lightbox effect)."
514
  msgstr ""
515
 
516
+ #: ../includes/class-galleries.php:438
517
  msgid "Title Position"
518
  msgstr ""
519
 
520
+ #: ../includes/class-galleries.php:440
521
  msgid "Select where to display the title."
522
  msgstr ""
523
 
524
+ #: ../includes/class-galleries.php:445
525
  msgid "Description Position"
526
  msgstr ""
527
 
528
+ #: ../includes/class-galleries.php:447
529
  msgid "Select where to display the description."
530
  msgstr ""
531
 
532
+ #: ../includes/class-galleries.php:452
533
  msgid "Gallery Description"
534
  msgstr ""
535
 
536
+ #: ../includes/class-galleries.php:454
537
  msgid "Enter the gallery description (optional)."
538
  msgstr ""
539
 
540
+ #: ../includes/class-galleries.php:459
541
  msgid "Custom Classes"
542
  msgstr ""
543
 
544
+ #: ../includes/class-galleries.php:461
545
  msgid "Add custom, space saparated CSS classes (optional)."
546
  msgstr ""
547
 
548
+ #: ../includes/class-galleries.php:613
549
  msgid "Add Gallery"
550
  msgstr ""
551
 
552
+ #: ../includes/class-galleries.php:631 ../includes/class-tour.php:207
553
  msgid "Close"
554
  msgstr ""
555
 
556
+ #: ../includes/class-galleries.php:635
557
  msgid "Insert Gallery"
558
  msgstr ""
559
 
560
+ #: ../includes/class-galleries.php:635
561
  msgid "Reload"
562
  msgstr ""
563
 
564
+ #: ../includes/class-galleries.php:641
565
  msgid "Search galleries"
566
  msgstr ""
567
 
568
+ #: ../includes/class-galleries.php:647
569
  msgid "Select A Gallery"
570
  msgstr ""
571
 
572
+ #: ../includes/class-galleries.php:648
573
  msgid "To select a gallery simply click on one of the boxes to the left."
574
  msgstr ""
575
 
576
+ #: ../includes/class-galleries.php:649
577
  msgid ""
578
  "To insert your gallery into the editor, click on the \"Insert Gallery\" "
579
  "button below."
580
  msgstr ""
581
 
582
+ #: ../includes/class-galleries.php:659
583
  msgid "Edit gallery"
584
  msgstr ""
585
 
586
+ #: ../includes/class-galleries.php:669
587
  msgid "Insert into post"
588
  msgstr ""
589
 
590
+ #: ../includes/class-galleries.php:670
591
  msgid "Cancel"
592
  msgstr ""
593
 
594
+ #: ../includes/class-galleries.php:837 ../includes/class-widgets.php:128
595
+ #: ../responsive-lightbox.php:860 ../responsive-lightbox.php:890
596
  msgid "Select images"
597
  msgstr ""
598
 
599
+ #: ../includes/class-galleries.php:873
600
  msgid "Update preview"
601
  msgstr ""
602
 
603
+ #: ../includes/class-galleries.php:1237
604
  #, php-format
605
  msgid "Gallery %s"
606
  msgstr ""
607
 
608
+ #: ../includes/class-galleries.php:1241
609
  msgid "Gallery Code"
610
  msgstr ""
611
 
612
+ #: ../includes/class-galleries.php:1360
613
  msgid "No data"
614
  msgstr ""
615
 
616
+ #: ../includes/class-galleries.php:1647
617
  msgid "&laquo; Previous"
618
  msgstr ""
619
 
620
+ #: ../includes/class-galleries.php:1648
621
  msgid "Next &raquo;"
622
  msgstr ""
623
 
624
+ #: ../includes/class-galleries.php:1758
625
  msgid "(no title)"
626
  msgstr ""
627
 
628
+ #: ../includes/class-galleries.php:1772
629
  msgid "Deselect"
630
  msgstr ""
631
 
632
+ #: ../includes/class-galleries.php:2526
633
  msgid "Untitled"
634
  msgstr ""
635
 
636
+ #: ../includes/class-galleries.php:2601
637
  msgid "Aside"
638
  msgstr ""
639
 
640
+ #: ../includes/class-galleries.php:2602
641
  msgid "Audio"
642
  msgstr ""
643
 
644
+ #: ../includes/class-galleries.php:2603
645
  msgid "Chat"
646
  msgstr ""
647
 
648
+ #: ../includes/class-galleries.php:2604 ../includes/class-galleries.php:2879
649
  #: ../includes/class-widgets.php:45 ../includes/class-widgets.php:53
650
+ #: ../responsive-lightbox.php:728
651
  msgid "Gallery"
652
  msgstr ""
653
 
654
+ #: ../includes/class-galleries.php:2605
655
  msgid "Link"
656
  msgstr ""
657
 
658
+ #: ../includes/class-galleries.php:2606
659
  msgid "Photo"
660
  msgstr ""
661
 
662
+ #: ../includes/class-galleries.php:2607
663
  msgid "Quote"
664
  msgstr ""
665
 
666
+ #: ../includes/class-galleries.php:2608
667
  msgid "Standard"
668
  msgstr ""
669
 
670
+ #: ../includes/class-galleries.php:2610
671
  msgid "Video"
672
  msgstr ""
673
 
674
+ #: ../includes/class-galleries.php:2687
675
  msgid "Default Template"
676
  msgstr ""
677
 
678
+ #: ../includes/class-galleries.php:2862
679
  msgid ""
680
  "You can place this gallery anywhere into your posts, pages, custom post "
681
  "types or widgets by using the shortcode below"
682
  msgstr ""
683
 
684
+ #: ../includes/class-galleries.php:2864
685
  msgid ""
686
  "You can also place this gallery into your template files by using the "
687
  "template tag below"
688
  msgstr ""
689
 
690
+ #: ../includes/class-galleries.php:2888
691
  msgid "Shortcode"
692
  msgstr ""
693
 
694
+ #: ../includes/class-galleries.php:2889
695
  msgid "Type"
696
  msgstr ""
697
 
698
+ #: ../includes/class-galleries.php:2890
699
  msgid "Source"
700
  msgstr ""
701
 
702
+ #: ../includes/class-galleries.php:3012
703
  msgid "Select gallery featured image source:"
704
  msgstr ""
705
 
706
+ #: ../includes/class-galleries.php:3013
707
  msgid "First gallery image"
708
  msgstr ""
709
 
710
+ #: ../includes/class-galleries.php:3015 ../includes/class-widgets.php:331
711
  msgid "Custom URL"
712
  msgstr ""
713
 
714
+ #: ../includes/class-galleries.php:3021
715
  msgid "Custom featured image URL"
716
  msgstr ""
717
 
718
+ #: ../includes/class-galleries.php:3023
719
  msgid "Dynamically generated first gallery image"
720
  msgstr ""
721
 
935
  #: ../includes/class-settings.php:220
936
  #, php-format
937
  msgid ""
938
+ "Select your preferred ligthbox effect script or get our <a href=\"%s"
939
  "\">premium extensions</a>."
940
  msgstr ""
941
 
990
  msgstr ""
991
 
992
  #: ../includes/class-settings.php:268
993
+ msgid "Select your preferred default WordPress gallery style."
994
  msgstr ""
995
 
996
  #: ../includes/class-settings.php:272
998
  msgstr ""
999
 
1000
  #: ../includes/class-settings.php:275
1001
+ msgid "Select your preferred default builder gallery style."
1002
  msgstr ""
1003
 
1004
  #: ../includes/class-settings.php:279
1006
  msgstr ""
1007
 
1008
  #: ../includes/class-settings.php:283
1009
+ msgid "Select your preferred gallery style for WooCommerce product gallery."
1010
  msgstr ""
1011
 
1012
  #: ../includes/class-settings.php:287
1127
  msgid "Enable advanced gallery builder."
1128
  msgstr ""
1129
 
1130
+ #: ../includes/class-settings.php:391 ../responsive-lightbox.php:662
1131
  msgid "Categories"
1132
  msgstr ""
1133
 
1139
  msgid "Enable if you want to use Gallery Categories."
1140
  msgstr ""
1141
 
1142
+ #: ../includes/class-settings.php:398 ../responsive-lightbox.php:697
1143
  msgid "Tags"
1144
  msgstr ""
1145
 
1491
  msgstr ""
1492
 
1493
  #: ../includes/class-settings.php:748
1494
+ msgid "large devices / desktops (?1200px)"
1495
  msgstr ""
1496
 
1497
  #: ../includes/class-settings.php:755
1498
+ msgid "medium devices / desktops (?992px)"
1499
  msgstr ""
1500
 
1501
  #: ../includes/class-settings.php:762
1502
+ msgid "small devices / tablets (?768px)"
1503
  msgstr ""
1504
 
1505
  #: ../includes/class-settings.php:777
1550
  msgid "Lightboxes"
1551
  msgstr ""
1552
 
1553
+ #: ../includes/class-settings.php:821 ../responsive-lightbox.php:427
1554
  msgid "Basic Grid"
1555
  msgstr ""
1556
 
1557
+ #: ../includes/class-settings.php:827 ../responsive-lightbox.php:428
1558
  msgid "Basic Slider"
1559
  msgstr ""
1560
 
1561
+ #: ../includes/class-settings.php:833 ../responsive-lightbox.php:429
1562
  msgid "Basic Masonry"
1563
  msgstr ""
1564
 
1571
  msgstr ""
1572
 
1573
  #: ../includes/class-settings.php:921 ../includes/class-tour.php:184
1574
+ #: ../responsive-lightbox.php:623
1575
  msgid "Add-ons"
1576
  msgstr ""
1577
 
2474
  "lightbox plugin and a powerful gallery builder for WordPress."
2475
  msgstr ""
2476
 
2477
+ #: ../includes/class-welcome.php:61 ../responsive-lightbox.php:620
2478
  msgid "Settings"
2479
  msgstr ""
2480
 
2482
  msgid "Documentation"
2483
  msgstr ""
2484
 
2485
+ #: ../includes/class-welcome.php:63 ../responsive-lightbox.php:597
2486
  msgid "Support"
2487
  msgstr ""
2488
 
2556
  msgid "Image date"
2557
  msgstr ""
2558
 
2559
+ #: ../includes/class-widgets.php:82 ../responsive-lightbox.php:426
2560
  msgid "Default"
2561
  msgstr ""
2562
 
2620
  msgid "Justify"
2621
  msgstr ""
2622
 
2623
+ #: ../includes/class-widgets.php:450 ../responsive-lightbox.php:891
2624
  msgid "Select image"
2625
  msgstr ""
2626
 
2656
  msgid "Text align"
2657
  msgstr ""
2658
 
2659
+ #: ../responsive-lightbox.php:476
2660
  #, php-format
2661
  msgid ""
2662
  "Hey, you've been using <strong>Responsive Lightbox & Gallery</strong> for "
2663
  "more than %s"
2664
  msgstr ""
2665
 
2666
+ #: ../responsive-lightbox.php:476
2667
  msgid ""
2668
  "Could you please do me a BIG favor and give it a 5-star rating on WordPress "
2669
  "to help us spread the word and boost our motivation."
2670
  msgstr ""
2671
 
2672
+ #: ../responsive-lightbox.php:476
2673
  msgid "Your help is much appreciated. Thank you very much"
2674
  msgstr ""
2675
 
2676
+ #: ../responsive-lightbox.php:476
2677
  #, php-format
2678
  msgid "founder of <a href=\"%s\" target=\"_blank\">dFactory</a> plugins."
2679
  msgstr ""
2680
 
2681
+ #: ../responsive-lightbox.php:476
2682
  #, php-format
2683
  msgid ""
2684
  "<a href=\"%s\" class=\"rl-dismissible-notice\" target=\"_blank\" rel="
2688
  "\" rel=\"noopener\">I already did</a>"
2689
  msgstr ""
2690
 
2691
+ #: ../responsive-lightbox.php:653
2692
  msgid "Search Gallery Categories"
2693
  msgstr ""
2694
 
2695
+ #: ../responsive-lightbox.php:654
2696
  msgid "All Gallery Categories"
2697
  msgstr ""
2698
 
2699
+ #: ../responsive-lightbox.php:655
2700
  msgid "Parent Gallery Category"
2701
  msgstr ""
2702
 
2703
+ #: ../responsive-lightbox.php:656
2704
  msgid "Parent Gallery Category:"
2705
  msgstr ""
2706
 
2707
+ #: ../responsive-lightbox.php:657
2708
  msgid "Edit Gallery Category"
2709
  msgstr ""
2710
 
2711
+ #: ../responsive-lightbox.php:658
2712
  msgid "View Gallery Category"
2713
  msgstr ""
2714
 
2715
+ #: ../responsive-lightbox.php:659
2716
  msgid "Update Gallery Category"
2717
  msgstr ""
2718
 
2719
+ #: ../responsive-lightbox.php:660
2720
  msgid "Add New Gallery Category"
2721
  msgstr ""
2722
 
2723
+ #: ../responsive-lightbox.php:661
2724
  msgid "New Gallery Category Name"
2725
  msgstr ""
2726
 
2727
+ #: ../responsive-lightbox.php:685
2728
  msgid "Search Gallery Tags"
2729
  msgstr ""
2730
 
2731
+ #: ../responsive-lightbox.php:686
2732
  msgid "Popular Gallery Tags"
2733
  msgstr ""
2734
 
2735
+ #: ../responsive-lightbox.php:687
2736
  msgid "All Gallery Tags"
2737
  msgstr ""
2738
 
2739
+ #: ../responsive-lightbox.php:690
2740
  msgid "Edit Gallery Tag"
2741
  msgstr ""
2742
 
2743
+ #: ../responsive-lightbox.php:691
2744
  msgid "Update Gallery Tag"
2745
  msgstr ""
2746
 
2747
+ #: ../responsive-lightbox.php:692
2748
  msgid "Add New Gallery Tag"
2749
  msgstr ""
2750
 
2751
+ #: ../responsive-lightbox.php:693
2752
  msgid "New Gallery Tag Name"
2753
  msgstr ""
2754
 
2755
+ #: ../responsive-lightbox.php:694
2756
  msgid "Separate gallery tags with commas"
2757
  msgstr ""
2758
 
2759
+ #: ../responsive-lightbox.php:695
2760
  msgid "Add or remove gallery tags"
2761
  msgstr ""
2762
 
2763
+ #: ../responsive-lightbox.php:696
2764
  msgid "Choose from the most used gallery tags"
2765
  msgstr ""
2766
 
2767
+ #: ../responsive-lightbox.php:718
2768
  msgid "Add New"
2769
  msgstr ""
2770
 
2771
+ #: ../responsive-lightbox.php:719
2772
  msgid "Add New Gallery"
2773
  msgstr ""
2774
 
2775
+ #: ../responsive-lightbox.php:720
2776
  msgid "Edit Gallery"
2777
  msgstr ""
2778
 
2779
+ #: ../responsive-lightbox.php:721
2780
  msgid "New Gallery"
2781
  msgstr ""
2782
 
2783
+ #: ../responsive-lightbox.php:722
2784
  msgid "View Gallery"
2785
  msgstr ""
2786
 
2787
+ #: ../responsive-lightbox.php:723
2788
  msgid "View Galleries"
2789
  msgstr ""
2790
 
2791
+ #: ../responsive-lightbox.php:724
2792
  msgid "Search Galleries"
2793
  msgstr ""
2794
 
2795
+ #: ../responsive-lightbox.php:725
2796
  msgid "No galleries found"
2797
  msgstr ""
2798
 
2799
+ #: ../responsive-lightbox.php:726
2800
  msgid "No galleries found in trash"
2801
  msgstr ""
2802
 
2803
+ #: ../responsive-lightbox.php:727
2804
  msgid "All Galleries"
2805
  msgstr ""
2806
 
2807
+ #: ../responsive-lightbox.php:796 ../responsive-lightbox.php:797
2808
  msgid "Gallery updated."
2809
  msgstr ""
2810
 
2811
+ #: ../responsive-lightbox.php:798
2812
  #, php-format
2813
  msgid "Gallery restored to revision from %s"
2814
  msgstr ""
2815
 
2816
+ #: ../responsive-lightbox.php:799
2817
  msgid "Gallery published."
2818
  msgstr ""
2819
 
2820
+ #: ../responsive-lightbox.php:800
2821
  msgid "Gallery saved."
2822
  msgstr ""
2823
 
2824
+ #: ../responsive-lightbox.php:801
2825
  msgid "Gallery submitted."
2826
  msgstr ""
2827
 
2828
+ #: ../responsive-lightbox.php:803
2829
  #, php-format
2830
  msgid "Gallery scheduled for: <strong>%1$s</strong>."
2831
  msgstr ""
2832
 
2833
+ #: ../responsive-lightbox.php:804
2834
  msgid "M j, Y @ G:i"
2835
  msgstr ""
2836
 
2837
+ #: ../responsive-lightbox.php:806
2838
  msgid "Gallery draft updated."
2839
  msgstr ""
2840
 
2841
+ #: ../responsive-lightbox.php:812
2842
  msgid "View gallery"
2843
  msgstr ""
2844
 
2845
+ #: ../responsive-lightbox.php:818
2846
  msgid "Preview gallery"
2847
  msgstr ""
2848
 
2849
+ #: ../responsive-lightbox.php:839
2850
  msgid "Are you sure you want to reset these settings to defaults?"
2851
  msgstr ""
2852
 
2853
+ #: ../responsive-lightbox.php:840
2854
  msgid "Are you sure you want to reset this script settings to defaults?"
2855
  msgstr ""
2856
 
2857
+ #: ../responsive-lightbox.php:841
2858
  msgid "Are you sure you want to reset this gallery settings to defaults?"
2859
  msgstr ""
2860
 
2861
+ #: ../responsive-lightbox.php:861 ../responsive-lightbox.php:892
2862
  msgid "Use these images"
2863
  msgstr ""
2864
 
2865
+ #: ../responsive-lightbox.php:862
2866
  msgid "Edit attachment"
2867
  msgstr ""
2868
 
2869
+ #: ../responsive-lightbox.php:863
2870
  msgid "Save attachment"
2871
  msgstr ""
2872
 
2873
+ #: ../responsive-lightbox.php:893
2874
  msgid "Use this image"
2875
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.dfactory.eu/
4
  Tags: gallery, images, lightbox, photos, theme, photo, image, picture, slideshow, modal, overlay, video
5
  Requires at least: 4.0
6
  Tested up to: 4.9.5
7
- Stable tag: 2.0.3
8
  Requires PHP: 5.2.4
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
@@ -78,6 +78,13 @@ No questions yet.
78
 
79
  == Changelog ==
80
 
 
 
 
 
 
 
 
81
  = 2.0.3 =
82
  * Fix: Gallery shortcode thumbnails not accepting size parameter
83
  * Fix: Basic templates for WooCommerce gallery
@@ -344,6 +351,7 @@ Initial release
344
 
345
  == Upgrade Notice ==
346
 
347
- = 2.0.3 =
348
- * Fix: Gallery shortcode thumbnails not accepting size parameter
349
- * Fix: Basic templates for WooCommerce gallery
 
4
  Tags: gallery, images, lightbox, photos, theme, photo, image, picture, slideshow, modal, overlay, video
5
  Requires at least: 4.0
6
  Tested up to: 4.9.5
7
+ Stable tag: 2.0.4
8
  Requires PHP: 5.2.4
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
78
 
79
  == Changelog ==
80
 
81
+ = 2.0.4 =
82
+ * Fix: Gallery sorting and orderby not working
83
+ * Fix: Slow db query on post edit screen
84
+ * Fix: WooCommerce gallery undefined method for get_gallery_image_ids
85
+ * Fix: Uncaught Argument in preview_post_link function
86
+ * Fix: Removed a callback to sanitize_textarea_field
87
+
88
  = 2.0.3 =
89
  * Fix: Gallery shortcode thumbnails not accepting size parameter
90
  * Fix: Basic templates for WooCommerce gallery
351
 
352
  == Upgrade Notice ==
353
 
354
+ = 2.0.4 =
355
+ * Fix: Gallery sorting and orderby not working
356
+ * Fix: Slow db query on post edit screen
357
+ * Fix: WooCommerce gallery undefined method for get_gallery_image_ids
responsive-lightbox.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Responsive Lightbox & Gallery
4
  Description: Responsive Lightbox & Gallery allows users to create galleries and view larger versions of images, galleries and videos in a lightbox (overlay) effect optimized for mobile devices.
5
- Version: 2.0.3
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
@@ -29,6 +29,7 @@ define( 'RESPONSIVE_LIGHTBOX_URL', plugins_url( '', __FILE__ ) );
29
  define( 'RESPONSIVE_LIGHTBOX_PATH', plugin_dir_path( __FILE__ ) );
30
  define( 'RESPONSIVE_LIGHTBOX_REL_PATH', dirname( plugin_basename( __FILE__ ) ) . DIRECTORY_SEPARATOR );
31
 
 
32
  include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes' . DIRECTORY_SEPARATOR . 'class-frontend.php' );
33
  include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes' . DIRECTORY_SEPARATOR . 'class-galleries.php' );
34
  include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes' . DIRECTORY_SEPARATOR . 'class-settings.php' );
@@ -41,7 +42,7 @@ include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes' . DIRECTORY_SEPARATOR . 'fun
41
  * Responsive Lightbox class.
42
  *
43
  * @class Responsive_Lightbox
44
- * @version 2.0.3
45
  */
46
  class Responsive_Lightbox {
47
 
@@ -237,7 +238,7 @@ class Responsive_Lightbox {
237
  'origin_left' => true,
238
  'origin_top' => true
239
  ),
240
- 'version' => '2.0.3',
241
  'activation_date' => ''
242
  );
243
  public $options = array();
2
  /*
3
  Plugin Name: Responsive Lightbox & Gallery
4
  Description: Responsive Lightbox & Gallery allows users to create galleries and view larger versions of images, galleries and videos in a lightbox (overlay) effect optimized for mobile devices.
5
+ Version: 2.0.4
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
29
  define( 'RESPONSIVE_LIGHTBOX_PATH', plugin_dir_path( __FILE__ ) );
30
  define( 'RESPONSIVE_LIGHTBOX_REL_PATH', dirname( plugin_basename( __FILE__ ) ) . DIRECTORY_SEPARATOR );
31
 
32
+ include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes' . DIRECTORY_SEPARATOR . 'class-fast-image.php' );
33
  include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes' . DIRECTORY_SEPARATOR . 'class-frontend.php' );
34
  include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes' . DIRECTORY_SEPARATOR . 'class-galleries.php' );
35
  include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes' . DIRECTORY_SEPARATOR . 'class-settings.php' );
42
  * Responsive Lightbox class.
43
  *
44
  * @class Responsive_Lightbox
45
+ * @version 2.0.4
46
  */
47
  class Responsive_Lightbox {
48
 
238
  'origin_left' => true,
239
  'origin_top' => true
240
  ),
241
+ 'version' => '2.0.4',
242
  'activation_date' => ''
243
  );
244
  public $options = array();