Version Description
- added large image url in page source for SEO
Download this release
Release Info
Developer | webdorado |
Plugin | Photo Gallery by WD – Responsive Photo Gallery |
Version | 1.2.15 |
Comparing to | |
See all releases |
Code changes from version 1.2.14 to 1.2.15
- frontend/views/BWGViewAlbum_compact_preview.php +7 -9
- frontend/views/BWGViewAlbum_extended_preview.php +8 -5
- frontend/views/BWGViewGalleryBox.php +4 -4
- frontend/views/BWGViewImage_browser.php +2 -2
- frontend/views/BWGViewSlideshow.php +0 -4
- frontend/views/BWGViewThumbnails.php +6 -6
- photo-gallery.php +3 -3
- readme.txt +38 -31
frontend/views/BWGViewAlbum_compact_preview.php
CHANGED
@@ -61,7 +61,7 @@ class BWGViewAlbum_compact_preview {
|
|
61 |
if (!isset($params['popup_info_always_show'])) {
|
62 |
$params['popup_info_always_show'] = 0;
|
63 |
}
|
64 |
-
|
65 |
$params['popup_info_full_width'] = 0;
|
66 |
}
|
67 |
if (!isset($params['popup_enable_rate'])) {
|
@@ -116,7 +116,7 @@ class BWGViewAlbum_compact_preview {
|
|
116 |
$params['popup_enable_fullscreen'] = $options_row->popup_enable_fullscreen;
|
117 |
$params['popup_enable_info'] = $options_row->popup_enable_info;
|
118 |
$params['popup_info_always_show'] = $options_row->popup_info_always_show;
|
119 |
-
|
120 |
$params['popup_hit_counter'] = $options_row->popup_hit_counter;
|
121 |
$params['popup_enable_rate'] = $options_row->popup_enable_rate;
|
122 |
$params['popup_interval'] = $options_row->popup_interval;
|
@@ -624,7 +624,7 @@ class BWGViewAlbum_compact_preview {
|
|
624 |
$thumb_top = ($params['compuct_album_thumb_height'] - $image_thumb_height) / 2;
|
625 |
if ($type != 'gallery') {
|
626 |
?>
|
627 |
-
<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 . "', '', '" . htmlspecialchars(addslashes($title)) . "', 'default')
|
628 |
<span class="bwg_album_thumb_<?php echo $bwg; ?>">
|
629 |
<?php
|
630 |
if ($params['compuct_album_title'] == 'show' && $theme_row->album_compact_thumb_title_pos == 'top') {
|
@@ -697,8 +697,8 @@ class BWGViewAlbum_compact_preview {
|
|
697 |
'image_width' => $params['popup_width'],
|
698 |
'image_height' => $params['popup_height'],
|
699 |
'image_effect' => $params['popup_effect'],
|
700 |
-
'
|
701 |
-
'
|
702 |
'enable_image_filmstrip' => $params['popup_enable_filmstrip'],
|
703 |
'image_filmstrip_height' => $params['popup_filmstrip_height'],
|
704 |
'enable_image_ctrl_btn' => $params['popup_enable_ctrl_btn'],
|
@@ -748,7 +748,7 @@ class BWGViewAlbum_compact_preview {
|
|
748 |
$thumb_left = ($params['compuct_album_image_thumb_width'] - $image_thumb_width) / 2;
|
749 |
$thumb_top = ($params['compuct_album_image_thumb_height'] - $image_thumb_height) / 2;
|
750 |
?>
|
751 |
-
<a style="font-size: 0;" <?php echo ($params['thumb_click_action'] == 'open_lightbox' ? ('onclick="spider_createpopup(\'' . addslashes(add_query_arg($params_array, admin_url('admin-ajax.php'))) . '\', ' . $bwg . ', ' . $params['popup_width'] . ', ' . $params['popup_height'] . ', 1, \'testpopup\', 5); return false;"') : ($image_row->redirect_url ? 'href="' . $image_row->redirect_url . '" target="' . ($params['thumb_link_target'] ? '_blank' : '') . '"' : '')) ?>>
|
752 |
<span class="bwg_standart_thumb_<?php echo $bwg; ?>">
|
753 |
<?php
|
754 |
if ($params['compuct_album_image_title'] == 'show' && $theme_row->album_compact_thumb_title_pos == 'top') {
|
@@ -813,9 +813,7 @@ class BWGViewAlbum_compact_preview {
|
|
813 |
<div id="spider_popup_overlay_<?php echo $bwg; ?>" class="spider_popup_overlay" onclick="spider_destroypopup(1000)"></div>
|
814 |
</div>
|
815 |
</div>
|
816 |
-
|
817 |
-
var bwg_current_url = '<?php echo add_query_arg($current_url, '', home_url($wp->request)); ?>';
|
818 |
-
</script>
|
819 |
<?php
|
820 |
if ($from_shortcode) {
|
821 |
return;
|
61 |
if (!isset($params['popup_info_always_show'])) {
|
62 |
$params['popup_info_always_show'] = 0;
|
63 |
}
|
64 |
+
if (!isset($params['popup_info_full_width'])) {
|
65 |
$params['popup_info_full_width'] = 0;
|
66 |
}
|
67 |
if (!isset($params['popup_enable_rate'])) {
|
116 |
$params['popup_enable_fullscreen'] = $options_row->popup_enable_fullscreen;
|
117 |
$params['popup_enable_info'] = $options_row->popup_enable_info;
|
118 |
$params['popup_info_always_show'] = $options_row->popup_info_always_show;
|
119 |
+
$params['popup_info_full_width'] = $options_row->popup_info_full_width;
|
120 |
$params['popup_hit_counter'] = $options_row->popup_hit_counter;
|
121 |
$params['popup_enable_rate'] = $options_row->popup_enable_rate;
|
122 |
$params['popup_interval'] = $options_row->popup_interval;
|
624 |
$thumb_top = ($params['compuct_album_thumb_height'] - $image_thumb_height) / 2;
|
625 |
if ($type != 'gallery') {
|
626 |
?>
|
627 |
+
<a style="font-size: 0;" <?php echo ($from !== "widget" ? "href='" . str_replace("/thumb/", "/", $preview_url) . "' onclick=\"spider_frontend_ajax('gal_front_form_" . $bwg . "', '" . $bwg . "', 'bwg_album_compact_" . $bwg . "', '" . $album_galallery_row->alb_gal_id . "', '" . $album_gallery_id . "', '" . $def_type . "', '', '" . htmlspecialchars(addslashes($title)) . "', 'default'); return false;\"" : "href='" . $permalink . "'") ?>>
|
628 |
<span class="bwg_album_thumb_<?php echo $bwg; ?>">
|
629 |
<?php
|
630 |
if ($params['compuct_album_title'] == 'show' && $theme_row->album_compact_thumb_title_pos == 'top') {
|
697 |
'image_width' => $params['popup_width'],
|
698 |
'image_height' => $params['popup_height'],
|
699 |
'image_effect' => $params['popup_effect'],
|
700 |
+
'wd_sor' => $params['sort_by'],
|
701 |
+
'wd_ord' => $params['order_by'],
|
702 |
'enable_image_filmstrip' => $params['popup_enable_filmstrip'],
|
703 |
'image_filmstrip_height' => $params['popup_filmstrip_height'],
|
704 |
'enable_image_ctrl_btn' => $params['popup_enable_ctrl_btn'],
|
748 |
$thumb_left = ($params['compuct_album_image_thumb_width'] - $image_thumb_width) / 2;
|
749 |
$thumb_top = ($params['compuct_album_image_thumb_height'] - $image_thumb_height) / 2;
|
750 |
?>
|
751 |
+
<a style="font-size: 0;" <?php echo ($params['thumb_click_action'] == 'open_lightbox' ? ('href="' . ($is_video ? $image_row->thumb_url : site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->image_url) . '" onclick="spider_createpopup(\'' . addslashes(add_query_arg($params_array, admin_url('admin-ajax.php'))) . '\', ' . $bwg . ', ' . $params['popup_width'] . ', ' . $params['popup_height'] . ', 1, \'testpopup\', 5); return false;"') : ($image_row->redirect_url ? 'href="' . $image_row->redirect_url . '" target="' . ($params['thumb_link_target'] ? '_blank' : '') . '"' : '')) ?>>
|
752 |
<span class="bwg_standart_thumb_<?php echo $bwg; ?>">
|
753 |
<?php
|
754 |
if ($params['compuct_album_image_title'] == 'show' && $theme_row->album_compact_thumb_title_pos == 'top') {
|
813 |
<div id="spider_popup_overlay_<?php echo $bwg; ?>" class="spider_popup_overlay" onclick="spider_destroypopup(1000)"></div>
|
814 |
</div>
|
815 |
</div>
|
816 |
+
|
|
|
|
|
817 |
<?php
|
818 |
if ($from_shortcode) {
|
819 |
return;
|
frontend/views/BWGViewAlbum_extended_preview.php
CHANGED
@@ -63,7 +63,7 @@ class BWGViewAlbum_extended_preview {
|
|
63 |
if (!isset($params['popup_info_always_show'])) {
|
64 |
$params['popup_info_always_show'] = 0;
|
65 |
}
|
66 |
-
|
67 |
$params['popup_info_full_width'] = 0;
|
68 |
}
|
69 |
if (!isset($params['popup_enable_rate'])) {
|
@@ -81,6 +81,9 @@ class BWGViewAlbum_extended_preview {
|
|
81 |
if (!isset($params['order_by'])) {
|
82 |
$params['order_by'] = ' ASC ';
|
83 |
}
|
|
|
|
|
|
|
84 |
$sort_direction = ' ' . $params['order_by'] . ' ';
|
85 |
$theme_row = $this->model->get_theme_row_data($params['theme_id']);
|
86 |
if (!$theme_row) {
|
@@ -581,7 +584,7 @@ class BWGViewAlbum_extended_preview {
|
|
581 |
?>
|
582 |
<div class="bwg_album_extended_div_<?php echo $bwg; ?>">
|
583 |
<div class="bwg_album_extended_thumb_div_<?php echo $bwg; ?>">
|
584 |
-
<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; ?>', '', '<?php echo htmlspecialchars(addslashes($title)); ?>', 'default')">
|
585 |
<span class="bwg_album_thumb_<?php echo $bwg; ?>" style="height:inherit;">
|
586 |
<span class="bwg_album_thumb_spun1_<?php echo $bwg; ?>">
|
587 |
<span class="bwg_album_thumb_spun2_<?php echo $bwg; ?>">
|
@@ -666,8 +669,8 @@ class BWGViewAlbum_extended_preview {
|
|
666 |
'image_width' => $params['popup_width'],
|
667 |
'image_height' => $params['popup_height'],
|
668 |
'image_effect' => $params['popup_effect'],
|
669 |
-
'
|
670 |
-
'
|
671 |
'enable_image_filmstrip' => $params['popup_enable_filmstrip'],
|
672 |
'image_filmstrip_height' => $params['popup_filmstrip_height'],
|
673 |
'enable_image_ctrl_btn' => $params['popup_enable_ctrl_btn'],
|
@@ -717,7 +720,7 @@ class BWGViewAlbum_extended_preview {
|
|
717 |
$thumb_left = ($params['extended_album_image_thumb_width'] - $image_thumb_width) / 2;
|
718 |
$thumb_top = ($params['extended_album_image_thumb_height'] - $image_thumb_height) / 2;
|
719 |
?>
|
720 |
-
<a style="font-size: 0;" <?php echo ($params['thumb_click_action'] == 'open_lightbox' ? ('onclick="spider_createpopup(\'' . addslashes(add_query_arg($params_array, admin_url('admin-ajax.php'))) . '\', ' . $bwg . ', ' . $params['popup_width'] . ', ' . $params['popup_height'] . ', 1, \'testpopup\', 5); return false;"') : ($image_row->redirect_url ? 'href="' . $image_row->redirect_url . '" target="' . ($params['thumb_link_target'] ? '_blank' : '') . '"' : '')) ?>>
|
721 |
<span class="bwg_standart_thumb_<?php echo $bwg; ?>">
|
722 |
<span class="bwg_standart_thumb_spun1_<?php echo $bwg; ?>">
|
723 |
<span class="bwg_standart_thumb_spun2_<?php echo $bwg; ?>">
|
63 |
if (!isset($params['popup_info_always_show'])) {
|
64 |
$params['popup_info_always_show'] = 0;
|
65 |
}
|
66 |
+
if (!isset($params['popup_info_full_width'])) {
|
67 |
$params['popup_info_full_width'] = 0;
|
68 |
}
|
69 |
if (!isset($params['popup_enable_rate'])) {
|
81 |
if (!isset($params['order_by'])) {
|
82 |
$params['order_by'] = ' ASC ';
|
83 |
}
|
84 |
+
if (!isset($params['show_sort_images'])) {
|
85 |
+
$params['show_sort_images'] = 0;
|
86 |
+
}
|
87 |
$sort_direction = ' ' . $params['order_by'] . ' ';
|
88 |
$theme_row = $this->model->get_theme_row_data($params['theme_id']);
|
89 |
if (!$theme_row) {
|
584 |
?>
|
585 |
<div class="bwg_album_extended_div_<?php echo $bwg; ?>">
|
586 |
<div class="bwg_album_extended_thumb_div_<?php echo $bwg; ?>">
|
587 |
+
<a href="<?php echo str_replace("/thumb/", "/", $preview_url); ?>" 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; ?>', '', '<?php echo htmlspecialchars(addslashes($title)); ?>', 'default'); return false;">
|
588 |
<span class="bwg_album_thumb_<?php echo $bwg; ?>" style="height:inherit;">
|
589 |
<span class="bwg_album_thumb_spun1_<?php echo $bwg; ?>">
|
590 |
<span class="bwg_album_thumb_spun2_<?php echo $bwg; ?>">
|
669 |
'image_width' => $params['popup_width'],
|
670 |
'image_height' => $params['popup_height'],
|
671 |
'image_effect' => $params['popup_effect'],
|
672 |
+
'wd_sor' => $params['sort_by'],
|
673 |
+
'wd_ord' => $params['order_by'],
|
674 |
'enable_image_filmstrip' => $params['popup_enable_filmstrip'],
|
675 |
'image_filmstrip_height' => $params['popup_filmstrip_height'],
|
676 |
'enable_image_ctrl_btn' => $params['popup_enable_ctrl_btn'],
|
720 |
$thumb_left = ($params['extended_album_image_thumb_width'] - $image_thumb_width) / 2;
|
721 |
$thumb_top = ($params['extended_album_image_thumb_height'] - $image_thumb_height) / 2;
|
722 |
?>
|
723 |
+
<a style="font-size: 0;" <?php echo ($params['thumb_click_action'] == 'open_lightbox' ? ('href="' . ($is_video ? $image_row->thumb_url : site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->image_url) . '" onclick="spider_createpopup(\'' . addslashes(add_query_arg($params_array, admin_url('admin-ajax.php'))) . '\', ' . $bwg . ', ' . $params['popup_width'] . ', ' . $params['popup_height'] . ', 1, \'testpopup\', 5); return false;"') : ($image_row->redirect_url ? 'href="' . $image_row->redirect_url . '" target="' . ($params['thumb_link_target'] ? '_blank' : '') . '"' : '')) ?>>
|
724 |
<span class="bwg_standart_thumb_<?php echo $bwg; ?>">
|
725 |
<span class="bwg_standart_thumb_spun1_<?php echo $bwg; ?>">
|
726 |
<span class="bwg_standart_thumb_spun2_<?php echo $bwg; ?>">
|
frontend/views/BWGViewGalleryBox.php
CHANGED
@@ -36,8 +36,8 @@ class BWGViewGalleryBox {
|
|
36 |
$image_width = (isset($_GET['image_width']) ? esc_html($_GET['image_width']) : 800);
|
37 |
$image_height = (isset($_GET['image_height']) ? esc_html($_GET['image_height']) : 500);
|
38 |
$image_effect = ((isset($_GET['image_effect']) && esc_html($_GET['image_effect'])) ? esc_html($_GET['image_effect']) : 'fade');
|
39 |
-
$sort_by = (isset($_GET['
|
40 |
-
$order_by = (isset($_GET['
|
41 |
$enable_image_filmstrip = FALSE;
|
42 |
$enable_image_fullscreen = (isset($_GET['enable_image_fullscreen']) ? esc_html($_GET['enable_image_fullscreen']) : 0);
|
43 |
$popup_enable_info = (isset($_GET['popup_enable_info']) ? esc_html($_GET['popup_enable_info']) : 1);
|
@@ -101,8 +101,8 @@ class BWGViewGalleryBox {
|
|
101 |
'image_width' => $image_width,
|
102 |
'image_height' => $image_height,
|
103 |
'image_effect' => $image_effect,
|
104 |
-
'
|
105 |
-
'
|
106 |
'enable_image_filmstrip' => $enable_image_filmstrip,
|
107 |
'image_filmstrip_height' => $image_filmstrip_height,
|
108 |
'enable_image_ctrl_btn' => $enable_image_ctrl_btn,
|
36 |
$image_width = (isset($_GET['image_width']) ? esc_html($_GET['image_width']) : 800);
|
37 |
$image_height = (isset($_GET['image_height']) ? esc_html($_GET['image_height']) : 500);
|
38 |
$image_effect = ((isset($_GET['image_effect']) && esc_html($_GET['image_effect'])) ? esc_html($_GET['image_effect']) : 'fade');
|
39 |
+
$sort_by = (isset($_GET['wd_sor']) ? esc_html($_GET['wd_sor']) : 'order');
|
40 |
+
$order_by = (isset($_GET['wd_ord']) ? esc_html($_GET['wd_ord']) : 'asc');
|
41 |
$enable_image_filmstrip = FALSE;
|
42 |
$enable_image_fullscreen = (isset($_GET['enable_image_fullscreen']) ? esc_html($_GET['enable_image_fullscreen']) : 0);
|
43 |
$popup_enable_info = (isset($_GET['popup_enable_info']) ? esc_html($_GET['popup_enable_info']) : 1);
|
101 |
'image_width' => $image_width,
|
102 |
'image_height' => $image_height,
|
103 |
'image_effect' => $image_effect,
|
104 |
+
'wd_sor' => $sort_by,
|
105 |
+
'wd_ord' => $order_by,
|
106 |
'enable_image_filmstrip' => $enable_image_filmstrip,
|
107 |
'image_filmstrip_height' => $image_filmstrip_height,
|
108 |
'enable_image_ctrl_btn' => $enable_image_ctrl_btn,
|
frontend/views/BWGViewImage_browser.php
CHANGED
@@ -105,8 +105,8 @@ class BWGViewImage_browser {
|
|
105 |
'image_width' => $params['popup_width'],
|
106 |
'image_height' => $params['popup_height'],
|
107 |
'image_effect' => $params['popup_effect'],
|
108 |
-
'
|
109 |
-
'
|
110 |
'enable_image_filmstrip' => $params['popup_enable_filmstrip'],
|
111 |
'image_filmstrip_height' => $params['popup_filmstrip_height'],
|
112 |
'enable_image_ctrl_btn' => $params['popup_enable_ctrl_btn'],
|
105 |
'image_width' => $params['popup_width'],
|
106 |
'image_height' => $params['popup_height'],
|
107 |
'image_effect' => $params['popup_effect'],
|
108 |
+
'wd_sor' => $params['sort_by'],
|
109 |
+
'wd_ord' => $order_by,
|
110 |
'enable_image_filmstrip' => $params['popup_enable_filmstrip'],
|
111 |
'image_filmstrip_height' => $params['popup_filmstrip_height'],
|
112 |
'enable_image_ctrl_btn' => $params['popup_enable_ctrl_btn'],
|
frontend/views/BWGViewSlideshow.php
CHANGED
@@ -1242,8 +1242,6 @@ class BWGViewSlideshow {
|
|
1242 |
jQuery(".bwg_slideshow_image_container_<?php echo $bwg; ?>").css({width: <?php echo $image_width; ?>});
|
1243 |
jQuery(".bwg_slideshow_image_container_<?php echo $bwg; ?>").css({height: (<?php echo $image_height - $slideshow_filmstrip_height; ?>)});
|
1244 |
jQuery(".bwg_slideshow_image_<?php echo $bwg; ?>").css({
|
1245 |
-
/*maxWidth: <?php echo $image_width; ?>,
|
1246 |
-
maxHeight: <?php echo $image_height - $slideshow_filmstrip_height; ?>*/
|
1247 |
cssText: "max-width: <?php echo $image_width; ?>px !important; max-height: <?php echo $image_height - $slideshow_filmstrip_height; ?>px !important;"
|
1248 |
});
|
1249 |
jQuery(".bwg_slideshow_video_<?php echo $bwg; ?>").css({
|
@@ -1266,8 +1264,6 @@ class BWGViewSlideshow {
|
|
1266 |
jQuery(".bwg_slideshow_image_container_<?php echo $bwg; ?>").css({width: (parent_width)});
|
1267 |
jQuery(".bwg_slideshow_image_container_<?php echo $bwg; ?>").css({height: ((parent_width) * <?php echo $image_height / $image_width ?> - <?php echo $slideshow_filmstrip_height; ?>)});
|
1268 |
jQuery(".bwg_slideshow_image_<?php echo $bwg; ?>").css({
|
1269 |
-
/*maxWidth: parent_width,
|
1270 |
-
maxHeight: ((parent_width) * <?php echo $image_height / $image_width ?> - <?php echo $slideshow_filmstrip_height; ?>)*/
|
1271 |
cssText: "max-width: " + parent_width + "px !important; max-height: " + (parent_width * (<?php echo $image_height / $image_width ?>) - <?php echo $slideshow_filmstrip_height; ?> - 1) + "px !important;"
|
1272 |
});
|
1273 |
jQuery(".bwg_slideshow_video_<?php echo $bwg; ?>").css({
|
1242 |
jQuery(".bwg_slideshow_image_container_<?php echo $bwg; ?>").css({width: <?php echo $image_width; ?>});
|
1243 |
jQuery(".bwg_slideshow_image_container_<?php echo $bwg; ?>").css({height: (<?php echo $image_height - $slideshow_filmstrip_height; ?>)});
|
1244 |
jQuery(".bwg_slideshow_image_<?php echo $bwg; ?>").css({
|
|
|
|
|
1245 |
cssText: "max-width: <?php echo $image_width; ?>px !important; max-height: <?php echo $image_height - $slideshow_filmstrip_height; ?>px !important;"
|
1246 |
});
|
1247 |
jQuery(".bwg_slideshow_video_<?php echo $bwg; ?>").css({
|
1264 |
jQuery(".bwg_slideshow_image_container_<?php echo $bwg; ?>").css({width: (parent_width)});
|
1265 |
jQuery(".bwg_slideshow_image_container_<?php echo $bwg; ?>").css({height: ((parent_width) * <?php echo $image_height / $image_width ?> - <?php echo $slideshow_filmstrip_height; ?>)});
|
1266 |
jQuery(".bwg_slideshow_image_<?php echo $bwg; ?>").css({
|
|
|
|
|
1267 |
cssText: "max-width: " + parent_width + "px !important; max-height: " + (parent_width * (<?php echo $image_height / $image_width ?>) - <?php echo $slideshow_filmstrip_height; ?> - 1) + "px !important;"
|
1268 |
});
|
1269 |
jQuery(".bwg_slideshow_video_<?php echo $bwg; ?>").css({
|
frontend/views/BWGViewThumbnails.php
CHANGED
@@ -106,7 +106,7 @@ class BWGViewThumbnails {
|
|
106 |
$params['popup_enable_fullscreen'] = $options_row->popup_enable_fullscreen;
|
107 |
$params['popup_enable_info'] = $options_row->popup_enable_info;
|
108 |
$params['popup_info_always_show'] = $options_row->popup_info_always_show;
|
109 |
-
|
110 |
$params['popup_hit_counter'] = $options_row->popup_hit_counter;
|
111 |
$params['popup_enable_rate'] = $options_row->popup_enable_rate;
|
112 |
$params['popup_interval'] = $options_row->popup_interval;
|
@@ -347,7 +347,7 @@ class BWGViewThumbnails {
|
|
347 |
background-color: #<?php echo $theme_row->lightbox_overlay_bg_color; ?>;
|
348 |
opacity: <?php echo number_format($theme_row->lightbox_overlay_bg_transparent / 100, 2, ".", ""); ?>;
|
349 |
filter: Alpha(opacity=<?php echo $theme_row->lightbox_overlay_bg_transparent; ?>);
|
350 |
-
}
|
351 |
.bwg_play_icon_spun_<?php echo $bwg; ?> {
|
352 |
width: inherit;
|
353 |
height: inherit;
|
@@ -408,15 +408,15 @@ class BWGViewThumbnails {
|
|
408 |
'image_width' => $params['popup_width'],
|
409 |
'image_height' => $params['popup_height'],
|
410 |
'image_effect' => $params['popup_effect'],
|
411 |
-
'
|
412 |
-
'
|
413 |
'enable_image_filmstrip' => $params['popup_enable_filmstrip'],
|
414 |
'image_filmstrip_height' => $params['popup_filmstrip_height'],
|
415 |
'enable_image_ctrl_btn' => $params['popup_enable_ctrl_btn'],
|
416 |
'enable_image_fullscreen' => $params['popup_enable_fullscreen'],
|
417 |
'popup_enable_info' => $params['popup_enable_info'],
|
418 |
'popup_info_always_show' => $params['popup_info_always_show'],
|
419 |
-
|
420 |
'popup_hit_counter' => $params['popup_hit_counter'],
|
421 |
'popup_enable_rate' => $params['popup_enable_rate'],
|
422 |
'slideshow_interval' => $params['popup_interval'],
|
@@ -459,7 +459,7 @@ class BWGViewThumbnails {
|
|
459 |
$thumb_left = ($params['thumb_width'] - $image_thumb_width) / 2;
|
460 |
$thumb_top = ($params['thumb_height'] - $image_thumb_height) / 2;
|
461 |
?>
|
462 |
-
<a style="font-size: 0;" <?php echo ($params['thumb_click_action'] == 'open_lightbox' ? ('onclick="spider_createpopup(\'' . addslashes(add_query_arg($params_array, admin_url('admin-ajax.php'))) . '\', ' . $bwg . ', ' . $params['popup_width'] . ', ' . $params['popup_height'] . ', 1, \'testpopup\', 5); return false;"') : ($image_row->redirect_url ? 'href="' . $image_row->redirect_url . '" target="' . ($params['thumb_link_target'] ? '_blank' : '') . '"' : '')) ?>>
|
463 |
<span class="bwg_standart_thumb_<?php echo $bwg; ?>">
|
464 |
<?php
|
465 |
if ($params['image_title'] == 'show' and $theme_row->thumb_title_pos == 'top') {
|
106 |
$params['popup_enable_fullscreen'] = $options_row->popup_enable_fullscreen;
|
107 |
$params['popup_enable_info'] = $options_row->popup_enable_info;
|
108 |
$params['popup_info_always_show'] = $options_row->popup_info_always_show;
|
109 |
+
$params['popup_info_full_width'] = $options_row->popup_info_full_width;
|
110 |
$params['popup_hit_counter'] = $options_row->popup_hit_counter;
|
111 |
$params['popup_enable_rate'] = $options_row->popup_enable_rate;
|
112 |
$params['popup_interval'] = $options_row->popup_interval;
|
347 |
background-color: #<?php echo $theme_row->lightbox_overlay_bg_color; ?>;
|
348 |
opacity: <?php echo number_format($theme_row->lightbox_overlay_bg_transparent / 100, 2, ".", ""); ?>;
|
349 |
filter: Alpha(opacity=<?php echo $theme_row->lightbox_overlay_bg_transparent; ?>);
|
350 |
+
}
|
351 |
.bwg_play_icon_spun_<?php echo $bwg; ?> {
|
352 |
width: inherit;
|
353 |
height: inherit;
|
408 |
'image_width' => $params['popup_width'],
|
409 |
'image_height' => $params['popup_height'],
|
410 |
'image_effect' => $params['popup_effect'],
|
411 |
+
'wd_sor' => (isset($params['type']) ? 'date' : (($params['sort_by'] == 'RAND()') ? 'order' : $params['sort_by'])),
|
412 |
+
'wd_ord' => $sort_direction,
|
413 |
'enable_image_filmstrip' => $params['popup_enable_filmstrip'],
|
414 |
'image_filmstrip_height' => $params['popup_filmstrip_height'],
|
415 |
'enable_image_ctrl_btn' => $params['popup_enable_ctrl_btn'],
|
416 |
'enable_image_fullscreen' => $params['popup_enable_fullscreen'],
|
417 |
'popup_enable_info' => $params['popup_enable_info'],
|
418 |
'popup_info_always_show' => $params['popup_info_always_show'],
|
419 |
+
'popup_info_full_width' => $params['popup_info_full_width'],
|
420 |
'popup_hit_counter' => $params['popup_hit_counter'],
|
421 |
'popup_enable_rate' => $params['popup_enable_rate'],
|
422 |
'slideshow_interval' => $params['popup_interval'],
|
459 |
$thumb_left = ($params['thumb_width'] - $image_thumb_width) / 2;
|
460 |
$thumb_top = ($params['thumb_height'] - $image_thumb_height) / 2;
|
461 |
?>
|
462 |
+
<a style="font-size: 0;" <?php echo ($params['thumb_click_action'] == 'open_lightbox' ? ('href="' . ($is_video ? $image_row->thumb_url : site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_row->image_url) . '" onclick="spider_createpopup(\'' . addslashes(add_query_arg($params_array, admin_url('admin-ajax.php'))) . '\', ' . $bwg . ', ' . $params['popup_width'] . ', ' . $params['popup_height'] . ', 1, \'testpopup\', 5); return false;"') : ($image_row->redirect_url ? 'href="' . $image_row->redirect_url . '" target="' . ($params['thumb_link_target'] ? '_blank' : '') . '"' : '')) ?>>
|
463 |
<span class="bwg_standart_thumb_<?php echo $bwg; ?>">
|
464 |
<?php
|
465 |
if ($params['image_title'] == 'show' and $theme_row->thumb_title_pos == 'top') {
|
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.2.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: http://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -3036,7 +3036,7 @@ function bwg_activate() {
|
|
3036 |
));
|
3037 |
}
|
3038 |
$version = get_option("wd_bwg_version");
|
3039 |
-
$new_version = '1.2.
|
3040 |
if ($version && version_compare($version, $new_version, '<')) {
|
3041 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
3042 |
bwg_update($version);
|
@@ -3051,7 +3051,7 @@ register_activation_hook(__FILE__, 'bwg_activate');
|
|
3051 |
|
3052 |
function bwg_update_hook() {
|
3053 |
$version = get_option("wd_bwg_version");
|
3054 |
-
$new_version = '1.2.
|
3055 |
if ($version && version_compare($version, $new_version, '<')) {
|
3056 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
3057 |
bwg_update($version);
|
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.2.15
|
8 |
* Author: WebDorado
|
9 |
* Author URI: http://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
3036 |
));
|
3037 |
}
|
3038 |
$version = get_option("wd_bwg_version");
|
3039 |
+
$new_version = '1.2.15';
|
3040 |
if ($version && version_compare($version, $new_version, '<')) {
|
3041 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
3042 |
bwg_update($version);
|
3051 |
|
3052 |
function bwg_update_hook() {
|
3053 |
$version = get_option("wd_bwg_version");
|
3054 |
+
$new_version = '1.2.15';
|
3055 |
if ($version && version_compare($version, $new_version, '<')) {
|
3056 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
3057 |
bwg_update($version);
|
readme.txt
CHANGED
@@ -1,40 +1,43 @@
|
|
1 |
=== Photo Gallery ===
|
2 |
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, responsive gallery
|
5 |
-
Requires at least: 3.
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
Photo Gallery is an advanced plugin with a list of tools and options for adding and editing images for different views. It is fully responsive.
|
12 |
|
13 |
== Description ==
|
14 |
-
|
|
|
15 |
https://www.youtube.com/watch?v=4Mxg0FsFZZE&index=5&list=PLnxWPiY5tLFUsFI67acGEPAqoDMZqss5F
|
16 |
|
17 |
[WordPress Photo Gallery](http://web-dorado.com/products/wordpress-photo-gallery-plugin.html)
|
18 |
-
[Demo](http://wpdemo.web-dorado.com/gallery/)
|
19 |
-
[Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=galleries_bwg)
|
20 |
-
[User Manual](http://web-dorado.com/wordpress-gallery-guide-step-1.html)
|
21 |
-
[Support Forum](http://web-dorado.com/forum/photo-gallery.html)
|
22 |
|
23 |
Photo Gallery is an advanced plugin with a list of tools and options for adding and editing images for different views. It is fully responsive. The product includes plugin for adding image galleries and albums to posts and pages, as well as multiple widgets. You can add images, providing detailed descriptions and tags, organize the galleries into different albums.
|
24 |
|
25 |
The plugin allows displaying galleries/albums within the following views:
|
26 |
|
27 |
-
* Thumbnails
|
28 |
-
* Masonry for multi-size thumbnails (commercial version)
|
|
|
29 |
* Slideshow
|
30 |
-
* Image Browser for single
|
31 |
-
* Compact Album
|
32 |
-
*
|
33 |
-
*
|
|
|
34 |
|
35 |
-
You can make the required customizations for the view in the shortcode in advance to adding in the posts/
|
36 |
|
37 |
-
Included File Manager will help to rename, upload,
|
38 |
|
39 |
Photo Gallery product in addition to the main plugin includes 4 specific widgets:
|
40 |
|
@@ -43,22 +46,23 @@ Photo Gallery product in addition to the main plugin includes 4 specific widgets
|
|
43 |
* Photo Gallery Slideshow
|
44 |
* Photo Gallery (similar to the main plugin option)
|
45 |
|
46 |
-
###IMPORTANT:
|
|
|
47 |
|
48 |
|
49 |
### The list of the features:
|
50 |
|
51 |
* 100% Responsive
|
52 |
-
* Multiple views to choose from: Thumbnails, Image Browser, Slideshow for galleries and Compact Album, Extended Album views for albums
|
53 |
* Supports the following types of image files: JPG, JPEG, PNG and GIF
|
54 |
-
* Unlimited quantity of photos
|
55 |
* Possibility of adding unlimited quantity of galleries/albums
|
56 |
* Detailed three-column visual shortcode for adding created gallery/galleries and album/albums into the posts and pages.
|
57 |
-
* Detailed
|
58 |
* Possibility of changing the roles of who can edit the galleries/albums/images (Author/All Users)
|
59 |
* Chances to provide details for images (tags, captions)
|
60 |
* Thumbnail editing tools (Crop, rotate and flip)
|
61 |
-
* Possibility of changing the amount
|
62 |
* Slideshow view with auto play and shuffle features
|
63 |
* Audio track playback possibility with the image slideshow
|
64 |
* Possibility of adding Watermarks/Advertisements for each individual image
|
@@ -70,10 +74,10 @@ Photo Gallery product in addition to the main plugin includes 4 specific widgets
|
|
70 |
* Support for YouTube and Vimeo videos within Galleries.
|
71 |
* Possibility of uploading images from the Media Library of the website.
|
72 |
* Possibility to add tags to all images at once.
|
73 |
-
* Right-click
|
74 |
* Possibility to display images in the albums in thumbnail or masonry view upon opening
|
75 |
* WordPress Search Integration by gallery and album title
|
76 |
-
* Possibility to display the number of the images in the lighbox (optional feature)
|
77 |
* Resizing possibility after adding the images
|
78 |
* Possibility to display Search Box on the gallery page for the search based on titles
|
79 |
* Possibility to display the number of images in the lighbox
|
@@ -82,8 +86,8 @@ Photo Gallery product in addition to the main plugin includes 4 specific widgets
|
|
82 |
|
83 |
Upgrade to [WordPress Photo Gallery Pro](http://web-dorado.com/products/wordpress-photo-gallery-plugin.html) to add features:
|
84 |
|
85 |
-
* Masonry View.
|
86 |
-
* Mosaic View
|
87 |
* Blog Style View.
|
88 |
* Masonry Album view
|
89 |
* Slideshow/Lightbox 15 effects.
|
@@ -94,7 +98,6 @@ Upgrade to [WordPress Photo Gallery Pro](http://web-dorado.com/products/wordpres
|
|
94 |
* Possibility to include both videos and images within a single gallery.
|
95 |
|
96 |
|
97 |
-
|
98 |
### Supported languages
|
99 |
|
100 |
*If you need language of Photo Gallery which is not included in this list, please contact us and we will do the translation of Photo Gallery within 3 days. If you find any mistakes in the translation, please contact us and we will make relevant corrections within 3 days. *
|
@@ -180,7 +183,7 @@ After downloading the ZIP file,
|
|
180 |
== Frequently Asked Questions ==
|
181 |
|
182 |
= 1. How can I add images to the Photo Gallery? =
|
183 |
-
The images can be added to Photo Gallery using its standard
|
184 |
|
185 |
= 2. What is the difference between galleries and albums? =
|
186 |
The galleries are designed to contain images, whereas albums contain either galleries and/or other albums.
|
@@ -203,11 +206,15 @@ Yes, it is possible to add advertising and/or watermark over the images. In both
|
|
203 |
|
204 |
== Changelog ==
|
205 |
|
206 |
-
= 1.2.
|
207 |
-
*
|
|
|
|
|
|
|
208 |
|
209 |
-
= 1.2.13 =
|
210 |
-
* security issue fixed in filemanager
|
|
|
211 |
|
212 |
= 1.2.12 =
|
213 |
* Front-end image sorting possibility (dropdown) for the users
|
1 |
=== Photo Gallery ===
|
2 |
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, responsive gallery, add album, add gallery, add pictures, fotoalbum, foto, gallery decription, multiple pictures, photoalbum, upload images, upload photos, view images, view pictures, admin, AJAX, comments, gallery image, image lightbox, image rotate, image slideshow, image slider, jquery, jquery gallery, slide show, slideshow, thumbnail, thumbnail view, thumbnails, thumbs, responsive, watermarking, watermarks,fullscreen slider, lightbox, photography, sidebar, slide, youtube, vimeo, videos
|
5 |
+
Requires at least: 3.4
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 1.2.15
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
Photo Gallery is an advanced plugin with a list of tools and options for adding and editing images for different views. It is fully responsive.
|
12 |
|
13 |
== Description ==
|
14 |
+
Create 100% responsive FREE WordPress photo gallery in minutes. Easy to customize and various views.
|
15 |
+
|
16 |
https://www.youtube.com/watch?v=4Mxg0FsFZZE&index=5&list=PLnxWPiY5tLFUsFI67acGEPAqoDMZqss5F
|
17 |
|
18 |
[WordPress Photo Gallery](http://web-dorado.com/products/wordpress-photo-gallery-plugin.html)
|
19 |
+
[Photo Gallery Demo](http://wpdemo.web-dorado.com/gallery/)
|
20 |
+
[Photo Gallery Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=galleries_bwg)
|
21 |
+
[Photo Gallery User Manual](http://web-dorado.com/wordpress-gallery-guide-step-1.html)
|
22 |
+
[Photo Gallery Support Forum](http://web-dorado.com/forum/photo-gallery.html)
|
23 |
|
24 |
Photo Gallery is an advanced plugin with a list of tools and options for adding and editing images for different views. It is fully responsive. The product includes plugin for adding image galleries and albums to posts and pages, as well as multiple widgets. You can add images, providing detailed descriptions and tags, organize the galleries into different albums.
|
25 |
|
26 |
The plugin allows displaying galleries/albums within the following views:
|
27 |
|
28 |
+
* Thumbnails gallery view
|
29 |
+
* Masonry gallery view for multi-size thumbnails (commercial version)
|
30 |
+
* Mosaic gallery view (commercial version)
|
31 |
* Slideshow
|
32 |
+
* Image Browser for single image display with a possibility of switching between images
|
33 |
+
* Compact Album view
|
34 |
+
* Masonry Album view (commercial version)
|
35 |
+
* Extended Album view for displaying albums with descriptions
|
36 |
+
* Blog Style gallery view (commercial version)
|
37 |
|
38 |
+
You can make the required customizations for the view in the shortcode in advance to adding in the posts/pages.
|
39 |
|
40 |
+
Included File Manager will help to rename, upload, remove, copy images and/or image directories within a few simple steps.
|
41 |
|
42 |
Photo Gallery product in addition to the main plugin includes 4 specific widgets:
|
43 |
|
46 |
* Photo Gallery Slideshow
|
47 |
* Photo Gallery (similar to the main plugin option)
|
48 |
|
49 |
+
###IMPORTANT:
|
50 |
+
If you think you found a bug in Photo Gallery or have any problem/question concerning the plugin, please check out [Photo Gallery Support Forum](http://web-dorado.com/forum/photo-gallery.html) in our website. If you do not find a solution here, do not hesitate to contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
|
51 |
|
52 |
|
53 |
### The list of the features:
|
54 |
|
55 |
* 100% Responsive
|
56 |
+
* Multiple gallery views to choose from: Thumbnails, Image Browser, Slideshow for galleries and Compact Album, Extended Album views for albums
|
57 |
* Supports the following types of image files: JPG, JPEG, PNG and GIF
|
58 |
+
* Unlimited quantity of photos in gallery
|
59 |
* Possibility of adding unlimited quantity of galleries/albums
|
60 |
* Detailed three-column visual shortcode for adding created gallery/galleries and album/albums into the posts and pages.
|
61 |
+
* Detailed (Extended) album and compact album view
|
62 |
* Possibility of changing the roles of who can edit the galleries/albums/images (Author/All Users)
|
63 |
* Chances to provide details for images (tags, captions)
|
64 |
* Thumbnail editing tools (Crop, rotate and flip)
|
65 |
+
* Possibility of changing the amount of images displayed in a single row of an album/gallery
|
66 |
* Slideshow view with auto play and shuffle features
|
67 |
* Audio track playback possibility with the image slideshow
|
68 |
* Possibility of adding Watermarks/Advertisements for each individual image
|
74 |
* Support for YouTube and Vimeo videos within Galleries.
|
75 |
* Possibility of uploading images from the Media Library of the website.
|
76 |
* Possibility to add tags to all images at once.
|
77 |
+
* Right-click disabling option for the image downloads protection.
|
78 |
* Possibility to display images in the albums in thumbnail or masonry view upon opening
|
79 |
* WordPress Search Integration by gallery and album title
|
80 |
+
* Possibility to display the number of the images in the gallery lighbox (optional feature)
|
81 |
* Resizing possibility after adding the images
|
82 |
* Possibility to display Search Box on the gallery page for the search based on titles
|
83 |
* Possibility to display the number of images in the lighbox
|
86 |
|
87 |
Upgrade to [WordPress Photo Gallery Pro](http://web-dorado.com/products/wordpress-photo-gallery-plugin.html) to add features:
|
88 |
|
89 |
+
* Masonry gallery View.
|
90 |
+
* Mosaic gallery View
|
91 |
* Blog Style View.
|
92 |
* Masonry Album view
|
93 |
* Slideshow/Lightbox 15 effects.
|
98 |
* Possibility to include both videos and images within a single gallery.
|
99 |
|
100 |
|
|
|
101 |
### Supported languages
|
102 |
|
103 |
*If you need language of Photo Gallery which is not included in this list, please contact us and we will do the translation of Photo Gallery within 3 days. If you find any mistakes in the translation, please contact us and we will make relevant corrections within 3 days. *
|
183 |
== Frequently Asked Questions ==
|
184 |
|
185 |
= 1. How can I add images to the Photo Gallery? =
|
186 |
+
The images can be added to Photo Gallery using its standard File Manager. The uploader can be used both for uploading individual images or multiple images (This should done by uploading a .zip archive file)
|
187 |
|
188 |
= 2. What is the difference between galleries and albums? =
|
189 |
The galleries are designed to contain images, whereas albums contain either galleries and/or other albums.
|
206 |
|
207 |
== Changelog ==
|
208 |
|
209 |
+
= 1.2.15 =
|
210 |
+
* added large image url in page source for SEO
|
211 |
+
|
212 |
+
= 1.2.14 =
|
213 |
+
* shortcode issue fixed
|
214 |
|
215 |
+
= 1.2.13 =
|
216 |
+
* [CVE-2015-2324] security issue fixed in filemanager
|
217 |
+
This vulnerability was discovered by Fortinet's FortiGuard Labs.
|
218 |
|
219 |
= 1.2.12 =
|
220 |
* Front-end image sorting possibility (dropdown) for the users
|