Photo Gallery by WD – Responsive Photo Gallery - Version 1.1.2

Version Description

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Photo Gallery by WD – Responsive Photo Gallery
Version 1.1.2
Comparing to
See all releases

Code changes from version 1.1.1 to 1.1.2

admin/controllers/BWGControllerGalleries_bwg.php CHANGED
@@ -130,7 +130,7 @@ class BWGControllerGalleries_bwg {
130
  $filename = ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->image_url;
131
  $thumb_filename = ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->thumb_url;
132
  copy(str_replace('/thumb/', '/.original/', ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->thumb_url), ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->image_url);
133
- list($width_orig, $height_orig, $type_orig) = getimagesize($filename);
134
  $percent = $width_orig / $thumb_width;
135
  $thumb_height = $height_orig / $percent;
136
  ini_set('memory_limit', '-1');
@@ -309,7 +309,7 @@ class BWGControllerGalleries_bwg {
309
 
310
  function set_text_watermark ($original_filename, $dest_filename, $watermark_text, $watermark_font, $watermark_font_size, $watermark_color, $watermark_transparency, $watermark_position) {
311
  $watermark_transparency = 127 - ($watermark_transparency * 1.27);
312
- list($width, $height, $type) = getimagesize($original_filename);
313
  $watermark_image = imagecreatetruecolor($width, $height);
314
 
315
  $watermark_color = $this->bwg_hex2rgb($watermark_color);
@@ -368,8 +368,8 @@ class BWGControllerGalleries_bwg {
368
  }
369
 
370
  function set_image_watermark ($original_filename, $dest_filename, $watermark_url, $watermark_height, $watermark_width, $watermark_position) {
371
- list($width, $height, $type) = getimagesize($original_filename);
372
- list($width_watermark, $height_watermark, $type_watermark) = getimagesize($watermark_url);
373
 
374
  $watermark_width = $width * $watermark_width / 100;
375
  $watermark_height = $height_watermark * $watermark_width / $width_watermark;
130
  $filename = ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->image_url;
131
  $thumb_filename = ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->thumb_url;
132
  copy(str_replace('/thumb/', '/.original/', ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->thumb_url), ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->image_url);
133
+ list($width_orig, $height_orig, $type_orig) = getimagesize(htmlspecialchars_decode($filename));
134
  $percent = $width_orig / $thumb_width;
135
  $thumb_height = $height_orig / $percent;
136
  ini_set('memory_limit', '-1');
309
 
310
  function set_text_watermark ($original_filename, $dest_filename, $watermark_text, $watermark_font, $watermark_font_size, $watermark_color, $watermark_transparency, $watermark_position) {
311
  $watermark_transparency = 127 - ($watermark_transparency * 1.27);
312
+ list($width, $height, $type) = getimagesize(htmlspecialchars_decode($original_filename));
313
  $watermark_image = imagecreatetruecolor($width, $height);
314
 
315
  $watermark_color = $this->bwg_hex2rgb($watermark_color);
368
  }
369
 
370
  function set_image_watermark ($original_filename, $dest_filename, $watermark_url, $watermark_height, $watermark_width, $watermark_position) {
371
+ list($width, $height, $type) = getimagesize(htmlspecialchars_decode($original_filename));
372
+ list($width_watermark, $height_watermark, $type_watermark) = getimagesize(htmlspecialchars_decode($watermark_url));
373
 
374
  $watermark_width = $width * $watermark_width / 100;
375
  $watermark_height = $height_watermark * $watermark_width / $width_watermark;
admin/views/BWGViewEditThumb.php CHANGED
@@ -95,7 +95,7 @@ class BWGViewEditThumb {
95
  $form_action = add_query_arg(array('action' => 'editThumb', 'type' => 'crop', 'image_id' => $image_id, 'width' => '800', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php'));
96
  }
97
  ini_set('memory_limit', '-1');
98
- list($width_orig, $height_orig, $type_orig) = getimagesize($filename);
99
  if ($edit_type == 'crop') {
100
  if ($type_orig == 2) {
101
  $img_r = imagecreatefromjpeg($filename);
@@ -313,7 +313,7 @@ class BWGViewEditThumb {
313
  $form_action = add_query_arg(array('action' => 'editThumb', 'type' => 'rotate', 'image_id' => $image_id, 'width' => '650', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php'));
314
  }
315
  ini_set('memory_limit', '-1');
316
- list($width_rotate, $height_rotate, $type_rotate) = getimagesize($filename);
317
  if ($edit_type == '270' || $edit_type == '90') {
318
  if ($type_rotate == 2) {
319
  $source = imagecreatefromjpeg($filename);
95
  $form_action = add_query_arg(array('action' => 'editThumb', 'type' => 'crop', 'image_id' => $image_id, 'width' => '800', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php'));
96
  }
97
  ini_set('memory_limit', '-1');
98
+ list($width_orig, $height_orig, $type_orig) = getimagesize(htmlspecialchars_decode($filename));
99
  if ($edit_type == 'crop') {
100
  if ($type_orig == 2) {
101
  $img_r = imagecreatefromjpeg($filename);
313
  $form_action = add_query_arg(array('action' => 'editThumb', 'type' => 'rotate', 'image_id' => $image_id, 'width' => '650', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php'));
314
  }
315
  ini_set('memory_limit', '-1');
316
+ list($width_rotate, $height_rotate, $type_rotate) = getimagesize(htmlspecialchars_decode($filename));
317
  if ($edit_type == '270' || $edit_type == '90') {
318
  if ($type_rotate == 2) {
319
  $source = imagecreatefromjpeg($filename);
admin/views/BWGViewUninstall_bwg.php CHANGED
@@ -95,7 +95,6 @@ class BWGViewUninstall_bwg {
95
  }
96
 
97
  public function uninstall() {
98
- $this->model->delete_db_tables();
99
  $flag = TRUE;
100
  if (isset($_POST['bwg_delete_files'])) {
101
  function delfiles($del_file) {
@@ -117,11 +116,14 @@ class BWGViewUninstall_bwg {
117
  }
118
  }
119
  global $WD_BWG_UPLOAD_DIR;
120
- if (is_dir(ABSPATH . $WD_BWG_UPLOAD_DIR)) {
121
- delfiles(ABSPATH . $WD_BWG_UPLOAD_DIR);
 
 
122
  }
123
  }
124
  global $wpdb;
 
125
  $prefix = $wpdb->prefix;
126
  $deactivate_url = wp_nonce_url('plugins.php?action=deactivate&plugin=photo-gallery/photo-gallery.php', 'deactivate-plugin_photo-gallery/photo-gallery.php');
127
  ?>
95
  }
96
 
97
  public function uninstall() {
 
98
  $flag = TRUE;
99
  if (isset($_POST['bwg_delete_files'])) {
100
  function delfiles($del_file) {
116
  }
117
  }
118
  global $WD_BWG_UPLOAD_DIR;
119
+ if ($WD_BWG_UPLOAD_DIR) {
120
+ if (is_dir(ABSPATH . $WD_BWG_UPLOAD_DIR)) {
121
+ delfiles(ABSPATH . $WD_BWG_UPLOAD_DIR);
122
+ }
123
  }
124
  }
125
  global $wpdb;
126
+ $this->model->delete_db_tables();
127
  $prefix = $wpdb->prefix;
128
  $deactivate_url = wp_nonce_url('plugins.php?action=deactivate&plugin=photo-gallery/photo-gallery.php', 'deactivate-plugin_photo-gallery/photo-gallery.php');
129
  ?>
filemanager/UploadHandler.php CHANGED
@@ -290,7 +290,7 @@ class UploadHandler {
290
  error_log('Function not found: getimagesize');
291
  return false;
292
  }
293
- list($img_width, $img_height) = @getimagesize($file_path);
294
  if (!$img_width || !$img_height) {
295
  return false;
296
  }
@@ -330,7 +330,7 @@ class UploadHandler {
330
  $dst_y = 0 - ($new_height - $max_height) / 2;
331
  $new_img = @imagecreatetruecolor($max_width, $max_height);
332
  }
333
- list($width, $height, $type) = getimagesize($file_path);
334
  // switch (strtolower(substr(strrchr($file_name, '.'), 1))) {
335
  switch ($type) {
336
  case 2:
@@ -431,7 +431,7 @@ class UploadHandler {
431
  $file->error = $this->get_error_message('max_number_of_files');
432
  return false;
433
  }
434
- list($img_width, $img_height) = @getimagesize($uploaded_file);
435
  if (is_int($img_width)) {
436
  if ($this->options['max_width'] && $img_width > $this->options['max_width']) {
437
  $file->error = $this->get_error_message('max_width');
@@ -620,7 +620,7 @@ class UploadHandler {
620
  $file_size = $this->get_file_size($file_path, $append_file);
621
  if ($file_size === $file->size) {
622
  $file->url = $this->get_download_url($file->name);
623
- list($img_width, $img_height) = @getimagesize($file_path);
624
  if (is_int($img_width)) {
625
  $this->handle_image_file($file_path, $file);
626
  }
290
  error_log('Function not found: getimagesize');
291
  return false;
292
  }
293
+ list($img_width, $img_height) = @getimagesize(htmlspecialchars_decode($file_path));
294
  if (!$img_width || !$img_height) {
295
  return false;
296
  }
330
  $dst_y = 0 - ($new_height - $max_height) / 2;
331
  $new_img = @imagecreatetruecolor($max_width, $max_height);
332
  }
333
+ list($width, $height, $type) = getimagesize(htmlspecialchars_decode($file_path));
334
  // switch (strtolower(substr(strrchr($file_name, '.'), 1))) {
335
  switch ($type) {
336
  case 2:
431
  $file->error = $this->get_error_message('max_number_of_files');
432
  return false;
433
  }
434
+ list($img_width, $img_height) = @getimagesize(htmlspecialchars_decode($uploaded_file));
435
  if (is_int($img_width)) {
436
  if ($this->options['max_width'] && $img_width > $this->options['max_width']) {
437
  $file->error = $this->get_error_message('max_width');
620
  $file_size = $this->get_file_size($file_path, $append_file);
621
  if ($file_size === $file->size) {
622
  $file->url = $this->get_download_url($file->name);
623
+ list($img_width, $img_height) = @getimagesize(htmlspecialchars_decode($file_path));
624
  if (is_int($img_width)) {
625
  $this->handle_image_file($file_path, $file);
626
  }
filemanager/model.php CHANGED
@@ -150,7 +150,7 @@ class FilemanagerModel {
150
  // $file['size'] = $file_size_kb < 1024 ? (string)$file_size_kb . 'KB' : (string)$file_size_mb . 'MB';
151
  $file['size'] = $file_size_kb . ' KB';
152
  $file['date_modified'] = date('d F Y, H:i', filemtime($parent_dir . '/' . $file_name));
153
- $image_info = getimagesize($parent_dir . '/' . $file_name);
154
  $file['resolution'] = $this->is_img($file['type']) ? $image_info[0] . ' x ' . $image_info[1] . ' px' : '';
155
  $files[] = $file;
156
  }
150
  // $file['size'] = $file_size_kb < 1024 ? (string)$file_size_kb . 'KB' : (string)$file_size_mb . 'MB';
151
  $file['size'] = $file_size_kb . ' KB';
152
  $file['date_modified'] = date('d F Y, H:i', filemtime($parent_dir . '/' . $file_name));
153
+ $image_info = getimagesize(htmlspecialchars_decode($parent_dir . '/' . $file_name));
154
  $file['resolution'] = $this->is_img($file['type']) ? $image_info[0] . ' x ' . $image_info[1] . ' px' : '';
155
  $files[] = $file;
156
  }
frontend/views/BWGViewAlbum_compact_preview.php CHANGED
@@ -88,7 +88,7 @@ class BWGViewAlbum_compact_preview {
88
  -moz-box-sizing: content-box;
89
  box-sizing: content-box;
90
  }
91
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_span1_<?php echo $bwg; ?> {
92
  background-color: #<?php echo $theme_row->album_compact_thumb_bg_color; ?>;
93
  border-radius: <?php echo $theme_row->album_compact_thumb_border_radius; ?>;
94
  border: <?php echo $theme_row->album_compact_thumb_border_width; ?>px <?php echo $theme_row->album_compact_thumb_border_style; ?> #<?php echo $theme_row->album_compact_thumb_border_color; ?>;
@@ -107,7 +107,7 @@ class BWGViewAlbum_compact_preview {
107
  -webkit-backface-visibility: visible;
108
  -ms-backface-visibility: visible;
109
  }
110
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_span1_<?php echo $bwg; ?>:hover {
111
  opacity: 1;
112
  filter: Alpha(opacity=100);
113
  transform: <?php echo $theme_row->album_compact_thumb_hover_effect; ?>(<?php echo $theme_row->album_compact_thumb_hover_effect_value; ?>);
@@ -119,7 +119,7 @@ class BWGViewAlbum_compact_preview {
119
  -ms-backface-visibility: hidden;
120
  z-index: 102;
121
  }
122
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_span2_<?php echo $bwg; ?> {
123
  display: inline-block;
124
  height: <?php echo $params['compuct_album_thumb_height']; ?>px;
125
  overflow: hidden;
@@ -141,7 +141,7 @@ class BWGViewAlbum_compact_preview {
141
  <?php
142
  if ($params['compuct_album_title'] == 'show') { // Show album/gallery title at the bottom.
143
  ?>
144
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_title_span1_<?php echo $bwg; ?> {
145
  display: block;
146
  opacity: 1;
147
  filter: Alpha(opacity=100);
@@ -152,7 +152,7 @@ class BWGViewAlbum_compact_preview {
152
  }
153
  elseif ($params['compuct_album_title'] == 'hover') { // Show album/gallery title on hover.
154
  ?>
155
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_title_span1_<?php echo $bwg; ?> {
156
  display: table;
157
  height: inherit;
158
  left: -3000px;
@@ -165,13 +165,13 @@ class BWGViewAlbum_compact_preview {
165
  <?php
166
  }
167
  ?>
168
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_span1_<?php echo $bwg; ?>:hover .bwg_title_span1_<?php echo $bwg; ?> {
169
  left: <?php echo $theme_row->album_compact_thumb_padding; ?>px;
170
  top: <?php echo $theme_row->album_compact_thumb_padding; ?>px;
171
  opacity: 1;
172
  filter: Alpha(opacity=100);
173
  }
174
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_title_span2_<?php echo $bwg; ?> {
175
  color: #<?php echo $theme_row->album_compact_title_font_color; ?>;
176
  display: table-cell;
177
  font-family: <?php echo $theme_row->album_compact_title_font_style; ?>;
@@ -197,7 +197,7 @@ class BWGViewAlbum_compact_preview {
197
  text-decoration: none;
198
  }
199
  /*Image thumbs styles.*/
200
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_span1_<?php echo $bwg; ?> {
201
  background-color: #<?php echo $theme_row->thumb_bg_color; ?>;
202
  border-radius: <?php echo $theme_row->thumb_border_radius; ?>;
203
  border: <?php echo $theme_row->thumb_border_width; ?>px <?php echo $theme_row->thumb_border_style; ?> #<?php echo $theme_row->thumb_border_color; ?>;
@@ -214,7 +214,7 @@ class BWGViewAlbum_compact_preview {
214
  width: <?php echo $params['compuct_album_image_thumb_width']; ?>px;
215
  z-index: 100;
216
  }
217
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_span1_<?php echo $bwg; ?>:hover {
218
  -ms-transform: <?php echo $theme_row->thumb_hover_effect; ?>(<?php echo $theme_row->thumb_hover_effect_value; ?>);
219
  -webkit-transform: <?php echo $theme_row->thumb_hover_effect; ?>(<?php echo $theme_row->thumb_hover_effect_value; ?>);
220
  backface-visibility: hidden;
@@ -227,7 +227,7 @@ class BWGViewAlbum_compact_preview {
227
  z-index: 102;
228
  position: relative;
229
  }
230
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_span2_<?php echo $bwg; ?> {
231
  display: inline-block;
232
  height: <?php echo $params['compuct_album_image_thumb_height']; ?>px;
233
  overflow: hidden;
@@ -253,7 +253,7 @@ class BWGViewAlbum_compact_preview {
253
  <?php
254
  if ($params['compuct_album_image_title'] == 'show') { // Show image title at the bottom.
255
  ?>
256
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_image_title_span1_<?php echo $bwg; ?> {
257
  display: block;
258
  margin: 0 auto;
259
  opacity: 1;
@@ -265,7 +265,7 @@ class BWGViewAlbum_compact_preview {
265
  }
266
  elseif ($params['compuct_album_image_title'] == 'hover') { // Show image title on hover.
267
  ?>
268
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_image_title_span1_<?php echo $bwg; ?> {
269
  display: table;
270
  height: inherit;
271
  left: -3000px;
@@ -278,13 +278,13 @@ class BWGViewAlbum_compact_preview {
278
  <?php
279
  }
280
  ?>
281
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_span1_<?php echo $bwg; ?>:hover .bwg_image_title_span1_<?php echo $bwg; ?> {
282
  left: <?php echo $theme_row->thumb_padding; ?>px;
283
  top: <?php echo $theme_row->thumb_padding; ?>px;
284
  opacity: 1;
285
  filter: Alpha(opacity=100);
286
  }
287
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_image_title_span2_<?php echo $bwg; ?> {
288
  color: #<?php echo $theme_row->thumb_title_font_color; ?>;
289
  display: table-cell;
290
  font-family: <?php echo $theme_row->thumb_title_font_style; ?>;
@@ -434,7 +434,7 @@ class BWGViewAlbum_compact_preview {
434
  $preview_url = site_url() . '/' . $WD_BWG_UPLOAD_DIR . $preview_image;
435
  $preview_path = ABSPATH . $WD_BWG_UPLOAD_DIR . $preview_image;
436
  }
437
- list($image_thumb_width, $image_thumb_height) = getimagesize($preview_path);
438
  $scale = max($params['compuct_album_thumb_width'] / $image_thumb_width, $params['compuct_album_thumb_height'] / $image_thumb_height);
439
  $image_thumb_width *= $scale;
440
  $image_thumb_height *= $scale;
@@ -444,14 +444,14 @@ class BWGViewAlbum_compact_preview {
444
  ?>
445
  <a style="font-size: 0;" <?php echo ($from !== "widget" ? "onclick=\"spider_frontend_ajax('gal_front_form_" . $bwg . "', '" . $bwg . "', 'bwg_album_compact_" . $bwg . "', '" . $album_galallery_row->alb_gal_id . "', '" . $album_gallery_id . "', '" . $def_type . "')\"" : "href='" . $permalink . "'") ?>>
446
  <span class="bwg_album_thumb_<?php echo $bwg; ?>">
447
- <span class="bwg_album_thumb_span1_<?php echo $bwg; ?>">
448
- <span class="bwg_album_thumb_span2_<?php echo $bwg; ?>">
449
  <img style="padding: 0 !important; max-height: none !important; max-width: none !important; width: <?php echo $image_thumb_width; ?>px; height:<?php echo $image_thumb_height; ?>px; margin-left: <?php echo $thumb_left; ?>px; margin-top: <?php echo $thumb_top; ?>px;" src="<?php echo $preview_url; ?>" />
450
  <?php
451
  if ($params['compuct_album_title'] == 'hover') {
452
  ?>
453
- <span class="bwg_title_span1_<?php echo $bwg; ?>">
454
- <span class="bwg_title_span2_<?php echo $bwg; ?>">
455
  <?php echo $title; ?>
456
  </span>
457
  </span>
@@ -463,8 +463,8 @@ class BWGViewAlbum_compact_preview {
463
  <?php
464
  if ($params['compuct_album_title'] == 'show') {
465
  ?>
466
- <span class="bwg_title_span1_<?php echo $bwg; ?>">
467
- <span class="bwg_title_span2_<?php echo $bwg; ?>">
468
  <?php echo $title; ?>
469
  </span>
470
  </span>
@@ -524,7 +524,7 @@ class BWGViewAlbum_compact_preview {
524
  $params_array['watermark_width'] = $params['watermark_width'];
525
  $params_array['watermark_height'] = $params['watermark_height'];
526
  }
527
- list($image_thumb_width, $image_thumb_height) = getimagesize(ABSPATH . $WD_BWG_UPLOAD_DIR . $image_row->thumb_url);
528
  $scale = max($params['compuct_album_image_thumb_width'] / $image_thumb_width, $params['compuct_album_image_thumb_height'] / $image_thumb_height);
529
  $image_thumb_width *= $scale;
530
  $image_thumb_height *= $scale;
@@ -533,14 +533,14 @@ class BWGViewAlbum_compact_preview {
533
  ?>
534
  <a style="font-size: 0;" href="javascript:spider_createpopup('<?php echo addslashes(add_query_arg($params_array, admin_url('admin-ajax.php'))); ?>', '<?php echo $bwg; ?>', '<?php echo $params['popup_width']; ?>', '<?php echo $params['popup_height']; ?>', 1, 'testpopup', 5);">
535
  <span class="bwg_standart_thumb_<?php echo $bwg; ?>">
536
- <span class="bwg_standart_thumb_span1_<?php echo $bwg; ?>">
537
- <span class="bwg_standart_thumb_span2_<?php echo $bwg; ?>">
538
  <img style="max-height:none; max-width:none; width:<?php echo $image_thumb_width; ?>px; height:<?php echo $image_thumb_height; ?>px; margin-left: <?php echo $thumb_left; ?>px; margin-top: <?php echo $thumb_top; ?>px;" id="<?php echo $image_row->id; ?>" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->thumb_url; ?>" alt="<?php echo $image_row->alt; ?>" title="<?php echo $image_row->alt; ?>" />
539
  <?php
540
  if ($params['compuct_album_image_title'] == 'hover') {
541
  ?>
542
- <span class="bwg_image_title_span1_<?php echo $bwg; ?>">
543
- <span class="bwg_image_title_span2_<?php echo $bwg; ?>">
544
  <?php echo $image_row->alt; ?>
545
  </span>
546
  </span>
@@ -552,8 +552,8 @@ class BWGViewAlbum_compact_preview {
552
  <?php
553
  if ($params['compuct_album_image_title'] == 'show') {
554
  ?>
555
- <span class="bwg_image_title_span1_<?php echo $bwg; ?>">
556
- <span class="bwg_image_title_span2_<?php echo $bwg; ?>">
557
  <?php echo $image_row->alt; ?>
558
  </span>
559
  </span>
88
  -moz-box-sizing: content-box;
89
  box-sizing: content-box;
90
  }
91
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_spun1_<?php echo $bwg; ?> {
92
  background-color: #<?php echo $theme_row->album_compact_thumb_bg_color; ?>;
93
  border-radius: <?php echo $theme_row->album_compact_thumb_border_radius; ?>;
94
  border: <?php echo $theme_row->album_compact_thumb_border_width; ?>px <?php echo $theme_row->album_compact_thumb_border_style; ?> #<?php echo $theme_row->album_compact_thumb_border_color; ?>;
107
  -webkit-backface-visibility: visible;
108
  -ms-backface-visibility: visible;
109
  }
110
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_spun1_<?php echo $bwg; ?>:hover {
111
  opacity: 1;
112
  filter: Alpha(opacity=100);
113
  transform: <?php echo $theme_row->album_compact_thumb_hover_effect; ?>(<?php echo $theme_row->album_compact_thumb_hover_effect_value; ?>);
119
  -ms-backface-visibility: hidden;
120
  z-index: 102;
121
  }
122
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_spun2_<?php echo $bwg; ?> {
123
  display: inline-block;
124
  height: <?php echo $params['compuct_album_thumb_height']; ?>px;
125
  overflow: hidden;
141
  <?php
142
  if ($params['compuct_album_title'] == 'show') { // Show album/gallery title at the bottom.
143
  ?>
144
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_title_spun1_<?php echo $bwg; ?> {
145
  display: block;
146
  opacity: 1;
147
  filter: Alpha(opacity=100);
152
  }
153
  elseif ($params['compuct_album_title'] == 'hover') { // Show album/gallery title on hover.
154
  ?>
155
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_title_spun1_<?php echo $bwg; ?> {
156
  display: table;
157
  height: inherit;
158
  left: -3000px;
165
  <?php
166
  }
167
  ?>
168
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_spun1_<?php echo $bwg; ?>:hover .bwg_title_spun1_<?php echo $bwg; ?> {
169
  left: <?php echo $theme_row->album_compact_thumb_padding; ?>px;
170
  top: <?php echo $theme_row->album_compact_thumb_padding; ?>px;
171
  opacity: 1;
172
  filter: Alpha(opacity=100);
173
  }
174
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_title_spun2_<?php echo $bwg; ?> {
175
  color: #<?php echo $theme_row->album_compact_title_font_color; ?>;
176
  display: table-cell;
177
  font-family: <?php echo $theme_row->album_compact_title_font_style; ?>;
197
  text-decoration: none;
198
  }
199
  /*Image thumbs styles.*/
200
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_spun1_<?php echo $bwg; ?> {
201
  background-color: #<?php echo $theme_row->thumb_bg_color; ?>;
202
  border-radius: <?php echo $theme_row->thumb_border_radius; ?>;
203
  border: <?php echo $theme_row->thumb_border_width; ?>px <?php echo $theme_row->thumb_border_style; ?> #<?php echo $theme_row->thumb_border_color; ?>;
214
  width: <?php echo $params['compuct_album_image_thumb_width']; ?>px;
215
  z-index: 100;
216
  }
217
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_spun1_<?php echo $bwg; ?>:hover {
218
  -ms-transform: <?php echo $theme_row->thumb_hover_effect; ?>(<?php echo $theme_row->thumb_hover_effect_value; ?>);
219
  -webkit-transform: <?php echo $theme_row->thumb_hover_effect; ?>(<?php echo $theme_row->thumb_hover_effect_value; ?>);
220
  backface-visibility: hidden;
227
  z-index: 102;
228
  position: relative;
229
  }
230
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_spun2_<?php echo $bwg; ?> {
231
  display: inline-block;
232
  height: <?php echo $params['compuct_album_image_thumb_height']; ?>px;
233
  overflow: hidden;
253
  <?php
254
  if ($params['compuct_album_image_title'] == 'show') { // Show image title at the bottom.
255
  ?>
256
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_image_title_spun1_<?php echo $bwg; ?> {
257
  display: block;
258
  margin: 0 auto;
259
  opacity: 1;
265
  }
266
  elseif ($params['compuct_album_image_title'] == 'hover') { // Show image title on hover.
267
  ?>
268
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_image_title_spun1_<?php echo $bwg; ?> {
269
  display: table;
270
  height: inherit;
271
  left: -3000px;
278
  <?php
279
  }
280
  ?>
281
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_spun1_<?php echo $bwg; ?>:hover .bwg_image_title_spun1_<?php echo $bwg; ?> {
282
  left: <?php echo $theme_row->thumb_padding; ?>px;
283
  top: <?php echo $theme_row->thumb_padding; ?>px;
284
  opacity: 1;
285
  filter: Alpha(opacity=100);
286
  }
287
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_image_title_spun2_<?php echo $bwg; ?> {
288
  color: #<?php echo $theme_row->thumb_title_font_color; ?>;
289
  display: table-cell;
290
  font-family: <?php echo $theme_row->thumb_title_font_style; ?>;
434
  $preview_url = site_url() . '/' . $WD_BWG_UPLOAD_DIR . $preview_image;
435
  $preview_path = ABSPATH . $WD_BWG_UPLOAD_DIR . $preview_image;
436
  }
437
+ list($image_thumb_width, $image_thumb_height) = getimagesize(htmlspecialchars_decode($preview_path));
438
  $scale = max($params['compuct_album_thumb_width'] / $image_thumb_width, $params['compuct_album_thumb_height'] / $image_thumb_height);
439
  $image_thumb_width *= $scale;
440
  $image_thumb_height *= $scale;
444
  ?>
445
  <a style="font-size: 0;" <?php echo ($from !== "widget" ? "onclick=\"spider_frontend_ajax('gal_front_form_" . $bwg . "', '" . $bwg . "', 'bwg_album_compact_" . $bwg . "', '" . $album_galallery_row->alb_gal_id . "', '" . $album_gallery_id . "', '" . $def_type . "')\"" : "href='" . $permalink . "'") ?>>
446
  <span class="bwg_album_thumb_<?php echo $bwg; ?>">
447
+ <span class="bwg_album_thumb_spun1_<?php echo $bwg; ?>">
448
+ <span class="bwg_album_thumb_spun2_<?php echo $bwg; ?>">
449
  <img style="padding: 0 !important; max-height: none !important; max-width: none !important; width: <?php echo $image_thumb_width; ?>px; height:<?php echo $image_thumb_height; ?>px; margin-left: <?php echo $thumb_left; ?>px; margin-top: <?php echo $thumb_top; ?>px;" src="<?php echo $preview_url; ?>" />
450
  <?php
451
  if ($params['compuct_album_title'] == 'hover') {
452
  ?>
453
+ <span class="bwg_title_spun1_<?php echo $bwg; ?>">
454
+ <span class="bwg_title_spun2_<?php echo $bwg; ?>">
455
  <?php echo $title; ?>
456
  </span>
457
  </span>
463
  <?php
464
  if ($params['compuct_album_title'] == 'show') {
465
  ?>
466
+ <span class="bwg_title_spun1_<?php echo $bwg; ?>">
467
+ <span class="bwg_title_spun2_<?php echo $bwg; ?>">
468
  <?php echo $title; ?>
469
  </span>
470
  </span>
524
  $params_array['watermark_width'] = $params['watermark_width'];
525
  $params_array['watermark_height'] = $params['watermark_height'];
526
  }
527
+ list($image_thumb_width, $image_thumb_height) = getimagesize(htmlspecialchars_decode(ABSPATH . $WD_BWG_UPLOAD_DIR . $image_row->thumb_url));
528
  $scale = max($params['compuct_album_image_thumb_width'] / $image_thumb_width, $params['compuct_album_image_thumb_height'] / $image_thumb_height);
529
  $image_thumb_width *= $scale;
530
  $image_thumb_height *= $scale;
533
  ?>
534
  <a style="font-size: 0;" href="javascript:spider_createpopup('<?php echo addslashes(add_query_arg($params_array, admin_url('admin-ajax.php'))); ?>', '<?php echo $bwg; ?>', '<?php echo $params['popup_width']; ?>', '<?php echo $params['popup_height']; ?>', 1, 'testpopup', 5);">
535
  <span class="bwg_standart_thumb_<?php echo $bwg; ?>">
536
+ <span class="bwg_standart_thumb_spun1_<?php echo $bwg; ?>">
537
+ <span class="bwg_standart_thumb_spun2_<?php echo $bwg; ?>">
538
  <img style="max-height:none; max-width:none; width:<?php echo $image_thumb_width; ?>px; height:<?php echo $image_thumb_height; ?>px; margin-left: <?php echo $thumb_left; ?>px; margin-top: <?php echo $thumb_top; ?>px;" id="<?php echo $image_row->id; ?>" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->thumb_url; ?>" alt="<?php echo $image_row->alt; ?>" title="<?php echo $image_row->alt; ?>" />
539
  <?php
540
  if ($params['compuct_album_image_title'] == 'hover') {
541
  ?>
542
+ <span class="bwg_image_title_spun1_<?php echo $bwg; ?>">
543
+ <span class="bwg_image_title_spun2_<?php echo $bwg; ?>">
544
  <?php echo $image_row->alt; ?>
545
  </span>
546
  </span>
552
  <?php
553
  if ($params['compuct_album_image_title'] == 'show') {
554
  ?>
555
+ <span class="bwg_image_title_spun1_<?php echo $bwg; ?>">
556
+ <span class="bwg_image_title_spun2_<?php echo $bwg; ?>">
557
  <?php echo $image_row->alt; ?>
558
  </span>
559
  </span>
frontend/views/BWGViewAlbum_extended_preview.php CHANGED
@@ -124,7 +124,7 @@ class BWGViewAlbum_extended_preview {
124
  display: table-row;
125
  }
126
  }
127
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_title_span_<?php echo $bwg; ?> {
128
  border: <?php echo $theme_row->album_extended_title_span_border_width; ?>px <?php echo $theme_row->album_extended_title_span_border_style; ?> #<?php echo $theme_row->album_extended_title_span_border_color; ?>;
129
  color: #<?php echo $theme_row->album_extended_title_font_color; ?>;
130
  display: block;
@@ -138,7 +138,7 @@ class BWGViewAlbum_extended_preview {
138
  vertical-align: middle;
139
  width: inherit;
140
  }
141
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_description_span1_<?php echo $bwg; ?> {
142
  border: <?php echo $theme_row->album_extended_desc_span_border_width; ?>px <?php echo $theme_row->album_extended_desc_span_border_style; ?> #<?php echo $theme_row->album_extended_desc_span_border_color; ?>;
143
  display: inline-block;
144
  color: #<?php echo $theme_row->album_extended_desc_font_color; ?>;
@@ -152,11 +152,11 @@ class BWGViewAlbum_extended_preview {
152
  word-wrap: break-word;
153
  word-break: break-word;
154
  }
155
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_description_span1_<?php echo $bwg; ?> * {
156
  margin: 0;
157
  text-align: left !important;
158
  }
159
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_description_span2_<?php echo $bwg; ?> {
160
  float: left;
161
  }
162
  #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_description_short_<?php echo $bwg; ?> {
@@ -178,7 +178,7 @@ class BWGViewAlbum_extended_preview {
178
  display: inline-block;
179
  text-align: center;
180
  }
181
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_span1_<?php echo $bwg; ?> {
182
  background-color: #<?php echo $theme_row->album_extended_thumb_bg_color; ?>;
183
  border-radius: <?php echo $theme_row->album_extended_thumb_border_radius; ?>;
184
  border: <?php echo $theme_row->album_extended_thumb_border_width; ?>px <?php echo $theme_row->album_extended_thumb_border_style; ?> #<?php echo $theme_row->album_extended_thumb_border_color; ?>;
@@ -195,7 +195,7 @@ class BWGViewAlbum_extended_preview {
195
  width: <?php echo $params['extended_album_thumb_width']; ?>px;
196
  z-index: 100;
197
  }
198
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_span1_<?php echo $bwg; ?>:hover {
199
  opacity: 1;
200
  filter: Alpha(opacity=100);
201
  transform: <?php echo $theme_row->album_extended_thumb_hover_effect; ?>(<?php echo $theme_row->album_extended_thumb_hover_effect_value; ?>);
@@ -207,14 +207,14 @@ class BWGViewAlbum_extended_preview {
207
  -ms-backface-visibility: hidden;
208
  z-index: 102;
209
  }
210
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_span2_<?php echo $bwg; ?> {
211
  display: inline-block;
212
  height: <?php echo $params['extended_album_thumb_height']; ?>px;
213
  overflow: hidden;
214
  width: <?php echo $params['extended_album_thumb_width']; ?>px;
215
  }
216
  /*Image thumbs styles.*/
217
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_span1_<?php echo $bwg; ?> {
218
  background-color: #<?php echo $theme_row->thumb_bg_color; ?>;
219
  border-radius: <?php echo $theme_row->thumb_border_radius; ?>;
220
  border: <?php echo $theme_row->thumb_border_width; ?>px <?php echo $theme_row->thumb_border_style; ?> #<?php echo $theme_row->thumb_border_color; ?>;
@@ -231,7 +231,7 @@ class BWGViewAlbum_extended_preview {
231
  width: <?php echo $params['extended_album_image_thumb_width']; ?>px;
232
  z-index: 100;
233
  }
234
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_span1_<?php echo $bwg; ?>:hover {
235
  -ms-transform: <?php echo $theme_row->thumb_hover_effect; ?>(<?php echo $theme_row->thumb_hover_effect_value; ?>);
236
  -webkit-transform: <?php echo $theme_row->thumb_hover_effect; ?>(<?php echo $theme_row->thumb_hover_effect_value; ?>);
237
  backface-visibility: hidden;
@@ -244,7 +244,7 @@ class BWGViewAlbum_extended_preview {
244
  z-index: 102;
245
  position: relative;
246
  }
247
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_span2_<?php echo $bwg; ?> {
248
  display: inline-block;
249
  height: <?php echo $params['extended_album_image_thumb_height']; ?>px;
250
  overflow: hidden;
@@ -270,7 +270,7 @@ class BWGViewAlbum_extended_preview {
270
  <?php
271
  if ($params['extended_album_image_title'] == 'show') { // Show image title at the bottom.
272
  ?>
273
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_image_title_span1_<?php echo $bwg; ?> {
274
  display: block;
275
  margin: 0 auto;
276
  opacity: 1;
@@ -282,7 +282,7 @@ class BWGViewAlbum_extended_preview {
282
  }
283
  elseif ($params['extended_album_image_title'] == 'hover') { // Show image title on hover.
284
  ?>
285
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_image_title_span1_<?php echo $bwg; ?> {
286
  display: table;
287
  height: inherit;
288
  left: -3000px;
@@ -295,13 +295,13 @@ class BWGViewAlbum_extended_preview {
295
  <?php
296
  }
297
  ?>
298
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_span1_<?php echo $bwg; ?>:hover .bwg_image_title_span1_<?php echo $bwg; ?> {
299
  left: <?php echo $theme_row->thumb_padding; ?>px;
300
  top: <?php echo $theme_row->thumb_padding; ?>px;
301
  opacity: 1;
302
  filter: Alpha(opacity=100);
303
  }
304
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_image_title_span2_<?php echo $bwg; ?> {
305
  color: #<?php echo $theme_row->thumb_title_font_color; ?>;
306
  display: table-cell;
307
  font-family: <?php echo $theme_row->thumb_title_font_style; ?>;
@@ -450,7 +450,7 @@ class BWGViewAlbum_extended_preview {
450
  $preview_url = site_url() . '/' . $WD_BWG_UPLOAD_DIR . $preview_image;
451
  $preview_path = ABSPATH . $WD_BWG_UPLOAD_DIR . $preview_image;
452
  }
453
- list($image_thumb_width, $image_thumb_height) = getimagesize($preview_path);
454
  $scale = max($params['extended_album_thumb_width'] / $image_thumb_width, $params['extended_album_thumb_height'] / $image_thumb_height);
455
  $image_thumb_width *= $scale;
456
  $image_thumb_height *= $scale;
@@ -462,8 +462,8 @@ class BWGViewAlbum_extended_preview {
462
  <div class="bwg_album_extended_thumb_div_<?php echo $bwg; ?>">
463
  <a style="font-size: 0;" onclick="spider_frontend_ajax('gal_front_form_<?php echo $bwg; ?>', '<?php echo $bwg; ?>', 'bwg_album_extended_<?php echo $bwg; ?>', '<?php echo $album_galallery_row->alb_gal_id; ?>', '<?php echo $album_gallery_id; ?>', '<?php echo $def_type; ?>')">
464
  <span class="bwg_album_thumb_<?php echo $bwg; ?>" style="height:inherit;">
465
- <span class="bwg_album_thumb_span1_<?php echo $bwg; ?>">
466
- <span class="bwg_album_thumb_span2_<?php echo $bwg; ?>">
467
  <img style="padding: 0; max-height:none; max-width:none; width:<?php echo $image_thumb_width; ?>px; height:<?php echo $image_thumb_height; ?>px; margin-left: <?php echo $thumb_left; ?>px; margin-top: <?php echo $thumb_top; ?>px;" src="<?php echo $preview_url; ?>" />
468
  </span>
469
  </span>
@@ -474,7 +474,7 @@ class BWGViewAlbum_extended_preview {
474
  <?php
475
  if ($title) {
476
  ?>
477
- <span class="bwg_title_span_<?php echo $bwg; ?>"><?php echo $title; ?></span>
478
  <?php
479
  }
480
  if ($params['extended_album_description_enable'] && $description) {
@@ -483,8 +483,8 @@ class BWGViewAlbum_extended_preview {
483
  $description_short = $description_array[0];
484
  $description_full = $description_array[1];
485
  ?>
486
- <span class="bwg_description_span1_<?php echo $bwg; ?>">
487
- <span class="bwg_description_span2_<?php echo $bwg; ?>">
488
  <span class="bwg_description_short_<?php echo $bwg; ?>">
489
  <?php echo $description_short; ?>
490
  </span>
@@ -498,7 +498,7 @@ class BWGViewAlbum_extended_preview {
498
  }
499
  else {
500
  ?>
501
- <span class="bwg_description_span1_<?php echo $bwg; ?>">
502
  <span class="bwg_description_short_<?php echo $bwg; ?>">
503
  <?php echo $description; ?>
504
  </span>
@@ -560,7 +560,7 @@ class BWGViewAlbum_extended_preview {
560
  $params_array['watermark_width'] = $params['watermark_width'];
561
  $params_array['watermark_height'] = $params['watermark_height'];
562
  }
563
- list($image_thumb_width, $image_thumb_height) = getimagesize(ABSPATH . $WD_BWG_UPLOAD_DIR . $image_row->thumb_url);
564
  $scale = max($params['extended_album_image_thumb_width'] / $image_thumb_width, $params['extended_album_image_thumb_height'] / $image_thumb_height);
565
  $image_thumb_width *= $scale;
566
  $image_thumb_height *= $scale;
@@ -569,14 +569,14 @@ class BWGViewAlbum_extended_preview {
569
  ?>
570
  <a style="font-size: 0;" href="javascript:spider_createpopup('<?php echo addslashes(add_query_arg($params_array, admin_url('admin-ajax.php'))); ?>', '<?php echo $bwg; ?>', '<?php echo $params['popup_width']; ?>', '<?php echo $params['popup_height']; ?>', 1, 'testpopup', 5);">
571
  <span class="bwg_standart_thumb_<?php echo $bwg; ?>">
572
- <span class="bwg_standart_thumb_span1_<?php echo $bwg; ?>">
573
- <span class="bwg_standart_thumb_span2_<?php echo $bwg; ?>">
574
  <img style="max-height:none; max-width:none; width:<?php echo $image_thumb_width; ?>px; height:<?php echo $image_thumb_height; ?>px; margin-left: <?php echo $thumb_left; ?>px; margin-top: <?php echo $thumb_top; ?>px;" id="<?php echo $image_row->id; ?>" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->thumb_url; ?>" alt="<?php echo $image_row->alt; ?>" title="<?php echo $image_row->alt; ?>" />
575
  <?php
576
  if ($params['extended_album_image_title'] == 'hover') {
577
  ?>
578
- <span class="bwg_image_title_span1_<?php echo $bwg; ?>">
579
- <span class="bwg_image_title_span2_<?php echo $bwg; ?>">
580
  <?php echo $image_row->alt; ?>
581
  </span>
582
  </span>
@@ -588,8 +588,8 @@ class BWGViewAlbum_extended_preview {
588
  <?php
589
  if ($params['extended_album_image_title'] == 'show') {
590
  ?>
591
- <span class="bwg_image_title_span1_<?php echo $bwg; ?>">
592
- <span class="bwg_image_title_span2_<?php echo $bwg; ?>">
593
  <?php echo $image_row->alt; ?>
594
  </span>
595
  </span>
124
  display: table-row;
125
  }
126
  }
127
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_title_spun_<?php echo $bwg; ?> {
128
  border: <?php echo $theme_row->album_extended_title_span_border_width; ?>px <?php echo $theme_row->album_extended_title_span_border_style; ?> #<?php echo $theme_row->album_extended_title_span_border_color; ?>;
129
  color: #<?php echo $theme_row->album_extended_title_font_color; ?>;
130
  display: block;
138
  vertical-align: middle;
139
  width: inherit;
140
  }
141
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_description_spun1_<?php echo $bwg; ?> {
142
  border: <?php echo $theme_row->album_extended_desc_span_border_width; ?>px <?php echo $theme_row->album_extended_desc_span_border_style; ?> #<?php echo $theme_row->album_extended_desc_span_border_color; ?>;
143
  display: inline-block;
144
  color: #<?php echo $theme_row->album_extended_desc_font_color; ?>;
152
  word-wrap: break-word;
153
  word-break: break-word;
154
  }
155
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_description_spun1_<?php echo $bwg; ?> * {
156
  margin: 0;
157
  text-align: left !important;
158
  }
159
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_description_spun2_<?php echo $bwg; ?> {
160
  float: left;
161
  }
162
  #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_description_short_<?php echo $bwg; ?> {
178
  display: inline-block;
179
  text-align: center;
180
  }
181
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_spun1_<?php echo $bwg; ?> {
182
  background-color: #<?php echo $theme_row->album_extended_thumb_bg_color; ?>;
183
  border-radius: <?php echo $theme_row->album_extended_thumb_border_radius; ?>;
184
  border: <?php echo $theme_row->album_extended_thumb_border_width; ?>px <?php echo $theme_row->album_extended_thumb_border_style; ?> #<?php echo $theme_row->album_extended_thumb_border_color; ?>;
195
  width: <?php echo $params['extended_album_thumb_width']; ?>px;
196
  z-index: 100;
197
  }
198
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_spun1_<?php echo $bwg; ?>:hover {
199
  opacity: 1;
200
  filter: Alpha(opacity=100);
201
  transform: <?php echo $theme_row->album_extended_thumb_hover_effect; ?>(<?php echo $theme_row->album_extended_thumb_hover_effect_value; ?>);
207
  -ms-backface-visibility: hidden;
208
  z-index: 102;
209
  }
210
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_album_thumb_spun2_<?php echo $bwg; ?> {
211
  display: inline-block;
212
  height: <?php echo $params['extended_album_thumb_height']; ?>px;
213
  overflow: hidden;
214
  width: <?php echo $params['extended_album_thumb_width']; ?>px;
215
  }
216
  /*Image thumbs styles.*/
217
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_spun1_<?php echo $bwg; ?> {
218
  background-color: #<?php echo $theme_row->thumb_bg_color; ?>;
219
  border-radius: <?php echo $theme_row->thumb_border_radius; ?>;
220
  border: <?php echo $theme_row->thumb_border_width; ?>px <?php echo $theme_row->thumb_border_style; ?> #<?php echo $theme_row->thumb_border_color; ?>;
231
  width: <?php echo $params['extended_album_image_thumb_width']; ?>px;
232
  z-index: 100;
233
  }
234
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_spun1_<?php echo $bwg; ?>:hover {
235
  -ms-transform: <?php echo $theme_row->thumb_hover_effect; ?>(<?php echo $theme_row->thumb_hover_effect_value; ?>);
236
  -webkit-transform: <?php echo $theme_row->thumb_hover_effect; ?>(<?php echo $theme_row->thumb_hover_effect_value; ?>);
237
  backface-visibility: hidden;
244
  z-index: 102;
245
  position: relative;
246
  }
247
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_spun2_<?php echo $bwg; ?> {
248
  display: inline-block;
249
  height: <?php echo $params['extended_album_image_thumb_height']; ?>px;
250
  overflow: hidden;
270
  <?php
271
  if ($params['extended_album_image_title'] == 'show') { // Show image title at the bottom.
272
  ?>
273
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_image_title_spun1_<?php echo $bwg; ?> {
274
  display: block;
275
  margin: 0 auto;
276
  opacity: 1;
282
  }
283
  elseif ($params['extended_album_image_title'] == 'hover') { // Show image title on hover.
284
  ?>
285
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_image_title_spun1_<?php echo $bwg; ?> {
286
  display: table;
287
  height: inherit;
288
  left: -3000px;
295
  <?php
296
  }
297
  ?>
298
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_spun1_<?php echo $bwg; ?>:hover .bwg_image_title_spun1_<?php echo $bwg; ?> {
299
  left: <?php echo $theme_row->thumb_padding; ?>px;
300
  top: <?php echo $theme_row->thumb_padding; ?>px;
301
  opacity: 1;
302
  filter: Alpha(opacity=100);
303
  }
304
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_image_title_spun2_<?php echo $bwg; ?> {
305
  color: #<?php echo $theme_row->thumb_title_font_color; ?>;
306
  display: table-cell;
307
  font-family: <?php echo $theme_row->thumb_title_font_style; ?>;
450
  $preview_url = site_url() . '/' . $WD_BWG_UPLOAD_DIR . $preview_image;
451
  $preview_path = ABSPATH . $WD_BWG_UPLOAD_DIR . $preview_image;
452
  }
453
+ list($image_thumb_width, $image_thumb_height) = getimagesize(htmlspecialchars_decode($preview_path));
454
  $scale = max($params['extended_album_thumb_width'] / $image_thumb_width, $params['extended_album_thumb_height'] / $image_thumb_height);
455
  $image_thumb_width *= $scale;
456
  $image_thumb_height *= $scale;
462
  <div class="bwg_album_extended_thumb_div_<?php echo $bwg; ?>">
463
  <a style="font-size: 0;" onclick="spider_frontend_ajax('gal_front_form_<?php echo $bwg; ?>', '<?php echo $bwg; ?>', 'bwg_album_extended_<?php echo $bwg; ?>', '<?php echo $album_galallery_row->alb_gal_id; ?>', '<?php echo $album_gallery_id; ?>', '<?php echo $def_type; ?>')">
464
  <span class="bwg_album_thumb_<?php echo $bwg; ?>" style="height:inherit;">
465
+ <span class="bwg_album_thumb_spun1_<?php echo $bwg; ?>">
466
+ <span class="bwg_album_thumb_spun2_<?php echo $bwg; ?>">
467
  <img style="padding: 0; max-height:none; max-width:none; width:<?php echo $image_thumb_width; ?>px; height:<?php echo $image_thumb_height; ?>px; margin-left: <?php echo $thumb_left; ?>px; margin-top: <?php echo $thumb_top; ?>px;" src="<?php echo $preview_url; ?>" />
468
  </span>
469
  </span>
474
  <?php
475
  if ($title) {
476
  ?>
477
+ <span class="bwg_title_spun_<?php echo $bwg; ?>"><?php echo $title; ?></span>
478
  <?php
479
  }
480
  if ($params['extended_album_description_enable'] && $description) {
483
  $description_short = $description_array[0];
484
  $description_full = $description_array[1];
485
  ?>
486
+ <span class="bwg_description_spun1_<?php echo $bwg; ?>">
487
+ <span class="bwg_description_spun2_<?php echo $bwg; ?>">
488
  <span class="bwg_description_short_<?php echo $bwg; ?>">
489
  <?php echo $description_short; ?>
490
  </span>
498
  }
499
  else {
500
  ?>
501
+ <span class="bwg_description_spun1_<?php echo $bwg; ?>">
502
  <span class="bwg_description_short_<?php echo $bwg; ?>">
503
  <?php echo $description; ?>
504
  </span>
560
  $params_array['watermark_width'] = $params['watermark_width'];
561
  $params_array['watermark_height'] = $params['watermark_height'];
562
  }
563
+ list($image_thumb_width, $image_thumb_height) = getimagesize(htmlspecialchars_decode(ABSPATH . $WD_BWG_UPLOAD_DIR . $image_row->thumb_url));
564
  $scale = max($params['extended_album_image_thumb_width'] / $image_thumb_width, $params['extended_album_image_thumb_height'] / $image_thumb_height);
565
  $image_thumb_width *= $scale;
566
  $image_thumb_height *= $scale;
569
  ?>
570
  <a style="font-size: 0;" href="javascript:spider_createpopup('<?php echo addslashes(add_query_arg($params_array, admin_url('admin-ajax.php'))); ?>', '<?php echo $bwg; ?>', '<?php echo $params['popup_width']; ?>', '<?php echo $params['popup_height']; ?>', 1, 'testpopup', 5);">
571
  <span class="bwg_standart_thumb_<?php echo $bwg; ?>">
572
+ <span class="bwg_standart_thumb_spun1_<?php echo $bwg; ?>">
573
+ <span class="bwg_standart_thumb_spun2_<?php echo $bwg; ?>">
574
  <img style="max-height:none; max-width:none; width:<?php echo $image_thumb_width; ?>px; height:<?php echo $image_thumb_height; ?>px; margin-left: <?php echo $thumb_left; ?>px; margin-top: <?php echo $thumb_top; ?>px;" id="<?php echo $image_row->id; ?>" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->thumb_url; ?>" alt="<?php echo $image_row->alt; ?>" title="<?php echo $image_row->alt; ?>" />
575
  <?php
576
  if ($params['extended_album_image_title'] == 'hover') {
577
  ?>
578
+ <span class="bwg_image_title_spun1_<?php echo $bwg; ?>">
579
+ <span class="bwg_image_title_spun2_<?php echo $bwg; ?>">
580
  <?php echo $image_row->alt; ?>
581
  </span>
582
  </span>
588
  <?php
589
  if ($params['extended_album_image_title'] == 'show') {
590
  ?>
591
+ <span class="bwg_image_title_spun1_<?php echo $bwg; ?>">
592
+ <span class="bwg_image_title_spun2_<?php echo $bwg; ?>">
593
  <?php echo $image_row->alt; ?>
594
  </span>
595
  </span>
frontend/views/BWGViewGalleryBox.php CHANGED
@@ -498,7 +498,7 @@ class BWGViewGalleryBox {
498
  position: relative;
499
  vertical-align: middle;
500
  }
501
- .bwg_watermark_span {
502
  display: table-cell;
503
  overflow: hidden;
504
  position: relative;
@@ -543,7 +543,7 @@ class BWGViewGalleryBox {
543
  height: inherit;
544
  width: inherit;
545
  }
546
- .bwg_popup_image_span {
547
  height: inherit;
548
  display: table-cell;
549
  filter: Alpha(opacity=100);
@@ -553,7 +553,7 @@ class BWGViewGalleryBox {
553
  width: inherit;
554
  z-index: 2;
555
  }
556
- .bwg_popup_image_second_span {
557
  width: inherit;
558
  height: inherit;
559
  display: table-cell;
@@ -645,9 +645,9 @@ class BWGViewGalleryBox {
645
  if ($image_row->id == $current_image_id) {
646
  $current_key = $key;
647
  ?>
648
- <span class="bwg_popup_image_span" id="image_id_<?php echo $image_row->id; ?>">
649
- <span class="bwg_popup_image_span1" style="display: table; width: inherit; height: inherit;">
650
- <span class="bwg_popup_image_span2" style="display: table-cell; vertical-align: middle; text-align: center;">
651
  <img id="bwg_popup_image" class="bwg_popup_image" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->image_url; ?>" image_id="<?php echo $image_row->id; ?>" />
652
  </span>
653
  </span>
@@ -663,9 +663,9 @@ class BWGViewGalleryBox {
663
  }
664
  else {
665
  ?>
666
- <span class="bwg_popup_image_second_span" id="image_id_<?php echo $image_row->id; ?>">
667
- <span class="bwg_popup_image_span1" style="display: table; width: inherit; height: inherit;">
668
- <span class="bwg_popup_image_span2" style="display: table-cell; vertical-align: middle; text-align: center;">
669
  <img id="bwg_popup_image_second" class="bwg_popup_image" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->image_url; ?>" />
670
  </span>
671
  </span>
@@ -686,7 +686,7 @@ class BWGViewGalleryBox {
686
  <div class="bwg_image_container">
687
  <div class="bwg_watermark_container">
688
  <div style="display:table; margin:0 auto;">
689
- <span class="bwg_watermark_span" id="bwg_watermark_container">
690
  <?php
691
  if ($watermark_type == 'image') {
692
  ?>
@@ -727,8 +727,8 @@ class BWGViewGalleryBox {
727
  var bwg_current_image_span = jQuery(this).find("img");
728
  var width = jQuery(this).find("img").width();
729
  var height = bwg_current_image_span.height();
730
- jQuery(".bwg_watermark_span").width(width);
731
- jQuery(".bwg_watermark_span").height(height);
732
  jQuery(".bwg_watermark").css({display: ''});
733
  // Set watermark image size.
734
  var comment_container_width = 0;
@@ -1536,7 +1536,7 @@ class BWGViewGalleryBox {
1536
  jQuery(".bwg_image_wrap").css({width: bwg_popup_current_width - comment_container_width});
1537
  jQuery(".bwg_image_container").css({height: bwg_popup_current_height - <?php echo $image_filmstrip_height; ?>});
1538
  // jQuery(".bwg_slide_bg").css({height: bwg_popup_current_height - <?php echo $image_filmstrip_height; ?>});
1539
- // jQuery(".bwg_popup_image_span1").css({height: bwg_popup_current_height - <?php echo $image_filmstrip_height; ?>});
1540
  jQuery(".bwg_popup_image").css({
1541
  maxWidth: bwg_popup_current_width - comment_container_width,
1542
  maxHeight: bwg_popup_current_height - <?php echo $image_filmstrip_height; ?>
498
  position: relative;
499
  vertical-align: middle;
500
  }
501
+ .bwg_watermark_spun {
502
  display: table-cell;
503
  overflow: hidden;
504
  position: relative;
543
  height: inherit;
544
  width: inherit;
545
  }
546
+ .bwg_popup_image_spun {
547
  height: inherit;
548
  display: table-cell;
549
  filter: Alpha(opacity=100);
553
  width: inherit;
554
  z-index: 2;
555
  }
556
+ .bwg_popup_image_second_spun {
557
  width: inherit;
558
  height: inherit;
559
  display: table-cell;
645
  if ($image_row->id == $current_image_id) {
646
  $current_key = $key;
647
  ?>
648
+ <span class="bwg_popup_image_spun" id="image_id_<?php echo $image_row->id; ?>">
649
+ <span class="bwg_popup_image_spun1" style="display: table; width: inherit; height: inherit;">
650
+ <span class="bwg_popup_image_spun2" style="display: table-cell; vertical-align: middle; text-align: center;">
651
  <img id="bwg_popup_image" class="bwg_popup_image" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->image_url; ?>" image_id="<?php echo $image_row->id; ?>" />
652
  </span>
653
  </span>
663
  }
664
  else {
665
  ?>
666
+ <span class="bwg_popup_image_second_spun" id="image_id_<?php echo $image_row->id; ?>">
667
+ <span class="bwg_popup_image_spun1" style="display: table; width: inherit; height: inherit;">
668
+ <span class="bwg_popup_image_spun2" style="display: table-cell; vertical-align: middle; text-align: center;">
669
  <img id="bwg_popup_image_second" class="bwg_popup_image" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->image_url; ?>" />
670
  </span>
671
  </span>
686
  <div class="bwg_image_container">
687
  <div class="bwg_watermark_container">
688
  <div style="display:table; margin:0 auto;">
689
+ <span class="bwg_watermark_spun" id="bwg_watermark_container">
690
  <?php
691
  if ($watermark_type == 'image') {
692
  ?>
727
  var bwg_current_image_span = jQuery(this).find("img");
728
  var width = jQuery(this).find("img").width();
729
  var height = bwg_current_image_span.height();
730
+ jQuery(".bwg_watermark_spun").width(width);
731
+ jQuery(".bwg_watermark_spun").height(height);
732
  jQuery(".bwg_watermark").css({display: ''});
733
  // Set watermark image size.
734
  var comment_container_width = 0;
1536
  jQuery(".bwg_image_wrap").css({width: bwg_popup_current_width - comment_container_width});
1537
  jQuery(".bwg_image_container").css({height: bwg_popup_current_height - <?php echo $image_filmstrip_height; ?>});
1538
  // jQuery(".bwg_slide_bg").css({height: bwg_popup_current_height - <?php echo $image_filmstrip_height; ?>});
1539
+ // jQuery(".bwg_popup_image_spun1").css({height: bwg_popup_current_height - <?php echo $image_filmstrip_height; ?>});
1540
  jQuery(".bwg_popup_image").css({
1541
  maxWidth: bwg_popup_current_width - comment_container_width,
1542
  maxHeight: bwg_popup_current_height - <?php echo $image_filmstrip_height; ?>
frontend/views/BWGViewSlideshow.php CHANGED
@@ -372,21 +372,21 @@ class BWGViewSlideshow {
372
  position: relative;
373
  vertical-align: middle;
374
  }
375
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_watermark_span_<?php echo $bwg; ?> {
376
  display: table-cell;
377
  overflow: hidden;
378
  position: relative;
379
  text-align: <?php echo $watermark_position[1]; ?>;
380
  vertical-align: <?php echo $watermark_position[0]; ?>;
381
  }
382
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_title_span_<?php echo $bwg; ?> {
383
  display: table-cell;
384
  overflow: hidden;
385
  position: relative;
386
  text-align: <?php echo $slideshow_title_position[1]; ?>;
387
  vertical-align: <?php echo $slideshow_title_position[0]; ?>;
388
  }
389
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_description_span_<?php echo $bwg; ?> {
390
  display: table-cell;
391
  overflow: hidden;
392
  position: relative;
@@ -473,7 +473,7 @@ class BWGViewSlideshow {
473
  height: inherit;
474
  width: inherit;
475
  }
476
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_image_span_<?php echo $bwg; ?> {
477
  width: inherit;
478
  height: inherit;
479
  display: table-cell;
@@ -483,7 +483,7 @@ class BWGViewSlideshow {
483
  vertical-align: middle;
484
  z-index: 2;
485
  }
486
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_image_second_span_<?php echo $bwg; ?> {
487
  width: inherit;
488
  height: inherit;
489
  display: table-cell;
@@ -542,12 +542,12 @@ class BWGViewSlideshow {
542
  }
543
  #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_dots_deactive_<?php echo $bwg; ?> {
544
  }
545
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_image_span1_<?php echo $bwg; ?> {
546
  display: table;
547
  width: inherit;
548
  height: inherit;
549
  }
550
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_image_span2_<?php echo $bwg; ?> {
551
  display: table-cell;
552
  vertical-align: middle;
553
  text-align: center;
@@ -609,9 +609,9 @@ class BWGViewSlideshow {
609
  if ($image_row->id == $current_image_id) {
610
  $current_key = $key;
611
  ?>
612
- <span class="bwg_slideshow_image_span_<?php echo $bwg; ?>" id="image_id_<?php echo $bwg; ?>_<?php echo $image_row->id; ?>">
613
- <span class="bwg_slideshow_image_span1_<?php echo $bwg; ?>">
614
- <span class="bwg_slideshow_image_span2_<?php echo $bwg; ?>">
615
  <img id="bwg_slideshow_image_<?php echo $bwg; ?>" class="bwg_slideshow_image_<?php echo $bwg; ?>" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->image_url; ?>" image_id="<?php echo $image_row->id; ?>" />
616
  </span>
617
  </span>
@@ -621,9 +621,9 @@ class BWGViewSlideshow {
621
  }
622
  else {
623
  ?>
624
- <span class="bwg_slideshow_image_second_span_<?php echo $bwg; ?>" id="image_id_<?php echo $bwg; ?>_<?php echo $image_row->id; ?>">
625
- <span class="bwg_slideshow_image_span1_<?php echo $bwg; ?>">
626
- <span class="bwg_slideshow_image_span2_<?php echo $bwg; ?>">
627
  <img id="bwg_slideshow_image_second_<?php echo $bwg; ?>" class="bwg_slideshow_image_<?php echo $bwg; ?>" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->image_url; ?>" />
628
  </span>
629
  </span>
@@ -651,7 +651,7 @@ class BWGViewSlideshow {
651
  <div class="bwg_slideshow_image_container_<?php echo $bwg; ?>" style="position: absolute;">
652
  <div class="bwg_slideshow_watermark_container_<?php echo $bwg; ?>">
653
  <div style="display:table; margin:0 auto;">
654
- <span class="bwg_slideshow_watermark_span_<?php echo $bwg; ?>" id="bwg_slideshow_watermark_container_<?php echo $bwg; ?>">
655
  <?php
656
  if ($watermark_type == 'image') {
657
  ?>
@@ -677,7 +677,7 @@ class BWGViewSlideshow {
677
  <div class="bwg_slideshow_image_container_<?php echo $bwg; ?>" style="position: absolute;">
678
  <div class="bwg_slideshow_watermark_container_<?php echo $bwg; ?>">
679
  <div style="display:table; margin:0 auto;">
680
- <span class="bwg_slideshow_title_span_<?php echo $bwg; ?>">
681
  <div class="bwg_slideshow_title_text_<?php echo $bwg; ?>" style="<?php if (!$current_image_alt) echo 'display:none;'; ?>">
682
  <?php echo $current_image_alt; ?>
683
  </div>
@@ -692,7 +692,7 @@ class BWGViewSlideshow {
692
  <div class="bwg_slideshow_image_container_<?php echo $bwg; ?>" style="position: absolute;">
693
  <div class="bwg_slideshow_watermark_container_<?php echo $bwg; ?>">
694
  <div style="display:table; margin:0 auto;">
695
- <span class="bwg_slideshow_description_span_<?php echo $bwg; ?>">
696
  <div class="bwg_slideshow_description_text_<?php echo $bwg; ?>" style="<?php if (!$current_image_description) echo 'display:none;'; ?>">
697
  <?php echo html_entity_decode(str_replace("\r\n", esc_html('<br />'), $current_image_description)); ?>
698
  </div>
@@ -725,12 +725,12 @@ class BWGViewSlideshow {
725
  var bwg_current_image_span = jQuery(this).find("img");
726
  var width = bwg_current_image_span.width();
727
  var height = bwg_current_image_span.height();
728
- jQuery(".bwg_slideshow_watermark_span_<?php echo $bwg; ?>").width(width);
729
- jQuery(".bwg_slideshow_watermark_span_<?php echo $bwg; ?>").height(height);
730
- jQuery(".bwg_slideshow_title_span_<?php echo $bwg; ?>").width(width);
731
- jQuery(".bwg_slideshow_title_span_<?php echo $bwg; ?>").height(height);
732
- jQuery(".bwg_slideshow_description_span_<?php echo $bwg; ?>").width(width);
733
- jQuery(".bwg_slideshow_description_span_<?php echo $bwg; ?>").height(height);
734
  jQuery(".bwg_slideshow_watermark_<?php echo $bwg; ?>").css({display: ''});
735
  if (jQuery.trim(jQuery(".bwg_slideshow_title_text_<?php echo $bwg; ?>").text())) {
736
  jQuery(".bwg_slideshow_title_text_<?php echo $bwg; ?>").css({display: ''});
372
  position: relative;
373
  vertical-align: middle;
374
  }
375
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_watermark_spun_<?php echo $bwg; ?> {
376
  display: table-cell;
377
  overflow: hidden;
378
  position: relative;
379
  text-align: <?php echo $watermark_position[1]; ?>;
380
  vertical-align: <?php echo $watermark_position[0]; ?>;
381
  }
382
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_title_spun_<?php echo $bwg; ?> {
383
  display: table-cell;
384
  overflow: hidden;
385
  position: relative;
386
  text-align: <?php echo $slideshow_title_position[1]; ?>;
387
  vertical-align: <?php echo $slideshow_title_position[0]; ?>;
388
  }
389
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_description_spun_<?php echo $bwg; ?> {
390
  display: table-cell;
391
  overflow: hidden;
392
  position: relative;
473
  height: inherit;
474
  width: inherit;
475
  }
476
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_image_spun_<?php echo $bwg; ?> {
477
  width: inherit;
478
  height: inherit;
479
  display: table-cell;
483
  vertical-align: middle;
484
  z-index: 2;
485
  }
486
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_image_second_spun_<?php echo $bwg; ?> {
487
  width: inherit;
488
  height: inherit;
489
  display: table-cell;
542
  }
543
  #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_dots_deactive_<?php echo $bwg; ?> {
544
  }
545
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_image_spun1_<?php echo $bwg; ?> {
546
  display: table;
547
  width: inherit;
548
  height: inherit;
549
  }
550
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_slideshow_image_spun2_<?php echo $bwg; ?> {
551
  display: table-cell;
552
  vertical-align: middle;
553
  text-align: center;
609
  if ($image_row->id == $current_image_id) {
610
  $current_key = $key;
611
  ?>
612
+ <span class="bwg_slideshow_image_spun_<?php echo $bwg; ?>" id="image_id_<?php echo $bwg; ?>_<?php echo $image_row->id; ?>">
613
+ <span class="bwg_slideshow_image_spun1_<?php echo $bwg; ?>">
614
+ <span class="bwg_slideshow_image_spun2_<?php echo $bwg; ?>">
615
  <img id="bwg_slideshow_image_<?php echo $bwg; ?>" class="bwg_slideshow_image_<?php echo $bwg; ?>" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->image_url; ?>" image_id="<?php echo $image_row->id; ?>" />
616
  </span>
617
  </span>
621
  }
622
  else {
623
  ?>
624
+ <span class="bwg_slideshow_image_second_spun_<?php echo $bwg; ?>" id="image_id_<?php echo $bwg; ?>_<?php echo $image_row->id; ?>">
625
+ <span class="bwg_slideshow_image_spun1_<?php echo $bwg; ?>">
626
+ <span class="bwg_slideshow_image_spun2_<?php echo $bwg; ?>">
627
  <img id="bwg_slideshow_image_second_<?php echo $bwg; ?>" class="bwg_slideshow_image_<?php echo $bwg; ?>" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->image_url; ?>" />
628
  </span>
629
  </span>
651
  <div class="bwg_slideshow_image_container_<?php echo $bwg; ?>" style="position: absolute;">
652
  <div class="bwg_slideshow_watermark_container_<?php echo $bwg; ?>">
653
  <div style="display:table; margin:0 auto;">
654
+ <span class="bwg_slideshow_watermark_spun_<?php echo $bwg; ?>" id="bwg_slideshow_watermark_container_<?php echo $bwg; ?>">
655
  <?php
656
  if ($watermark_type == 'image') {
657
  ?>
677
  <div class="bwg_slideshow_image_container_<?php echo $bwg; ?>" style="position: absolute;">
678
  <div class="bwg_slideshow_watermark_container_<?php echo $bwg; ?>">
679
  <div style="display:table; margin:0 auto;">
680
+ <span class="bwg_slideshow_title_spun_<?php echo $bwg; ?>">
681
  <div class="bwg_slideshow_title_text_<?php echo $bwg; ?>" style="<?php if (!$current_image_alt) echo 'display:none;'; ?>">
682
  <?php echo $current_image_alt; ?>
683
  </div>
692
  <div class="bwg_slideshow_image_container_<?php echo $bwg; ?>" style="position: absolute;">
693
  <div class="bwg_slideshow_watermark_container_<?php echo $bwg; ?>">
694
  <div style="display:table; margin:0 auto;">
695
+ <span class="bwg_slideshow_description_spun_<?php echo $bwg; ?>">
696
  <div class="bwg_slideshow_description_text_<?php echo $bwg; ?>" style="<?php if (!$current_image_description) echo 'display:none;'; ?>">
697
  <?php echo html_entity_decode(str_replace("\r\n", esc_html('<br />'), $current_image_description)); ?>
698
  </div>
725
  var bwg_current_image_span = jQuery(this).find("img");
726
  var width = bwg_current_image_span.width();
727
  var height = bwg_current_image_span.height();
728
+ jQuery(".bwg_slideshow_watermark_spun_<?php echo $bwg; ?>").width(width);
729
+ jQuery(".bwg_slideshow_watermark_spun_<?php echo $bwg; ?>").height(height);
730
+ jQuery(".bwg_slideshow_title_spun_<?php echo $bwg; ?>").width(width);
731
+ jQuery(".bwg_slideshow_title_spun_<?php echo $bwg; ?>").height(height);
732
+ jQuery(".bwg_slideshow_description_spun_<?php echo $bwg; ?>").width(width);
733
+ jQuery(".bwg_slideshow_description_spun_<?php echo $bwg; ?>").height(height);
734
  jQuery(".bwg_slideshow_watermark_<?php echo $bwg; ?>").css({display: ''});
735
  if (jQuery.trim(jQuery(".bwg_slideshow_title_text_<?php echo $bwg; ?>").text())) {
736
  jQuery(".bwg_slideshow_title_text_<?php echo $bwg; ?>").css({display: ''});
frontend/views/BWGViewThumbnails.php CHANGED
@@ -97,7 +97,7 @@ class BWGViewThumbnails {
97
  -moz-box-sizing: border-box;
98
  box-sizing: border-box;
99
  }
100
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_span1_<?php echo $bwg; ?> {
101
  -moz-box-sizing: content-box;
102
  box-sizing: content-box;
103
  background-color: #<?php echo $theme_row->thumb_bg_color; ?>;
@@ -116,7 +116,7 @@ class BWGViewThumbnails {
116
  width: <?php echo $params['thumb_width']; ?>px;
117
  z-index: 100;
118
  }
119
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_span1_<?php echo $bwg; ?>:hover {
120
  -ms-transform: <?php echo $theme_row->thumb_hover_effect; ?>(<?php echo $theme_row->thumb_hover_effect_value; ?>);
121
  -webkit-transform: <?php echo $theme_row->thumb_hover_effect; ?>(<?php echo $theme_row->thumb_hover_effect_value; ?>);
122
  backface-visibility: hidden;
@@ -129,7 +129,7 @@ class BWGViewThumbnails {
129
  z-index: 102;
130
  position: relative;
131
  }
132
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_span2_<?php echo $bwg; ?> {
133
  display: inline-block;
134
  height: <?php echo $params['thumb_height']; ?>px;
135
  overflow: hidden;
@@ -153,7 +153,7 @@ class BWGViewThumbnails {
153
  <?php
154
  if ($params['image_title'] == 'show') { // Show image title at the bottom.
155
  ?>
156
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_title_span1_<?php echo $bwg; ?> {
157
  display: block;
158
  margin: 0 auto;
159
  opacity: 1;
@@ -165,7 +165,7 @@ class BWGViewThumbnails {
165
  }
166
  elseif ($params['image_title'] == 'hover') { // Show image title on hover.
167
  ?>
168
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_title_span1_<?php echo $bwg; ?> {
169
  display: table;
170
  height: inherit;
171
  left: -3000px;
@@ -178,13 +178,13 @@ class BWGViewThumbnails {
178
  <?php
179
  }
180
  ?>
181
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_span1_<?php echo $bwg; ?>:hover .bwg_title_span1_<?php echo $bwg; ?> {
182
  left: <?php echo $theme_row->thumb_padding; ?>px;
183
  top: <?php echo $theme_row->thumb_padding; ?>px;
184
  opacity: 1;
185
  filter: Alpha(opacity=100);
186
  }
187
- #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_title_span2_<?php echo $bwg; ?> {
188
  color: #<?php echo $theme_row->thumb_title_font_color; ?>;
189
  display: table-cell;
190
  font-family: <?php echo $theme_row->thumb_title_font_style; ?>;
@@ -321,7 +321,7 @@ class BWGViewThumbnails {
321
  $params_array['watermark_width'] = $params['watermark_width'];
322
  $params_array['watermark_height'] = $params['watermark_height'];
323
  }
324
- list($image_thumb_width, $image_thumb_height) = getimagesize(ABSPATH . $WD_BWG_UPLOAD_DIR . $image_row->thumb_url);
325
  $scale = max($params['thumb_width'] / $image_thumb_width, $params['thumb_height'] / $image_thumb_height);
326
  $image_thumb_width *= $scale;
327
  $image_thumb_height *= $scale;
@@ -330,14 +330,14 @@ class BWGViewThumbnails {
330
  ?>
331
  <a style="font-size: 0;" href="javascript:spider_createpopup('<?php echo addslashes(add_query_arg($params_array, admin_url('admin-ajax.php'))); ?>', '<?php echo $bwg; ?>', '<?php echo $params['popup_width']; ?>', '<?php echo $params['popup_height']; ?>', 1, 'testpopup', 5);">
332
  <span class="bwg_standart_thumb_<?php echo $bwg; ?>">
333
- <span class="bwg_standart_thumb_span1_<?php echo $bwg; ?>">
334
- <span class="bwg_standart_thumb_span2_<?php echo $bwg; ?>">
335
  <img class="bwg_standart_thumb_img_<?php echo $bwg; ?>" style="max-height: none !important; max-width: none !important; padding: 0 !important; width:<?php echo $image_thumb_width; ?>px; height:<?php echo $image_thumb_height; ?>px; margin-left: <?php echo $thumb_left; ?>px; margin-top: <?php echo $thumb_top; ?>px;" id="<?php echo $image_row->id; ?>" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->thumb_url; ?>" alt="<?php echo $image_row->alt; ?>" title="<?php echo $image_row->alt; ?>" />
336
  <?php
337
  if ($params['image_title'] == 'hover') {
338
  ?>
339
- <span class="bwg_title_span1_<?php echo $bwg; ?>">
340
- <span class="bwg_title_span2_<?php echo $bwg; ?>">
341
  <?php echo $image_row->alt; ?>
342
  </span>
343
  </span>
@@ -349,8 +349,8 @@ class BWGViewThumbnails {
349
  <?php
350
  if ($params['image_title'] == 'show') {
351
  ?>
352
- <span class="bwg_title_span1_<?php echo $bwg; ?>">
353
- <span class="bwg_title_span2_<?php echo $bwg; ?>">
354
  <?php echo $image_row->alt; ?>
355
  </span>
356
  </span>
97
  -moz-box-sizing: border-box;
98
  box-sizing: border-box;
99
  }
100
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_spun1_<?php echo $bwg; ?> {
101
  -moz-box-sizing: content-box;
102
  box-sizing: content-box;
103
  background-color: #<?php echo $theme_row->thumb_bg_color; ?>;
116
  width: <?php echo $params['thumb_width']; ?>px;
117
  z-index: 100;
118
  }
119
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_spun1_<?php echo $bwg; ?>:hover {
120
  -ms-transform: <?php echo $theme_row->thumb_hover_effect; ?>(<?php echo $theme_row->thumb_hover_effect_value; ?>);
121
  -webkit-transform: <?php echo $theme_row->thumb_hover_effect; ?>(<?php echo $theme_row->thumb_hover_effect_value; ?>);
122
  backface-visibility: hidden;
129
  z-index: 102;
130
  position: relative;
131
  }
132
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_spun2_<?php echo $bwg; ?> {
133
  display: inline-block;
134
  height: <?php echo $params['thumb_height']; ?>px;
135
  overflow: hidden;
153
  <?php
154
  if ($params['image_title'] == 'show') { // Show image title at the bottom.
155
  ?>
156
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_title_spun1_<?php echo $bwg; ?> {
157
  display: block;
158
  margin: 0 auto;
159
  opacity: 1;
165
  }
166
  elseif ($params['image_title'] == 'hover') { // Show image title on hover.
167
  ?>
168
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_title_spun1_<?php echo $bwg; ?> {
169
  display: table;
170
  height: inherit;
171
  left: -3000px;
178
  <?php
179
  }
180
  ?>
181
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_standart_thumb_spun1_<?php echo $bwg; ?>:hover .bwg_title_spun1_<?php echo $bwg; ?> {
182
  left: <?php echo $theme_row->thumb_padding; ?>px;
183
  top: <?php echo $theme_row->thumb_padding; ?>px;
184
  opacity: 1;
185
  filter: Alpha(opacity=100);
186
  }
187
+ #bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_title_spun2_<?php echo $bwg; ?> {
188
  color: #<?php echo $theme_row->thumb_title_font_color; ?>;
189
  display: table-cell;
190
  font-family: <?php echo $theme_row->thumb_title_font_style; ?>;
321
  $params_array['watermark_width'] = $params['watermark_width'];
322
  $params_array['watermark_height'] = $params['watermark_height'];
323
  }
324
+ list($image_thumb_width, $image_thumb_height) = getimagesize(htmlspecialchars_decode(ABSPATH . $WD_BWG_UPLOAD_DIR . $image_row->thumb_url));
325
  $scale = max($params['thumb_width'] / $image_thumb_width, $params['thumb_height'] / $image_thumb_height);
326
  $image_thumb_width *= $scale;
327
  $image_thumb_height *= $scale;
330
  ?>
331
  <a style="font-size: 0;" href="javascript:spider_createpopup('<?php echo addslashes(add_query_arg($params_array, admin_url('admin-ajax.php'))); ?>', '<?php echo $bwg; ?>', '<?php echo $params['popup_width']; ?>', '<?php echo $params['popup_height']; ?>', 1, 'testpopup', 5);">
332
  <span class="bwg_standart_thumb_<?php echo $bwg; ?>">
333
+ <span class="bwg_standart_thumb_spun1_<?php echo $bwg; ?>">
334
+ <span class="bwg_standart_thumb_spun2_<?php echo $bwg; ?>">
335
  <img class="bwg_standart_thumb_img_<?php echo $bwg; ?>" style="max-height: none !important; max-width: none !important; padding: 0 !important; width:<?php echo $image_thumb_width; ?>px; height:<?php echo $image_thumb_height; ?>px; margin-left: <?php echo $thumb_left; ?>px; margin-top: <?php echo $thumb_top; ?>px;" id="<?php echo $image_row->id; ?>" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->thumb_url; ?>" alt="<?php echo $image_row->alt; ?>" title="<?php echo $image_row->alt; ?>" />
336
  <?php
337
  if ($params['image_title'] == 'hover') {
338
  ?>
339
+ <span class="bwg_title_spun1_<?php echo $bwg; ?>">
340
+ <span class="bwg_title_spun2_<?php echo $bwg; ?>">
341
  <?php echo $image_row->alt; ?>
342
  </span>
343
  </span>
349
  <?php
350
  if ($params['image_title'] == 'show') {
351
  ?>
352
+ <span class="bwg_title_spun1_<?php echo $bwg; ?>">
353
+ <span class="bwg_title_spun2_<?php echo $bwg; ?>">
354
  <?php echo $image_row->alt; ?>
355
  </span>
356
  </span>
js/bwg_frontend.js CHANGED
@@ -49,7 +49,7 @@ function spider_frontend_ajax(form_id, current_view, id, album_gallery_id, cur_a
49
  // window.scroll(0, spider_get_pos(document.getElementById(form_id)));
50
  jQuery("html, body").animate({scrollTop: jQuery('#' + form_id).offset().top - 150}, 500);
51
  // For masonry view.
52
- jQuery(".bwg_masonry_thumb_span_" + current_view + " a img").last().on("load", function() {
53
  window["bwg_masonry_" + current_view]();
54
  });
55
  });
49
  // window.scroll(0, spider_get_pos(document.getElementById(form_id)));
50
  jQuery("html, body").animate({scrollTop: jQuery('#' + form_id).offset().top - 150}, 500);
51
  // For masonry view.
52
+ jQuery(".bwg_masonry_thumb_spun_" + current_view + " a img").last().on("load", function() {
53
  window["bwg_masonry_" + current_view]();
54
  });
55
  });
photo-gallery.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Photo Gallery
5
  * Plugin URI: http://web-dorado.com/products/wordpress-photo-gallery-plugin.html
6
  * Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
7
- * Version: 1.1.1
8
  * Author: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
@@ -16,7 +16,8 @@ if ($wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "bwg_option'")) {
16
  $WD_BWG_UPLOAD_DIR = $wpdb->get_var($wpdb->prepare('SELECT images_directory FROM ' . $wpdb->prefix . 'bwg_option WHERE id="%d"', 1)) . '/photo-gallery';
17
  }
18
  else {
19
- $WD_BWG_UPLOAD_DIR = 'wp-content/uploads/photo-gallery';
 
20
  }
21
 
22
  // Plugin menu.
@@ -2387,7 +2388,7 @@ function bwg_activate() {
2387
  ));
2388
  }
2389
  $version = str_replace('.', '', get_option("wd_bwg_version"));
2390
- $new_version = 110;
2391
  if ($version && $version < $new_version) {
2392
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2393
  for ($i = $version; $i < $new_version; $i++) {
@@ -2396,10 +2397,10 @@ function bwg_activate() {
2396
  $func_name();
2397
  }
2398
  }
2399
- update_option("wd_bwg_version", '1.1.0');
2400
  }
2401
  else {
2402
- add_option("wd_bwg_version", '1.1.0', '', 'no');
2403
  add_option("wd_bwg_theme_version", '1.0.0', '', 'no');
2404
  }
2405
  }
4
  * Plugin Name: Photo Gallery
5
  * Plugin URI: http://web-dorado.com/products/wordpress-photo-gallery-plugin.html
6
  * Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
7
+ * Version: 1.1.2
8
  * Author: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
16
  $WD_BWG_UPLOAD_DIR = $wpdb->get_var($wpdb->prepare('SELECT images_directory FROM ' . $wpdb->prefix . 'bwg_option WHERE id="%d"', 1)) . '/photo-gallery';
17
  }
18
  else {
19
+ $upload_dir = wp_upload_dir();
20
+ $WD_BWG_UPLOAD_DIR = str_replace(ABSPATH, '', $upload_dir['basedir']) . '/photo-gallery';
21
  }
22
 
23
  // Plugin menu.
2388
  ));
2389
  }
2390
  $version = str_replace('.', '', get_option("wd_bwg_version"));
2391
+ $new_version = 112;
2392
  if ($version && $version < $new_version) {
2393
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2394
  for ($i = $version; $i < $new_version; $i++) {
2397
  $func_name();
2398
  }
2399
  }
2400
+ update_option("wd_bwg_version", '1.1.2');
2401
  }
2402
  else {
2403
+ add_option("wd_bwg_version", '1.1.2', '', 'no');
2404
  add_option("wd_bwg_theme_version", '1.0.0', '', 'no');
2405
  }
2406
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado
3
  Donate link: http://web-dorado.com/products/wordpress-photo-gallery-plugin.html
4
  Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries, wordpress gallery plugin, images gallery, album, photo albums, Simple gallery, best gallery plugin, free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, photogallery, widget gallery, image, images, photos, gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, Fotogalerie, Galleria, galerie, galeri
5
  Requires at least: 3.0
6
- Tested up to: 3.8
7
- Stable tag: 1.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -42,7 +42,8 @@ Photo Gallery product in addition to the main plugin includes 4 specific widgets
42
  ### The list of the features:
43
 
44
  * 100% Responsive
45
- * Multiple views to choose from: Masonry, Thumbnails, Image Browser, Slideshow and Blog Style for galleries and Compact Album, Extended Album views for albums
 
46
  * Supports the following types of image files: JPG, JPEG, PNG and GIF
47
  * Editable themes (commercial version)
48
  * Unlimited quantity of photos
3
  Donate link: http://web-dorado.com/products/wordpress-photo-gallery-plugin.html
4
  Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries, wordpress gallery plugin, images gallery, album, photo albums, Simple gallery, best gallery plugin, free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, photogallery, widget gallery, image, images, photos, gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, Fotogalerie, Galleria, galerie, galeri
5
  Requires at least: 3.0
6
+ Tested up to: 3.8.1
7
+ Stable tag: 1.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
42
  ### The list of the features:
43
 
44
  * 100% Responsive
45
+ * Multiple views to choose from: Thumbnails, Image Browser, Slideshow for galleries and Compact Album, Extended Album views for albums
46
+ * Masonry and Blog Style View (commercial version)
47
  * Supports the following types of image files: JPG, JPEG, PNG and GIF
48
  * Editable themes (commercial version)
49
  * Unlimited quantity of photos