Version Description
- Added: Show gallery title (optional from shortcode).
- Added: Show gallery description (optional).
- Added: Show image description in blog style view (optional).
- Fixed: Required field validation.
- Fixed: Filemanager.
- Changed: Removed support forum link.
Download this release
Release Info
Developer | webdorado |
Plugin | Photo Gallery by WD – Responsive Photo Gallery |
Version | 1.3.37 |
Comparing to | |
See all releases |
Code changes from version 1.3.36 to 1.3.37
- admin/views/BWGViewAlbums_bwg.php +1 -1
- admin/views/BWGViewBWGShortcode.php +78 -1
- admin/views/BWGViewGalleries_bwg.php +1 -1
- admin/views/BWGViewOptions_bwg.php +26 -18
- admin/views/BWGViewThemes_bwg.php +1 -1
- filemanager/UploadHandler.php +1 -2
- filemanager/model.php +1 -1
- framework/BWGOptions.php +1 -0
- frontend/views/BWGViewAlbum_compact_preview.php +44 -2
- frontend/views/BWGViewAlbum_extended_preview.php +47 -3
- frontend/views/BWGViewImage_browser.php +48 -1
- frontend/views/BWGViewThumbnails.php +48 -2
- images/wd_logo.png +0 -0
- js/bwg.js +6 -0
- js/bwg_shortcode.js +26 -0
- photo-gallery.php +45 -19
- readme.txt +28 -16
admin/views/BWGViewAlbums_bwg.php
CHANGED
@@ -271,7 +271,7 @@ class BWGViewAlbums_bwg {
|
|
271 |
<tbody>
|
272 |
<tr>
|
273 |
<td class="spider_label"><label for="name"><?php _e("Name:", 'bwg_back'); ?> <span style="color:#FF0000;">*</span> </label></td>
|
274 |
-
<td><input type="text" id="name" name="name" value="<?php echo $row->name; ?>" size="39" /></td>
|
275 |
</tr>
|
276 |
<tr>
|
277 |
<td class="spider_label"><label for="slug"><?php _e("Slug:", 'bwg_back'); ?> </label></td>
|
271 |
<tbody>
|
272 |
<tr>
|
273 |
<td class="spider_label"><label for="name"><?php _e("Name:", 'bwg_back'); ?> <span style="color:#FF0000;">*</span> </label></td>
|
274 |
+
<td><input type="text" id="name" name="name" value="<?php echo $row->name; ?>" size="39" class="bwg_requried"/></td>
|
275 |
</tr>
|
276 |
<tr>
|
277 |
<td class="spider_label"><label for="slug"><?php _e("Slug:", 'bwg_back'); ?> </label></td>
|
admin/views/BWGViewBWGShortcode.php
CHANGED
@@ -269,6 +269,27 @@ class BWGViewBWGShortcode {
|
|
269 |
<input type="radio" name="show_sort_images" id="show_sort_images_0" value="0" <?php if (!$wd_bwg_options->show_sort_images) echo 'checked="checked"'; ?> onchange="" /><label for="show_sort_images_0"><?php _e('No', 'bwg_back'); ?>;</label>
|
270 |
</td>
|
271 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
272 |
<!--Thumbnails, Masonry viewies-->
|
273 |
<tr id="tr_masonry_hor_ver">
|
274 |
<td class="spider_label"><label><?php _e("Masonry:", 'bwg_back'); ?> </label></td>
|
@@ -1197,6 +1218,18 @@ class BWGViewBWGShortcode {
|
|
1197 |
else if (short_code['image_enable_page'] == 3) {
|
1198 |
jQuery("#image_page_scrol_load").attr('checked', 'checked');
|
1199 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1200 |
jQuery("#thumb_width").val(short_code['thumb_width']);
|
1201 |
jQuery("#thumb_height").val(short_code['thumb_height']);
|
1202 |
break;
|
@@ -1304,6 +1337,18 @@ class BWGViewBWGShortcode {
|
|
1304 |
else {
|
1305 |
jQuery("#image_browser_description_no").attr('checked', 'checked');
|
1306 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1307 |
break;
|
1308 |
|
1309 |
}
|
@@ -1385,8 +1430,20 @@ class BWGViewBWGShortcode {
|
|
1385 |
jQuery("#show_tag_box_0").attr('checked', 'checked');
|
1386 |
}
|
1387 |
jQuery("#compuct_album_mosaic_total_width").val(short_code['compuct_album_mosaic_total_width']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1388 |
break;
|
1389 |
-
|
1390 |
}
|
1391 |
case 'album_extended_preview': {
|
1392 |
jQuery("select[id=album] option[value='" + short_code['album_id'] + "']").attr('selected', 'selected');
|
@@ -1471,6 +1528,18 @@ class BWGViewBWGShortcode {
|
|
1471 |
jQuery("#show_tag_box_0").attr('checked', 'checked');
|
1472 |
}
|
1473 |
jQuery("#extended_album_mosaic_total_width").val(short_code['extended_album_mosaic_total_width']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1474 |
break;
|
1475 |
|
1476 |
}
|
@@ -1746,6 +1815,8 @@ class BWGViewBWGShortcode {
|
|
1746 |
tagtext += ' load_more_image_count="' + jQuery("#load_more_image_count").val() + '"';
|
1747 |
tagtext += ' show_tag_box="' + jQuery("input[name=show_tag_box]:checked").val() + '"';
|
1748 |
tagtext += ' tag="' + jQuery("#tag").val() + '"';
|
|
|
|
|
1749 |
break;
|
1750 |
|
1751 |
}
|
@@ -1786,6 +1857,8 @@ class BWGViewBWGShortcode {
|
|
1786 |
tagtext += ' image_browser_description_enable="' + jQuery("input[name=image_browser_description_enable]:checked").val() + '"';
|
1787 |
title = ' gal_title="' + jQuery.trim(jQuery('#gallery option:selected').text().replace("'", "").replace('"', '')) + '"';
|
1788 |
tagtext += ' tag="' + jQuery("#tag").val() + '"';
|
|
|
|
|
1789 |
break;
|
1790 |
|
1791 |
}
|
@@ -1815,6 +1888,8 @@ class BWGViewBWGShortcode {
|
|
1815 |
tagtext += ' compuct_albums_per_page_load_more="' + jQuery("#compuct_albums_per_page_load_more").val() + '"';
|
1816 |
tagtext += ' show_tag_box="' + jQuery("input[name=show_tag_box]:checked").val() + '"';
|
1817 |
title = ' gal_title="' + jQuery.trim(jQuery('#album option:selected').text().replace("'", "").replace('"', '')) + '"';
|
|
|
|
|
1818 |
break;
|
1819 |
|
1820 |
}
|
@@ -1844,6 +1919,8 @@ class BWGViewBWGShortcode {
|
|
1844 |
tagtext += ' extended_albums_per_page_load_more="' + jQuery("#extended_albums_per_page_load_more").val() + '"';
|
1845 |
tagtext += ' show_tag_box="' + jQuery("input[name=show_tag_box]:checked").val() + '"';
|
1846 |
title = ' gal_title="' + jQuery.trim(jQuery('#album option:selected').text().replace("'", "").replace('"', '')) + '"';
|
|
|
|
|
1847 |
break;
|
1848 |
|
1849 |
}
|
269 |
<input type="radio" name="show_sort_images" id="show_sort_images_0" value="0" <?php if (!$wd_bwg_options->show_sort_images) echo 'checked="checked"'; ?> onchange="" /><label for="show_sort_images_0"><?php _e('No', 'bwg_back'); ?>;</label>
|
270 |
</td>
|
271 |
</tr>
|
272 |
+
<tr id="tr_showthumbs_name">
|
273 |
+
<td class="spider_label"><label><?php echo _e('Show gallery title:', 'bwg_back'); ?> </label></td>
|
274 |
+
<td>
|
275 |
+
<input type="radio" name="showthumbs_name" id="showthumbs_name_1" value="1" <?php if ($wd_bwg_options->showthumbs_name) echo 'checked="checked"'; ?> onchange="" /><label for="showthumbs_name_1"><?php echo _e('Yes', 'bwg_back'); ?></label>
|
276 |
+
<input type="radio" name="showthumbs_name" id="showthumbs_name_0" value="0" <?php if (!$wd_bwg_options->showthumbs_name) echo 'checked="checked"'; ?> onchange="" /><label for="showthumbs_name_0"><?php echo _e('No', 'bwg_back'); ?></label>
|
277 |
+
</td>
|
278 |
+
</tr>
|
279 |
+
<tr id="tr_show_album_name">
|
280 |
+
<td class="spider_label"><label><?php echo _e('Show gallery title:', 'bwg_back'); ?> </label></td>
|
281 |
+
<td>
|
282 |
+
<input type="radio" name="show_album_name" id="show_album_name_1" value="1" <?php if ($wd_bwg_options->show_album_name) echo 'checked="checked"'; ?> onchange="" /><label for="show_album_name_1"><?php echo _e('Yes', 'bwg_back'); ?></label>
|
283 |
+
<input type="radio" name="show_album_name" id="show_album_name_0" value="0" <?php if (!$wd_bwg_options->show_album_name) echo 'checked="checked"'; ?> onchange="" /><label for="show_album_name_0"><?php echo _e('No', 'bwg_back'); ?></label>
|
284 |
+
</td>
|
285 |
+
</tr>
|
286 |
+
<tr id="tr_show_gallery_description">
|
287 |
+
<td class="spider_label"><label><?php echo __('Show gallery description:', 'bwg_back'); ?> </label></td>
|
288 |
+
<td>
|
289 |
+
<input type="radio" name="show_gallery_description" id="show_gallery_description_1" value="1" <?php if ($wd_bwg_options->show_gallery_description) echo 'checked="checked"'; ?> onchange="" /><label for="show_gallery_description_1"><?php echo __('Yes', 'bwg_back'); ?></label>
|
290 |
+
<input type="radio" name="show_gallery_description" id="show_gallery_description_0" value="0" <?php if (!$wd_bwg_options->show_gallery_description) echo 'checked="checked"'; ?> onchange="" /><label for="show_gallery_description_0"><?php echo __('No', 'bwg_back'); ?></label>
|
291 |
+
</td>
|
292 |
+
</tr>
|
293 |
<!--Thumbnails, Masonry viewies-->
|
294 |
<tr id="tr_masonry_hor_ver">
|
295 |
<td class="spider_label"><label><?php _e("Masonry:", 'bwg_back'); ?> </label></td>
|
1218 |
else if (short_code['image_enable_page'] == 3) {
|
1219 |
jQuery("#image_page_scrol_load").attr('checked', 'checked');
|
1220 |
}
|
1221 |
+
if (short_code['show_gallery_description'] == 1) {
|
1222 |
+
jQuery("#show_gallery_description_1").attr('checked', 'checked');
|
1223 |
+
}
|
1224 |
+
else {
|
1225 |
+
jQuery("#show_gallery_description_0").attr('checked', 'checked');
|
1226 |
+
}
|
1227 |
+
if (short_code['showthumbs_name'] == 1) {
|
1228 |
+
jQuery("#showthumbs_name_1").attr('checked', 'checked');
|
1229 |
+
}
|
1230 |
+
else {
|
1231 |
+
jQuery("#showthumbs_name_0").attr('checked', 'checked');
|
1232 |
+
}
|
1233 |
jQuery("#thumb_width").val(short_code['thumb_width']);
|
1234 |
jQuery("#thumb_height").val(short_code['thumb_height']);
|
1235 |
break;
|
1337 |
else {
|
1338 |
jQuery("#image_browser_description_no").attr('checked', 'checked');
|
1339 |
}
|
1340 |
+
if (short_code['show_gallery_description'] == 1) {
|
1341 |
+
jQuery("#show_gallery_description_1").attr('checked', 'checked');
|
1342 |
+
}
|
1343 |
+
else {
|
1344 |
+
jQuery("#show_gallery_description_0").attr('checked', 'checked');
|
1345 |
+
}
|
1346 |
+
if (short_code['showthumbs_name'] == 1) {
|
1347 |
+
jQuery("#showthumbs_name_1").attr('checked', 'checked');
|
1348 |
+
}
|
1349 |
+
else {
|
1350 |
+
jQuery("#showthumbs_name_0").attr('checked', 'checked');
|
1351 |
+
}
|
1352 |
break;
|
1353 |
|
1354 |
}
|
1430 |
jQuery("#show_tag_box_0").attr('checked', 'checked');
|
1431 |
}
|
1432 |
jQuery("#compuct_album_mosaic_total_width").val(short_code['compuct_album_mosaic_total_width']);
|
1433 |
+
if (short_code['show_gallery_description'] == 1) {
|
1434 |
+
jQuery("#show_gallery_description_1").attr('checked', 'checked');
|
1435 |
+
}
|
1436 |
+
else {
|
1437 |
+
jQuery("#show_gallery_description_0").attr('checked', 'checked');
|
1438 |
+
}
|
1439 |
+
if (short_code['show_album_name'] == 1) {
|
1440 |
+
jQuery("#show_album_name_1").attr('checked', 'checked');
|
1441 |
+
}
|
1442 |
+
else {
|
1443 |
+
jQuery("#show_album_name_0").attr('checked', 'checked');
|
1444 |
+
}
|
1445 |
break;
|
1446 |
+
|
1447 |
}
|
1448 |
case 'album_extended_preview': {
|
1449 |
jQuery("select[id=album] option[value='" + short_code['album_id'] + "']").attr('selected', 'selected');
|
1528 |
jQuery("#show_tag_box_0").attr('checked', 'checked');
|
1529 |
}
|
1530 |
jQuery("#extended_album_mosaic_total_width").val(short_code['extended_album_mosaic_total_width']);
|
1531 |
+
if (short_code['show_gallery_description'] == 1) {
|
1532 |
+
jQuery("#show_gallery_description_1").attr('checked', 'checked');
|
1533 |
+
}
|
1534 |
+
else {
|
1535 |
+
jQuery("#show_gallery_description_0").attr('checked', 'checked');
|
1536 |
+
}
|
1537 |
+
if (short_code['show_album_name'] == 1) {
|
1538 |
+
jQuery("#show_album_name_1").attr('checked', 'checked');
|
1539 |
+
}
|
1540 |
+
else {
|
1541 |
+
jQuery("#show_album_name_0").attr('checked', 'checked');
|
1542 |
+
}
|
1543 |
break;
|
1544 |
|
1545 |
}
|
1815 |
tagtext += ' load_more_image_count="' + jQuery("#load_more_image_count").val() + '"';
|
1816 |
tagtext += ' show_tag_box="' + jQuery("input[name=show_tag_box]:checked").val() + '"';
|
1817 |
tagtext += ' tag="' + jQuery("#tag").val() + '"';
|
1818 |
+
tagtext += ' show_gallery_description="' + jQuery("input[name=show_gallery_description]:checked").val() + '"';
|
1819 |
+
tagtext += ' showthumbs_name="' + jQuery("input[name=showthumbs_name]:checked").val() + '"';
|
1820 |
break;
|
1821 |
|
1822 |
}
|
1857 |
tagtext += ' image_browser_description_enable="' + jQuery("input[name=image_browser_description_enable]:checked").val() + '"';
|
1858 |
title = ' gal_title="' + jQuery.trim(jQuery('#gallery option:selected').text().replace("'", "").replace('"', '')) + '"';
|
1859 |
tagtext += ' tag="' + jQuery("#tag").val() + '"';
|
1860 |
+
tagtext += ' show_gallery_description="' + jQuery("input[name=show_gallery_description]:checked").val() + '"';
|
1861 |
+
tagtext += ' showthumbs_name="' + jQuery("input[name=showthumbs_name]:checked").val() + '"';
|
1862 |
break;
|
1863 |
|
1864 |
}
|
1888 |
tagtext += ' compuct_albums_per_page_load_more="' + jQuery("#compuct_albums_per_page_load_more").val() + '"';
|
1889 |
tagtext += ' show_tag_box="' + jQuery("input[name=show_tag_box]:checked").val() + '"';
|
1890 |
title = ' gal_title="' + jQuery.trim(jQuery('#album option:selected').text().replace("'", "").replace('"', '')) + '"';
|
1891 |
+
tagtext += ' show_gallery_description="' + jQuery("input[name=show_gallery_description]:checked").val() + '"';
|
1892 |
+
tagtext += ' show_album_name="' + jQuery("input[name=show_album_name]:checked").val() + '"';
|
1893 |
break;
|
1894 |
|
1895 |
}
|
1919 |
tagtext += ' extended_albums_per_page_load_more="' + jQuery("#extended_albums_per_page_load_more").val() + '"';
|
1920 |
tagtext += ' show_tag_box="' + jQuery("input[name=show_tag_box]:checked").val() + '"';
|
1921 |
title = ' gal_title="' + jQuery.trim(jQuery('#album option:selected').text().replace("'", "").replace('"', '')) + '"';
|
1922 |
+
tagtext += ' show_gallery_description="' + jQuery("input[name=show_gallery_description]:checked").val() + '"';
|
1923 |
+
tagtext += ' show_album_name="' + jQuery("input[name=show_album_name]:checked").val() + '"';
|
1924 |
break;
|
1925 |
|
1926 |
}
|
admin/views/BWGViewGalleries_bwg.php
CHANGED
@@ -537,7 +537,7 @@ class BWGViewGalleries_bwg {
|
|
537 |
<tbody>
|
538 |
<tr>
|
539 |
<td class="spider_label_galleries"><label for="name"><?php _e("Name:", 'bwg_back'); ?> <span style="color:#FF0000;">*</span> </label></td>
|
540 |
-
<td><input type="text" id="name" name="name" value="<?php echo $row->name; ?>" size="39" /></td>
|
541 |
</tr>
|
542 |
<tr>
|
543 |
<td class="spider_label_galleries"><label for="slug"><?php _e("Slug:", 'bwg_back'); ?> </label></td>
|
537 |
<tbody>
|
538 |
<tr>
|
539 |
<td class="spider_label_galleries"><label for="name"><?php _e("Name:", 'bwg_back'); ?> <span style="color:#FF0000;">*</span> </label></td>
|
540 |
+
<td><input type="text" id="name" name="name" value="<?php echo $row->name; ?>" size="39" class="bwg_requried"/></td>
|
541 |
</tr>
|
542 |
<tr>
|
543 |
<td class="spider_label_galleries"><label for="slug"><?php _e("Slug:", 'bwg_back'); ?> </label></td>
|
admin/views/BWGViewOptions_bwg.php
CHANGED
@@ -208,6 +208,22 @@ class BWGViewOptions_bwg {
|
|
208 |
<div class="spider_description"></div>
|
209 |
</td>
|
210 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
211 |
<tr>
|
212 |
<td class="spider_label_options"><label><?php _e("Image click action:", 'bwg_back'); ?> </label></td>
|
213 |
<td>
|
@@ -718,6 +734,16 @@ class BWGViewOptions_bwg {
|
|
718 |
<div class="spider_div_options" id="div_content_11">
|
719 |
<table>
|
720 |
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
721 |
<tr>
|
722 |
<td class="spider_label_options">
|
723 |
<label for="album_column_number"><?php _e("Number of album columns:", 'bwg_back'); ?> </label>
|
@@ -1419,14 +1445,6 @@ class BWGViewOptions_bwg {
|
|
1419 |
<div class="spider_description"><?php _e("The maximum size of the generated thumbnail. Its dimensions should be larger than the ones of the frontend thumbnail.", 'bwg_back'); ?></div>
|
1420 |
</td>
|
1421 |
</tr>
|
1422 |
-
<tr id="tr_thumb_show_name">
|
1423 |
-
<td class="spider_label_options"><label><?php _e("Show gallery name:", 'bwg_back'); ?> </label></td>
|
1424 |
-
<td>
|
1425 |
-
<input type="radio" name="showthumbs_name" id="thumb_name_yes" value="1" <?php if ($row->showthumbs_name) echo 'checked="checked"'; ?> /><label for="thumb_name_yes"><?php _e("Yes", 'bwg_back'); ?></label>
|
1426 |
-
<input type="radio" name="showthumbs_name" id="thumb_name_no" value="0" <?php if (!$row->showthumbs_name) echo 'checked="checked"'; ?> /><label for="thumb_name_no"><?php _e("No", 'bwg_back'); ?></label>
|
1427 |
-
<div class="spider_description"></div>
|
1428 |
-
</td>
|
1429 |
-
</tr>
|
1430 |
<tr>
|
1431 |
<td class="spider_label_options spider_free_version_label">
|
1432 |
<label><?php _e("Show description in Vertical Masonry view:", 'bwg_back'); ?> </label>
|
@@ -1570,16 +1588,6 @@ class BWGViewOptions_bwg {
|
|
1570 |
<div class="spider_div_options" id="div_content_5">
|
1571 |
<table>
|
1572 |
<tbody>
|
1573 |
-
<tr>
|
1574 |
-
<td class="spider_label_options">
|
1575 |
-
<label><?php _e('Show album/gallery name:', 'bwg_back'); ?></label>
|
1576 |
-
</td>
|
1577 |
-
<td>
|
1578 |
-
<input type="radio" name="show_album_name" id="show_album_name_enable_1" value="1" <?php if ($row->show_album_name) echo 'checked="checked"'; ?> /><label for="show_album_name_enable_1"><?php _e('Yes', 'bwg_back'); ?></label>
|
1579 |
-
<input type="radio" name="show_album_name" id="show_album_name_enable_0" value="0" <?php if (!$row->show_album_name) echo 'checked="checked"'; ?> /><label for="show_album_name_enable_0"><?php _e('No', 'bwg_back'); ?></label>
|
1580 |
-
<div class="spider_description"></div>
|
1581 |
-
</td>
|
1582 |
-
</tr>
|
1583 |
</tbody>
|
1584 |
</table>
|
1585 |
</div>
|
208 |
<div class="spider_description"></div>
|
209 |
</td>
|
210 |
</tr>
|
211 |
+
<tr id="tr_thumb_show_name">
|
212 |
+
<td class="spider_label_options"><label><?php _e("Show gallery name:", 'bwg_back'); ?> </label></td>
|
213 |
+
<td>
|
214 |
+
<input type="radio" name="showthumbs_name" id="thumb_name_yes" value="1" <?php if ($row->showthumbs_name) echo 'checked="checked"'; ?> /><label for="thumb_name_yes"><?php _e("Yes", 'bwg_back'); ?></label>
|
215 |
+
<input type="radio" name="showthumbs_name" id="thumb_name_no" value="0" <?php if (!$row->showthumbs_name) echo 'checked="checked"'; ?> /><label for="thumb_name_no"><?php _e("No", 'bwg_back'); ?></label>
|
216 |
+
<div class="spider_description"></div>
|
217 |
+
</td>
|
218 |
+
</tr>
|
219 |
+
<tr>
|
220 |
+
<td class="spider_label_options"><label><?php echo __('Show Gallery description:', 'bwg_back'); ?> </label></td>
|
221 |
+
<td>
|
222 |
+
<input type="radio" name="show_gallery_description" id="show_gallery_description_1" value="1" <?php if ($row->show_gallery_description) echo 'checked="checked"'; ?> /><label for="show_gallery_description_1"><?php echo __('Yes', 'bwg_back'); ?></label>
|
223 |
+
<input type="radio" name="show_gallery_description" id="show_gallery_description_0" value="0" <?php if (!$row->show_gallery_description) echo 'checked="checked"'; ?> /><label for="show_gallery_description_0"><?php echo __('No', 'bwg_back'); ?></label>
|
224 |
+
<div class="spider_description"></div>
|
225 |
+
</td>
|
226 |
+
</tr>
|
227 |
<tr>
|
228 |
<td class="spider_label_options"><label><?php _e("Image click action:", 'bwg_back'); ?> </label></td>
|
229 |
<td>
|
734 |
<div class="spider_div_options" id="div_content_11">
|
735 |
<table>
|
736 |
<tbody>
|
737 |
+
<tr>
|
738 |
+
<td class="spider_label_options">
|
739 |
+
<label><?php _e('Show album/gallery name:', 'bwg_back'); ?></label>
|
740 |
+
</td>
|
741 |
+
<td>
|
742 |
+
<input type="radio" name="show_album_name" id="show_album_name_enable_1" value="1" <?php if ($row->show_album_name) echo 'checked="checked"'; ?> /><label for="show_album_name_enable_1"><?php _e('Yes', 'bwg_back'); ?></label>
|
743 |
+
<input type="radio" name="show_album_name" id="show_album_name_enable_0" value="0" <?php if (!$row->show_album_name) echo 'checked="checked"'; ?> /><label for="show_album_name_enable_0"><?php _e('No', 'bwg_back'); ?></label>
|
744 |
+
<div class="spider_description"></div>
|
745 |
+
</td>
|
746 |
+
</tr>
|
747 |
<tr>
|
748 |
<td class="spider_label_options">
|
749 |
<label for="album_column_number"><?php _e("Number of album columns:", 'bwg_back'); ?> </label>
|
1445 |
<div class="spider_description"><?php _e("The maximum size of the generated thumbnail. Its dimensions should be larger than the ones of the frontend thumbnail.", 'bwg_back'); ?></div>
|
1446 |
</td>
|
1447 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1448 |
<tr>
|
1449 |
<td class="spider_label_options spider_free_version_label">
|
1450 |
<label><?php _e("Show description in Vertical Masonry view:", 'bwg_back'); ?> </label>
|
1588 |
<div class="spider_div_options" id="div_content_5">
|
1589 |
<table>
|
1590 |
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1591 |
</tbody>
|
1592 |
</table>
|
1593 |
</div>
|
admin/views/BWGViewThemes_bwg.php
CHANGED
@@ -273,7 +273,7 @@ class BWGViewThemes_bwg {
|
|
273 |
<tbody>
|
274 |
<tr>
|
275 |
<td class="spider_label"><label for="name"><?php _e("Name:", 'bwg_back'); ?> <span style="color:#FF0000;"> * </span> </label></td>
|
276 |
-
<td><input type="text" id="name" name="name" value="<?php echo $row->name; ?>" class="spider_text_input"/></td>
|
277 |
</tr>
|
278 |
</tbody>
|
279 |
</table>
|
273 |
<tbody>
|
274 |
<tr>
|
275 |
<td class="spider_label"><label for="name"><?php _e("Name:", 'bwg_back'); ?> <span style="color:#FF0000;"> * </span> </label></td>
|
276 |
+
<td><input type="text" id="name" name="name" value="<?php echo $row->name; ?>" class="spider_text_input bwg_requried"/></td>
|
277 |
</tr>
|
278 |
</tbody>
|
279 |
</table>
|
filemanager/UploadHandler.php
CHANGED
@@ -309,7 +309,7 @@ class bwg_UploadHandler {
|
|
309 |
error_log('Function not found: getimagesize');
|
310 |
return false;
|
311 |
}
|
312 |
-
list($img_width, $img_height) = @getimagesize(htmlspecialchars_decode($file_path, ENT_COMPAT | ENT_QUOTES));
|
313 |
if (!$img_width || !$img_height) {
|
314 |
return false;
|
315 |
}
|
@@ -349,7 +349,6 @@ class bwg_UploadHandler {
|
|
349 |
$dst_y = 0 - ($new_height - $max_height) / 2;
|
350 |
$new_img = @imagecreatetruecolor($max_width, $max_height);
|
351 |
}
|
352 |
-
list($width, $height, $type) = getimagesize(htmlspecialchars_decode($file_path, ENT_COMPAT | ENT_QUOTES));
|
353 |
// switch (strtolower(substr(strrchr($file_name, '.'), 1))) {
|
354 |
switch ($type) {
|
355 |
case 2:
|
309 |
error_log('Function not found: getimagesize');
|
310 |
return false;
|
311 |
}
|
312 |
+
list($img_width, $img_height, $type) = @getimagesize(htmlspecialchars_decode($file_path, ENT_COMPAT | ENT_QUOTES));
|
313 |
if (!$img_width || !$img_height) {
|
314 |
return false;
|
315 |
}
|
349 |
$dst_y = 0 - ($new_height - $max_height) / 2;
|
350 |
$new_img = @imagecreatetruecolor($max_width, $max_height);
|
351 |
}
|
|
|
352 |
// switch (strtolower(substr(strrchr($file_name, '.'), 1))) {
|
353 |
switch ($type) {
|
354 |
case 2:
|
filemanager/model.php
CHANGED
@@ -58,7 +58,7 @@ class FilemanagerModel {
|
|
58 |
}
|
59 |
else {
|
60 |
$data['media_library_files'] = array();
|
61 |
-
$data['importer_files_count'] =
|
62 |
$data['media_library_files_all'] = array();
|
63 |
}
|
64 |
$data['extensions'] = (isset($_REQUEST['extensions']) ? esc_html($_REQUEST['extensions']) : '');
|
58 |
}
|
59 |
else {
|
60 |
$data['media_library_files'] = array();
|
61 |
+
$data['importer_files_count'] = 0;
|
62 |
$data['media_library_files_all'] = array();
|
63 |
}
|
64 |
$data['extensions'] = (isset($_REQUEST['extensions']) ? esc_html($_REQUEST['extensions']) : '');
|
framework/BWGOptions.php
CHANGED
@@ -18,6 +18,7 @@ class WD_BWG_Options {
|
|
18 |
public $image_enable_page = 1;
|
19 |
public $image_title_show_hover = 'none';
|
20 |
public $ecommerce_icon_show_hover = 'none';
|
|
|
21 |
|
22 |
public $album_column_number = 5;
|
23 |
public $albums_per_page = 30;
|
18 |
public $image_enable_page = 1;
|
19 |
public $image_title_show_hover = 'none';
|
20 |
public $ecommerce_icon_show_hover = 'none';
|
21 |
+
public $show_gallery_description = 0;
|
22 |
|
23 |
public $album_column_number = 5;
|
24 |
public $albums_per_page = 30;
|
frontend/views/BWGViewAlbum_compact_preview.php
CHANGED
@@ -64,6 +64,9 @@ class BWGViewAlbum_compact_preview {
|
|
64 |
if (!isset($params['show_tag_box'])) {
|
65 |
$params['show_tag_box'] = 0;
|
66 |
}
|
|
|
|
|
|
|
67 |
global $wd_bwg_options;
|
68 |
$placeholder = isset($wd_bwg_options->placeholder) ? $wd_bwg_options->placeholder : '';
|
69 |
if (!isset($params['show_album_name'])) {
|
@@ -129,6 +132,27 @@ class BWGViewAlbum_compact_preview {
|
|
129 |
echo WDWLibrary::message(__('There is no theme selected or the theme was deleted.', 'bwg'), 'wd_error');
|
130 |
return;
|
131 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
$album_gallery_id = (isset($_REQUEST['album_gallery_id_' . $bwg]) ? esc_html($_REQUEST['album_gallery_id_' . $bwg]) : $params['album_id']);
|
133 |
$album_row = WDWLibrary::get_album_row_data($album_gallery_id, FALSE);
|
134 |
if (!$album_gallery_id || ($type == 'album' && !$album_row)) {
|
@@ -152,6 +176,8 @@ class BWGViewAlbum_compact_preview {
|
|
152 |
}
|
153 |
}
|
154 |
$image_rows = WDWLibrary::get_image_rows_data($album_gallery_id, $bwg, 'album_compact', 'bwg_tag_id_bwg_album_compact_' . $bwg, '', $items_per_page, $params['compuct_album_images_per_page'], $params['sort_by'], $sort_direction);
|
|
|
|
|
155 |
$page_nav = $image_rows['page_nav'];
|
156 |
$image_rows = $image_rows['images'];
|
157 |
$images_count = count($image_rows);
|
@@ -317,10 +343,10 @@ class BWGViewAlbum_compact_preview {
|
|
317 |
<a class="bwg_back_<?php echo $bwg; ?>" onclick="spider_frontend_ajax('gal_front_form_<?php echo $bwg; ?>', '<?php echo $bwg; ?>', '<?php echo $album_gallery_div_id; ?>', 'back', '', 'album')"><?php echo __('Back', 'bwg'); ?></a>
|
318 |
<?php
|
319 |
}
|
320 |
-
if ($
|
321 |
if ($type == 'gallery') {
|
322 |
?>
|
323 |
-
<div class="
|
324 |
<?php
|
325 |
}
|
326 |
else {
|
@@ -464,6 +490,11 @@ class BWGViewAlbum_compact_preview {
|
|
464 |
<?php
|
465 |
}
|
466 |
}
|
|
|
|
|
|
|
|
|
|
|
467 |
foreach ($image_rows as $image_row) {
|
468 |
$is_embed = preg_match('/EMBED/', $image_row->filetype) == 1 ? true : false;
|
469 |
$is_embed_video = preg_match('/VIDEO/', $image_row->filetype) == 1 ? true : false;
|
@@ -919,6 +950,17 @@ class BWGViewAlbum_compact_preview {
|
|
919 |
text-align: center;
|
920 |
margin: 0 auto;
|
921 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
922 |
<?php
|
923 |
return ob_get_clean();
|
924 |
}
|
64 |
if (!isset($params['show_tag_box'])) {
|
65 |
$params['show_tag_box'] = 0;
|
66 |
}
|
67 |
+
if (!isset($params['show_gallery_description'])) {
|
68 |
+
$params['show_gallery_description'] = 0;
|
69 |
+
}
|
70 |
global $wd_bwg_options;
|
71 |
$placeholder = isset($wd_bwg_options->placeholder) ? $wd_bwg_options->placeholder : '';
|
72 |
if (!isset($params['show_album_name'])) {
|
132 |
echo WDWLibrary::message(__('There is no theme selected or the theme was deleted.', 'bwg'), 'wd_error');
|
133 |
return;
|
134 |
}
|
135 |
+
if (!isset($theme_row->album_extended_gal_title_font_color)) {
|
136 |
+
$theme_row->album_extended_gal_title_font_color = 'CCCCCC';
|
137 |
+
}
|
138 |
+
if (!isset($theme_row->album_extended_gal_title_font_style)) {
|
139 |
+
$theme_row->album_extended_gal_title_font_style = 'segoe ui';
|
140 |
+
}
|
141 |
+
if (!isset($theme_row->album_extended_gal_title_font_size)) {
|
142 |
+
$theme_row->album_extended_gal_title_font_size = 16;
|
143 |
+
}
|
144 |
+
if (!isset($theme_row->album_extended_gal_title_font_weight)) {
|
145 |
+
$theme_row->album_extended_gal_title_font_weight = 'bold';
|
146 |
+
}
|
147 |
+
if (!isset($theme_row->album_extended_gal_title_margin)) {
|
148 |
+
$theme_row->album_extended_gal_title_margin = '2px';
|
149 |
+
}
|
150 |
+
if (!isset($theme_row->album_extended_gal_title_shadow)) {
|
151 |
+
$theme_row->album_extended_gal_title_shadow = '0px 0px 0px #888888';
|
152 |
+
}
|
153 |
+
if (!isset($theme_row->album_extended_gal_title_align)) {
|
154 |
+
$theme_row->album_extended_gal_title_align = 'center';
|
155 |
+
}
|
156 |
$album_gallery_id = (isset($_REQUEST['album_gallery_id_' . $bwg]) ? esc_html($_REQUEST['album_gallery_id_' . $bwg]) : $params['album_id']);
|
157 |
$album_row = WDWLibrary::get_album_row_data($album_gallery_id, FALSE);
|
158 |
if (!$album_gallery_id || ($type == 'album' && !$album_row)) {
|
176 |
}
|
177 |
}
|
178 |
$image_rows = WDWLibrary::get_image_rows_data($album_gallery_id, $bwg, 'album_compact', 'bwg_tag_id_bwg_album_compact_' . $bwg, '', $items_per_page, $params['compuct_album_images_per_page'], $params['sort_by'], $sort_direction);
|
179 |
+
|
180 |
+
$gallery_row = WDWLibrary::get_gallery_row_data($album_gallery_id, ($from === "widget" ? "compact" : ""));
|
181 |
$page_nav = $image_rows['page_nav'];
|
182 |
$image_rows = $image_rows['images'];
|
183 |
$images_count = count($image_rows);
|
343 |
<a class="bwg_back_<?php echo $bwg; ?>" onclick="spider_frontend_ajax('gal_front_form_<?php echo $bwg; ?>', '<?php echo $bwg; ?>', '<?php echo $album_gallery_div_id; ?>', 'back', '', 'album')"><?php echo __('Back', 'bwg'); ?></a>
|
344 |
<?php
|
345 |
}
|
346 |
+
if ($params['show_album_name']) {
|
347 |
if ($type == 'gallery') {
|
348 |
?>
|
349 |
+
<div class="bwg_gal_title_<?php echo $bwg; ?>" ><?php echo isset($_POST['title_' . $bwg]) ? esc_html($_POST['title_' . $bwg]) : ''; ?></div>
|
350 |
<?php
|
351 |
}
|
352 |
else {
|
490 |
<?php
|
491 |
}
|
492 |
}
|
493 |
+
if ($params['show_gallery_description']) {
|
494 |
+
?>
|
495 |
+
<span class="bwg_back_<?php echo $bwg; ?>" ><?php echo $gallery_row->description; ?></span>
|
496 |
+
<?php
|
497 |
+
}
|
498 |
foreach ($image_rows as $image_row) {
|
499 |
$is_embed = preg_match('/EMBED/', $image_row->filetype) == 1 ? true : false;
|
500 |
$is_embed_video = preg_match('/VIDEO/', $image_row->filetype) == 1 ? true : false;
|
950 |
text-align: center;
|
951 |
margin: 0 auto;
|
952 |
}
|
953 |
+
#bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_gal_title_<?php echo $bwg; ?> {
|
954 |
+
background-color: rgba(0, 0, 0, 0);
|
955 |
+
color: #<?php echo $theme_row->album_extended_gal_title_font_color; ?>;
|
956 |
+
display: block;
|
957 |
+
font-family: <?php echo $theme_row->album_extended_gal_title_font_style; ?>;
|
958 |
+
font-size: <?php echo $theme_row->album_extended_gal_title_font_size; ?>px;
|
959 |
+
font-weight: <?php echo $theme_row->album_extended_gal_title_font_weight; ?>;
|
960 |
+
padding: <?php echo $theme_row->album_extended_gal_title_margin; ?>;
|
961 |
+
text-shadow: <?php echo $theme_row->album_extended_gal_title_shadow; ?>;
|
962 |
+
text-align: <?php echo $theme_row->album_extended_gal_title_align; ?>;
|
963 |
+
}
|
964 |
<?php
|
965 |
return ob_get_clean();
|
966 |
}
|
frontend/views/BWGViewAlbum_extended_preview.php
CHANGED
@@ -67,12 +67,39 @@ class BWGViewAlbum_extended_preview {
|
|
67 |
if (!isset($params['extended_album_enable_page'])) {
|
68 |
$params['extended_album_enable_page'] = 1;
|
69 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
$sort_direction = $params['order_by'];
|
71 |
$theme_row = WDWLibrary::get_theme_row_data($params['theme_id']);
|
72 |
if (!$theme_row) {
|
73 |
echo WDWLibrary::message(__('There is no theme selected or the theme was deleted.', 'bwg'), 'wd_error');
|
74 |
return;
|
75 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
$type = (isset($_REQUEST['type_' . $bwg]) ? esc_html($_REQUEST['type_' . $bwg]) : 'album');
|
77 |
$bwg_search = ((isset($_POST['bwg_search_' . $bwg]) && esc_html($_POST['bwg_search_' . $bwg]) != '') ? esc_html($_POST['bwg_search_' . $bwg]) : '');
|
78 |
$album_gallery_id = (isset($_REQUEST['album_gallery_id_' . $bwg]) ? esc_html($_REQUEST['album_gallery_id_' . $bwg]) : $params['album_id']);
|
@@ -97,6 +124,7 @@ class BWGViewAlbum_extended_preview {
|
|
97 |
}
|
98 |
}
|
99 |
$image_rows = WDWLibrary::get_image_rows_data($album_gallery_id, $bwg, 'album_extended', 'bwg_tag_id_bwg_album_extended_' . $bwg, '', $items_per_page, $params['extended_album_images_per_page'], $params['sort_by'], $sort_direction);
|
|
|
100 |
$page_nav = $image_rows['page_nav'];
|
101 |
$image_rows = $image_rows['images'];
|
102 |
$images_count = count($image_rows);
|
@@ -260,9 +288,9 @@ class BWGViewAlbum_extended_preview {
|
|
260 |
<a class="bwg_back_<?php echo $bwg; ?>" onclick="spider_frontend_ajax('gal_front_form_<?php echo $bwg; ?>', '<?php echo $bwg; ?>', '<?php echo $album_gallery_div_id; ?>', 'back', '', 'album')"><?php echo __('Back', 'bwg'); ?></a>
|
261 |
<?php
|
262 |
}
|
263 |
-
if ($
|
264 |
?>
|
265 |
-
<div class="
|
266 |
<?php
|
267 |
}
|
268 |
if (!$page_nav['total']) {
|
@@ -277,6 +305,11 @@ class BWGViewAlbum_extended_preview {
|
|
277 |
<?php
|
278 |
}
|
279 |
}
|
|
|
|
|
|
|
|
|
|
|
280 |
?>
|
281 |
<div id="<?php echo $album_gallery_div_id; ?>" class="<?php echo $album_gallery_div_class; ?>">
|
282 |
<input type="hidden" id="bwg_previous_album_id_<?php echo $bwg; ?>" name="bwg_previous_album_id_<?php echo $bwg; ?>" value="<?php echo $bwg_previous_album_id; ?>" />
|
@@ -536,7 +569,7 @@ class BWGViewAlbum_extended_preview {
|
|
536 |
if (!bwg_touch_flag) {
|
537 |
bwg_touch_flag = true;
|
538 |
setTimeout(function(){ bwg_touch_flag = false; }, 100);
|
539 |
-
spider_frontend_ajax('gal_front_form_<?php echo $bwg; ?>', '<?php echo $bwg; ?>', 'bwg_album_extended_<?php echo $bwg; ?>', jQuery(this).attr("data-alb_gal_id"), '<?php echo $album_gallery_id; ?>', jQuery(this).attr("data-def_type"), '', jQuery(this).attr("data-title"), 'default');
|
540 |
return false;
|
541 |
}
|
542 |
});
|
@@ -905,6 +938,17 @@ class BWGViewAlbum_extended_preview {
|
|
905 |
text-align: center;
|
906 |
margin: 0 auto;
|
907 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
908 |
<?php
|
909 |
return ob_get_clean();
|
910 |
}
|
67 |
if (!isset($params['extended_album_enable_page'])) {
|
68 |
$params['extended_album_enable_page'] = 1;
|
69 |
}
|
70 |
+
if (!isset($params['show_gallery_description'])) {
|
71 |
+
$params['show_gallery_description'] = 0;
|
72 |
+
}
|
73 |
+
if (!isset($params['show_album_name'])) {
|
74 |
+
$params['show_album_name'] = $wd_bwg_options->show_album_name;
|
75 |
+
}
|
76 |
$sort_direction = $params['order_by'];
|
77 |
$theme_row = WDWLibrary::get_theme_row_data($params['theme_id']);
|
78 |
if (!$theme_row) {
|
79 |
echo WDWLibrary::message(__('There is no theme selected or the theme was deleted.', 'bwg'), 'wd_error');
|
80 |
return;
|
81 |
}
|
82 |
+
if (!isset($theme_row->album_extended_gal_title_font_color)) {
|
83 |
+
$theme_row->album_extended_gal_title_font_color = 'CCCCCC';
|
84 |
+
}
|
85 |
+
if (!isset($theme_row->album_extended_gal_title_font_style)) {
|
86 |
+
$theme_row->album_extended_gal_title_font_style = 'segoe ui';
|
87 |
+
}
|
88 |
+
if (!isset($theme_row->album_extended_gal_title_font_size)) {
|
89 |
+
$theme_row->album_extended_gal_title_font_size = 16;
|
90 |
+
}
|
91 |
+
if (!isset($theme_row->album_extended_gal_title_font_weight)) {
|
92 |
+
$theme_row->album_extended_gal_title_font_weight = 'bold';
|
93 |
+
}
|
94 |
+
if (!isset($theme_row->album_extended_gal_title_margin)) {
|
95 |
+
$theme_row->album_extended_gal_title_margin = '2px';
|
96 |
+
}
|
97 |
+
if (!isset($theme_row->album_extended_gal_title_shadow)) {
|
98 |
+
$theme_row->album_extended_gal_title_shadow = '0px 0px 0px #888888';
|
99 |
+
}
|
100 |
+
if (!isset($theme_row->album_extended_gal_title_align)) {
|
101 |
+
$theme_row->album_extended_gal_title_align = 'center';
|
102 |
+
}
|
103 |
$type = (isset($_REQUEST['type_' . $bwg]) ? esc_html($_REQUEST['type_' . $bwg]) : 'album');
|
104 |
$bwg_search = ((isset($_POST['bwg_search_' . $bwg]) && esc_html($_POST['bwg_search_' . $bwg]) != '') ? esc_html($_POST['bwg_search_' . $bwg]) : '');
|
105 |
$album_gallery_id = (isset($_REQUEST['album_gallery_id_' . $bwg]) ? esc_html($_REQUEST['album_gallery_id_' . $bwg]) : $params['album_id']);
|
124 |
}
|
125 |
}
|
126 |
$image_rows = WDWLibrary::get_image_rows_data($album_gallery_id, $bwg, 'album_extended', 'bwg_tag_id_bwg_album_extended_' . $bwg, '', $items_per_page, $params['extended_album_images_per_page'], $params['sort_by'], $sort_direction);
|
127 |
+
$gallery_row = WDWLibrary::get_gallery_row_data($album_galallery_row->alb_gal_id);
|
128 |
$page_nav = $image_rows['page_nav'];
|
129 |
$image_rows = $image_rows['images'];
|
130 |
$images_count = count($image_rows);
|
288 |
<a class="bwg_back_<?php echo $bwg; ?>" onclick="spider_frontend_ajax('gal_front_form_<?php echo $bwg; ?>', '<?php echo $bwg; ?>', '<?php echo $album_gallery_div_id; ?>', 'back', '', 'album')"><?php echo __('Back', 'bwg'); ?></a>
|
289 |
<?php
|
290 |
}
|
291 |
+
if ($params['show_album_name']) {
|
292 |
?>
|
293 |
+
<div class="bwg_gal_title_<?php echo $bwg; ?>" ><?php echo isset($_POST['title_' . $bwg]) ? esc_html($_POST['title_' . $bwg]) : ''; ?></div>
|
294 |
<?php
|
295 |
}
|
296 |
if (!$page_nav['total']) {
|
305 |
<?php
|
306 |
}
|
307 |
}
|
308 |
+
if ($params['show_gallery_description']) {
|
309 |
+
?>
|
310 |
+
<div class="bwg_back_<?php echo $bwg; ?>" ><?php echo isset($_POST['desc_' . $bwg]) ? $_POST['desc_' . $bwg] : ''; ?></div>
|
311 |
+
<?php
|
312 |
+
}
|
313 |
?>
|
314 |
<div id="<?php echo $album_gallery_div_id; ?>" class="<?php echo $album_gallery_div_class; ?>">
|
315 |
<input type="hidden" id="bwg_previous_album_id_<?php echo $bwg; ?>" name="bwg_previous_album_id_<?php echo $bwg; ?>" value="<?php echo $bwg_previous_album_id; ?>" />
|
569 |
if (!bwg_touch_flag) {
|
570 |
bwg_touch_flag = true;
|
571 |
setTimeout(function(){ bwg_touch_flag = false; }, 100);
|
572 |
+
spider_frontend_ajax('gal_front_form_<?php echo $bwg; ?>', '<?php echo $bwg; ?>', 'bwg_album_extended_<?php echo $bwg; ?>', jQuery(this).attr("data-alb_gal_id"), '<?php echo $album_gallery_id; ?>', jQuery(this).attr("data-def_type"), '', jQuery(this).attr("data-title"), 'default', false, jQuery(this).closest(".bwg_album_extended_div_<?php echo $bwg; ?>").find(".bwg_description_short_<?php echo $bwg; ?>").html());
|
573 |
return false;
|
574 |
}
|
575 |
});
|
938 |
text-align: center;
|
939 |
margin: 0 auto;
|
940 |
}
|
941 |
+
#bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_gal_title_<?php echo $bwg; ?> {
|
942 |
+
background-color: rgba(0, 0, 0, 0);
|
943 |
+
color: #<?php echo $theme_row->album_extended_gal_title_font_color; ?>;
|
944 |
+
display: block;
|
945 |
+
font-family: <?php echo $theme_row->album_extended_gal_title_font_style; ?>;
|
946 |
+
font-size: <?php echo $theme_row->album_extended_gal_title_font_size; ?>px;
|
947 |
+
font-weight: <?php echo $theme_row->album_extended_gal_title_font_weight; ?>;
|
948 |
+
padding: <?php echo $theme_row->album_extended_gal_title_margin; ?>;
|
949 |
+
text-shadow: <?php echo $theme_row->album_extended_gal_title_shadow; ?>;
|
950 |
+
text-align: <?php echo $theme_row->album_extended_gal_title_align; ?>;
|
951 |
+
}
|
952 |
<?php
|
953 |
return ob_get_clean();
|
954 |
}
|
frontend/views/BWGViewImage_browser.php
CHANGED
@@ -47,6 +47,12 @@ class BWGViewImage_browser {
|
|
47 |
if (!isset($params['tag'])) {
|
48 |
$params['tag'] = 0;
|
49 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
if (!$theme_row) {
|
51 |
echo WDWLibrary::message(__('There is no theme selected or the theme was deleted.', 'bwg'), 'wd_error');
|
52 |
return;
|
@@ -156,7 +162,27 @@ class BWGViewImage_browser {
|
|
156 |
$params_array['watermark_font_size'] = '';
|
157 |
}
|
158 |
$image_browser_image_title_align = (isset($theme_row->image_browser_image_title_align)) ? $theme_row->image_browser_image_title_align : 'top';
|
159 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
$inline_style = $this->inline_styles($bwg, $theme_row, $params, $params_array, $text_align, $vertical_align);
|
161 |
if ($wd_bwg_options->use_inline_stiles_and_scripts) {
|
162 |
wp_enqueue_style('bwg_frontend');
|
@@ -194,6 +220,16 @@ class BWGViewImage_browser {
|
|
194 |
if ($params['show_search_box']) {
|
195 |
WDWLibrary::ajax_html_frontend_search_box('gal_front_form_' . $bwg, $bwg, 'bwg_standart_thumbnails_' . $bwg, $images_count, $params['search_box_width'], $placeholder);
|
196 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
?>
|
198 |
<div class="image_browser_images_conteiner_<?php echo $bwg; ?>">
|
199 |
<div id="ajax_loading_<?php echo $bwg; ?>" style="position:absolute;width: 100%; z-index: 115; text-align: center; height: 100%; vertical-align: middle; display:none;">
|
@@ -669,6 +705,17 @@ class BWGViewImage_browser {
|
|
669 |
-ms-user-select: none;
|
670 |
user-select: none;
|
671 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
672 |
<?php
|
673 |
return ob_get_clean();
|
674 |
}
|
47 |
if (!isset($params['tag'])) {
|
48 |
$params['tag'] = 0;
|
49 |
}
|
50 |
+
if (!isset($params['show_gallery_description'])) {
|
51 |
+
$params['show_gallery_description'] = 0;
|
52 |
+
}
|
53 |
+
if (!isset($params['showthumbs_name'])) {
|
54 |
+
$params['showthumbs_name'] = 0;
|
55 |
+
}
|
56 |
if (!$theme_row) {
|
57 |
echo WDWLibrary::message(__('There is no theme selected or the theme was deleted.', 'bwg'), 'wd_error');
|
58 |
return;
|
162 |
$params_array['watermark_font_size'] = '';
|
163 |
}
|
164 |
$image_browser_image_title_align = (isset($theme_row->image_browser_image_title_align)) ? $theme_row->image_browser_image_title_align : 'top';
|
165 |
+
if (!isset($theme_row->image_browser_gal_title_font_color)) {
|
166 |
+
$theme_row->image_browser_gal_title_font_color = 'CCCCCC';
|
167 |
+
}
|
168 |
+
if (!isset($theme_row->image_browser_gal_title_font_style)) {
|
169 |
+
$theme_row->image_browser_gal_title_font_style = 'segoe ui';
|
170 |
+
}
|
171 |
+
if (!isset($theme_row->image_browser_gal_title_font_size)) {
|
172 |
+
$theme_row->image_browser_gal_title_font_size = 16;
|
173 |
+
}
|
174 |
+
if (!isset($theme_row->image_browser_gal_title_font_weight)) {
|
175 |
+
$theme_row->image_browser_gal_title_font_weight = 'bold';
|
176 |
+
}
|
177 |
+
if (!isset($theme_row->image_browser_gal_title_margin)) {
|
178 |
+
$theme_row->image_browser_gal_title_margin = '2px';
|
179 |
+
}
|
180 |
+
if (!isset($theme_row->image_browser_gal_title_shadow)) {
|
181 |
+
$theme_row->image_browser_gal_title_shadow = '0px 0px 0px #888888';
|
182 |
+
}
|
183 |
+
if (!isset($theme_row->image_browser_gal_title_align)) {
|
184 |
+
$theme_row->image_browser_gal_title_align = 'center';
|
185 |
+
}
|
186 |
$inline_style = $this->inline_styles($bwg, $theme_row, $params, $params_array, $text_align, $vertical_align);
|
187 |
if ($wd_bwg_options->use_inline_stiles_and_scripts) {
|
188 |
wp_enqueue_style('bwg_frontend');
|
220 |
if ($params['show_search_box']) {
|
221 |
WDWLibrary::ajax_html_frontend_search_box('gal_front_form_' . $bwg, $bwg, 'bwg_standart_thumbnails_' . $bwg, $images_count, $params['search_box_width'], $placeholder);
|
222 |
}
|
223 |
+
if ($params['showthumbs_name'] && $gallery_row->name != '') {
|
224 |
+
?>
|
225 |
+
<div class="bwg_gal_title_<?php echo $bwg; ?>"><?php echo $gallery_row->name; ?></div>
|
226 |
+
<?php
|
227 |
+
}
|
228 |
+
if ($params['show_gallery_description'] && $gallery_row->name != '') {
|
229 |
+
?>
|
230 |
+
<div class="bwg_gal_title_<?php echo $bwg; ?>"><?php echo $gallery_row->description; ?></div>
|
231 |
+
<?php
|
232 |
+
}
|
233 |
?>
|
234 |
<div class="image_browser_images_conteiner_<?php echo $bwg; ?>">
|
235 |
<div id="ajax_loading_<?php echo $bwg; ?>" style="position:absolute;width: 100%; z-index: 115; text-align: center; height: 100%; vertical-align: middle; display:none;">
|
705 |
-ms-user-select: none;
|
706 |
user-select: none;
|
707 |
}
|
708 |
+
#bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_gal_title_<?php echo $bwg; ?> {
|
709 |
+
background-color: rgba(0, 0, 0, 0);
|
710 |
+
color: #<?php echo $theme_row->image_browser_gal_title_font_color; ?>;
|
711 |
+
display: block;
|
712 |
+
font-family: <?php echo $theme_row->image_browser_gal_title_font_style; ?>;
|
713 |
+
font-size: <?php echo $theme_row->image_browser_gal_title_font_size; ?>px;
|
714 |
+
font-weight: <?php echo $theme_row->image_browser_gal_title_font_weight; ?>;
|
715 |
+
padding: <?php echo $theme_row->image_browser_gal_title_margin; ?>;
|
716 |
+
text-shadow: <?php echo $theme_row->image_browser_gal_title_shadow; ?>;
|
717 |
+
text-align: <?php echo $theme_row->image_browser_gal_title_align; ?>;
|
718 |
+
}
|
719 |
<?php
|
720 |
return ob_get_clean();
|
721 |
}
|
frontend/views/BWGViewThumbnails.php
CHANGED
@@ -61,6 +61,12 @@ class BWGViewThumbnails {
|
|
61 |
if (!isset($params['tag'])) {
|
62 |
$params['tag'] = 0;
|
63 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
$from = (isset($params['from']) ? esc_html($params['from']) : 0);
|
65 |
$sort_direction = $params['order_by'];
|
66 |
global $wd_bwg_options;
|
@@ -140,7 +146,27 @@ class BWGViewThumbnails {
|
|
140 |
else {
|
141 |
$type = "";
|
142 |
}
|
143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
$gallery_row = WDWLibrary::get_gallery_row_data($params['gallery_id']);
|
145 |
if (!$gallery_row && ($type == '') && $params["tag"] == 0) {
|
146 |
echo WDWLibrary::message(__('There is no gallery selected or the gallery was deleted.', 'bwg'), 'wd_error');
|
@@ -213,9 +239,18 @@ class BWGViewThumbnails {
|
|
213 |
}
|
214 |
if (isset($params['show_tag_box']) && $params['show_tag_box']) {
|
215 |
WDWLibrary::ajax_html_frontend_search_tags('gal_front_form_' . $bwg, $bwg, 'bwg_standart_thumbnails_' . $bwg, $images_count, $tags_rows);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
}
|
217 |
?>
|
218 |
-
<div class="bwg_back_<?php echo $bwg; ?>"><?php echo $wd_bwg_options->showthumbs_name ? $gallery_row->name : ''; ?></div>
|
219 |
<div style="background-color:rgba(0, 0, 0, 0); text-align: <?php echo $theme_row->thumb_align; ?>; width:100%; position: relative;">
|
220 |
<div id="ajax_loading_<?php echo $bwg; ?>" style="position:absolute;width: 100%; z-index: 115; text-align: center; height: 100%; vertical-align: middle; display:none;">
|
221 |
<div style="display: table; vertical-align: middle; width: 100%; height: 100%; background-color: #FFFFFF; opacity: 0.7; filter: Alpha(opacity=70);">
|
@@ -623,6 +658,17 @@ class BWGViewThumbnails {
|
|
623 |
text-align: center;
|
624 |
margin: 0 auto;
|
625 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
626 |
<?php
|
627 |
return ob_get_clean();
|
628 |
}
|
61 |
if (!isset($params['tag'])) {
|
62 |
$params['tag'] = 0;
|
63 |
}
|
64 |
+
if (!isset($params['show_gallery_description'])) {
|
65 |
+
$params['show_gallery_description'] = 0;
|
66 |
+
}
|
67 |
+
if (!isset($params['showthumbs_name'])) {
|
68 |
+
$params['showthumbs_name'] = 0;
|
69 |
+
}
|
70 |
$from = (isset($params['from']) ? esc_html($params['from']) : 0);
|
71 |
$sort_direction = $params['order_by'];
|
72 |
global $wd_bwg_options;
|
146 |
else {
|
147 |
$type = "";
|
148 |
}
|
149 |
+
if (!isset($theme_row->thumb_gal_title_font_color)) {
|
150 |
+
$theme_row->thumb_gal_title_font_color = 'CCCCCC';
|
151 |
+
}
|
152 |
+
if (!isset($theme_row->thumb_gal_title_font_style)) {
|
153 |
+
$theme_row->thumb_gal_title_font_style = 'segoe ui';
|
154 |
+
}
|
155 |
+
if (!isset($theme_row->thumb_gal_title_font_size)) {
|
156 |
+
$theme_row->thumb_gal_title_font_size = 16;
|
157 |
+
}
|
158 |
+
if (!isset($theme_row->thumb_gal_title_font_weight)) {
|
159 |
+
$theme_row->thumb_gal_title_font_weight = 'bold';
|
160 |
+
}
|
161 |
+
if (!isset($theme_row->thumb_gal_title_margin)) {
|
162 |
+
$theme_row->thumb_gal_title_margin = '2px';
|
163 |
+
}
|
164 |
+
if (!isset($theme_row->thumb_gal_title_shadow)) {
|
165 |
+
$theme_row->thumb_gal_title_shadow = '0px 0px 0px #888888';
|
166 |
+
}
|
167 |
+
if (!isset($theme_row->thumb_gal_title_align)) {
|
168 |
+
$theme_row->thumb_gal_title_align = 'center';
|
169 |
+
}
|
170 |
$gallery_row = WDWLibrary::get_gallery_row_data($params['gallery_id']);
|
171 |
if (!$gallery_row && ($type == '') && $params["tag"] == 0) {
|
172 |
echo WDWLibrary::message(__('There is no gallery selected or the gallery was deleted.', 'bwg'), 'wd_error');
|
239 |
}
|
240 |
if (isset($params['show_tag_box']) && $params['show_tag_box']) {
|
241 |
WDWLibrary::ajax_html_frontend_search_tags('gal_front_form_' . $bwg, $bwg, 'bwg_standart_thumbnails_' . $bwg, $images_count, $tags_rows);
|
242 |
+
}
|
243 |
+
if ($params['showthumbs_name'] && $gallery_row->name != '') {
|
244 |
+
?>
|
245 |
+
<div class="bwg_gal_title_<?php echo $bwg; ?>"><?php echo $gallery_row->name; ?></div>
|
246 |
+
<?php
|
247 |
+
}
|
248 |
+
if ($params['show_gallery_description'] && $gallery_row->name != '') {
|
249 |
+
?>
|
250 |
+
<div class="bwg_gal_title_<?php echo $bwg; ?>"><?php echo $gallery_row->description; ?></div>
|
251 |
+
<?php
|
252 |
}
|
253 |
?>
|
|
|
254 |
<div style="background-color:rgba(0, 0, 0, 0); text-align: <?php echo $theme_row->thumb_align; ?>; width:100%; position: relative;">
|
255 |
<div id="ajax_loading_<?php echo $bwg; ?>" style="position:absolute;width: 100%; z-index: 115; text-align: center; height: 100%; vertical-align: middle; display:none;">
|
256 |
<div style="display: table; vertical-align: middle; width: 100%; height: 100%; background-color: #FFFFFF; opacity: 0.7; filter: Alpha(opacity=70);">
|
658 |
text-align: center;
|
659 |
margin: 0 auto;
|
660 |
}
|
661 |
+
#bwg_container1_<?php echo $bwg; ?> #bwg_container2_<?php echo $bwg; ?> .bwg_gal_title_<?php echo $bwg; ?> {
|
662 |
+
background-color: rgba(0, 0, 0, 0);
|
663 |
+
color: #<?php echo $theme_row->thumb_gal_title_font_color; ?>;
|
664 |
+
display: block;
|
665 |
+
font-family: <?php echo $theme_row->thumb_gal_title_font_style; ?>;
|
666 |
+
font-size: <?php echo $theme_row->thumb_gal_title_font_size; ?>px;
|
667 |
+
font-weight: <?php echo $theme_row->thumb_gal_title_font_weight; ?>;
|
668 |
+
padding: <?php echo $theme_row->thumb_gal_title_margin; ?>;
|
669 |
+
text-shadow: <?php echo $theme_row->thumb_gal_title_shadow; ?>;
|
670 |
+
text-align: <?php echo $theme_row->thumb_gal_title_align; ?>;
|
671 |
+
}
|
672 |
<?php
|
673 |
return ob_get_clean();
|
674 |
}
|
images/wd_logo.png
ADDED
Binary file
|
js/bwg.js
CHANGED
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
function edit_tag(m) {
|
2 |
var name, slug, tr;
|
3 |
name = jQuery("#name" + m).html();
|
1 |
+
jQuery(document).ready(function () {
|
2 |
+
jQuery('.bwg_requried').on("keypress", function () {
|
3 |
+
jQuery('.bwg_requried').removeAttr("style");
|
4 |
+
});
|
5 |
+
});
|
6 |
+
|
7 |
function edit_tag(m) {
|
8 |
var name, slug, tr;
|
9 |
name = jQuery("#name" + m).html();
|
js/bwg_shortcode.js
CHANGED
@@ -263,6 +263,8 @@ function bwg_gallery_type(gallery_type) {
|
|
263 |
jQuery("#tr_image_enable_page").css('display', 'none');
|
264 |
jQuery("#tr_thumb_width_height").css('display', 'none');
|
265 |
jQuery("#tr_load_more_image_count").css('display', 'none');
|
|
|
|
|
266 |
|
267 |
// Thumbnails, Mosaic.
|
268 |
jQuery("#tr_mosaic_hor_ver").css('display', 'none');
|
@@ -272,6 +274,8 @@ function bwg_gallery_type(gallery_type) {
|
|
272 |
jQuery("#tr_image_enable_page").css('display', 'none');
|
273 |
jQuery("#tr_thumb_width_height").css('display', 'none');
|
274 |
jQuery("#tr_load_more_image_count").css('display', 'none');
|
|
|
|
|
275 |
|
276 |
// Compact Album.
|
277 |
jQuery("#tr_compuct_album_column_number").css('display', 'none');
|
@@ -291,6 +295,8 @@ function bwg_gallery_type(gallery_type) {
|
|
291 |
jQuery("#tr_compuct_album_mosaic_total_width").css('display', 'none');
|
292 |
jQuery("#tr_compuct_album_load_more_image_count").css('display', 'none');
|
293 |
jQuery("#tr_compuct_albums_per_page_load_more").css('display', 'none');
|
|
|
|
|
294 |
// Masonry album.
|
295 |
jQuery("#tr_masonry_album_column_number").css('display', 'none');
|
296 |
jQuery("#tr_masonry_albums_per_page").css('display', 'none');
|
@@ -301,6 +307,8 @@ function bwg_gallery_type(gallery_type) {
|
|
301 |
jQuery("#tr_masonry_album_enable_page").css('display', 'none');
|
302 |
jQuery("#tr_masonry_album_load_more_image_count").css('display', 'none');
|
303 |
jQuery("#tr_masonry_albums_per_page_load_more").css('display', 'none');
|
|
|
|
|
304 |
// Extended Album.
|
305 |
jQuery("#tr_extended_albums_per_page").css('display', 'none');
|
306 |
jQuery("#tr_extended_album_height").css('display', 'none');
|
@@ -318,10 +326,13 @@ function bwg_gallery_type(gallery_type) {
|
|
318 |
jQuery("#tr_extended_album_mosaic_total_width").css('display', 'none');
|
319 |
jQuery("#tr_extended_album_load_more_image_count").css('display', 'none');
|
320 |
jQuery("#tr_extended_albums_per_page_load_more").css('display', 'none');
|
|
|
|
|
321 |
// Image Browser.
|
322 |
jQuery("#tr_image_browser_width_height").css('display', 'none');
|
323 |
jQuery("#tr_image_browser_title_enable").css('display', 'none');
|
324 |
jQuery("#tr_image_browser_description_enable").css('display', 'none');
|
|
|
325 |
|
326 |
// Blog Style.
|
327 |
jQuery("#tr_blog_style_width_height").css('display', 'none');
|
@@ -329,6 +340,8 @@ function bwg_gallery_type(gallery_type) {
|
|
329 |
jQuery("#tr_blog_style_images_per_page").css('display', 'none');
|
330 |
jQuery("#tr_blog_style_enable_page").css('display', 'none');
|
331 |
jQuery("#tr_blog_style_load_more_image_count").css('display', 'none');
|
|
|
|
|
332 |
|
333 |
// Slideshow.
|
334 |
jQuery("#tbody_slideshow").css('display', 'none');
|
@@ -348,6 +361,7 @@ function bwg_gallery_type(gallery_type) {
|
|
348 |
jQuery("#tr_enable_slideshow_music").css('display', 'none');
|
349 |
jQuery("#tr_slideshow_music_url").css('display', 'none');
|
350 |
jQuery("#tr_slideshow_effect_duration").css('display', 'none');
|
|
|
351 |
|
352 |
// Popup.
|
353 |
jQuery("#tbody_popup_other").css('display', 'none');
|
@@ -416,6 +430,8 @@ function bwg_gallery_type(gallery_type) {
|
|
416 |
bwg_show_search_box();
|
417 |
jQuery("#bwg_pro_version").html('Thumbnails');
|
418 |
jQuery("#bwg_pro_version_link").attr("href", "http://wpdemo.web-dorado.com/thumbnails-view-2/");
|
|
|
|
|
419 |
break;
|
420 |
|
421 |
}
|
@@ -446,6 +462,7 @@ function bwg_gallery_type(gallery_type) {
|
|
446 |
jQuery("#tr_thumb_width_height").css('display', '');
|
447 |
jQuery("#tr_load_more_image_count").css('display', '');
|
448 |
jQuery("#tr_tag").css('display', '');
|
|
|
449 |
bwg_show_search_box();
|
450 |
break;
|
451 |
|
@@ -479,6 +496,7 @@ function bwg_gallery_type(gallery_type) {
|
|
479 |
jQuery("#tr_thumb_width_height").css('display', '');
|
480 |
jQuery("#tr_load_more_image_count").css('display', '');
|
481 |
jQuery("#tr_tag").css('display', '');
|
|
|
482 |
bwg_show_search_box();
|
483 |
break;
|
484 |
|
@@ -545,6 +563,8 @@ function bwg_gallery_type(gallery_type) {
|
|
545 |
bwg_show_search_box();
|
546 |
jQuery("#bwg_pro_version").html('Image Browser');
|
547 |
jQuery("#bwg_pro_version_link").attr("href", "http://wpdemo.web-dorado.com/image-browser-view/");
|
|
|
|
|
548 |
break;
|
549 |
|
550 |
}
|
@@ -571,10 +591,12 @@ function bwg_gallery_type(gallery_type) {
|
|
571 |
jQuery("#tr_compuct_album_load_more_image_count").css('display', '');
|
572 |
jQuery("#tr_compuct_albums_per_page_load_more").css('display', '');
|
573 |
jQuery("#tr_show_tag_box").css('display', '');
|
|
|
574 |
bwg_change_compuct_album_view_type();
|
575 |
bwg_show_search_box();
|
576 |
jQuery("#bwg_pro_version").html('Compact Album');
|
577 |
jQuery("#bwg_pro_version_link").attr("href", "http://wpdemo.web-dorado.com/compact-album-view/");
|
|
|
578 |
break;
|
579 |
|
580 |
}
|
@@ -600,10 +622,12 @@ function bwg_gallery_type(gallery_type) {
|
|
600 |
jQuery("#tr_extended_album_load_more_image_count").css('display', '');
|
601 |
jQuery("#tr_extended_albums_per_page_load_more").css('display', '');
|
602 |
jQuery("#tr_show_tag_box").css('display', '');
|
|
|
603 |
bwg_change_extended_album_view_type();
|
604 |
bwg_show_search_box();
|
605 |
jQuery("#bwg_pro_version").html('Extended Album');
|
606 |
jQuery("#bwg_pro_version_link").attr("href", "http://wpdemo.web-dorado.com/extended-album-view/");
|
|
|
607 |
break;
|
608 |
}
|
609 |
|
@@ -623,6 +647,7 @@ function bwg_gallery_type(gallery_type) {
|
|
623 |
jQuery("#tr_masonry_album_load_more_image_count").css('display', '');
|
624 |
jQuery("#tr_masonry_albums_per_page_load_more").css('display', '');
|
625 |
jQuery("#tr_show_tag_box").css('display', '');
|
|
|
626 |
//bwg_change_masonry_album_view_type();
|
627 |
bwg_show_search_box();
|
628 |
break;
|
@@ -641,6 +666,7 @@ function bwg_gallery_type(gallery_type) {
|
|
641 |
jQuery("#tr_blog_style_load_more_image_count").css('display', '');
|
642 |
jQuery("#tr_show_tag_box").css('display', '');
|
643 |
jQuery("#tr_tag").css('display', '');
|
|
|
644 |
bwg_show_search_box();
|
645 |
break;
|
646 |
}
|
263 |
jQuery("#tr_image_enable_page").css('display', 'none');
|
264 |
jQuery("#tr_thumb_width_height").css('display', 'none');
|
265 |
jQuery("#tr_load_more_image_count").css('display', 'none');
|
266 |
+
jQuery("#tr_show_gallery_description").css('display', 'none');
|
267 |
+
jQuery("#tr_showthumbs_name").css('display', 'none');
|
268 |
|
269 |
// Thumbnails, Mosaic.
|
270 |
jQuery("#tr_mosaic_hor_ver").css('display', 'none');
|
274 |
jQuery("#tr_image_enable_page").css('display', 'none');
|
275 |
jQuery("#tr_thumb_width_height").css('display', 'none');
|
276 |
jQuery("#tr_load_more_image_count").css('display', 'none');
|
277 |
+
jQuery("#tr_show_gallery_description").css('display', 'none');
|
278 |
+
|
279 |
|
280 |
// Compact Album.
|
281 |
jQuery("#tr_compuct_album_column_number").css('display', 'none');
|
295 |
jQuery("#tr_compuct_album_mosaic_total_width").css('display', 'none');
|
296 |
jQuery("#tr_compuct_album_load_more_image_count").css('display', 'none');
|
297 |
jQuery("#tr_compuct_albums_per_page_load_more").css('display', 'none');
|
298 |
+
jQuery("#tr_show_gallery_description").css('display', 'none');
|
299 |
+
jQuery("#tr_show_album_name").css('display', 'none');
|
300 |
// Masonry album.
|
301 |
jQuery("#tr_masonry_album_column_number").css('display', 'none');
|
302 |
jQuery("#tr_masonry_albums_per_page").css('display', 'none');
|
307 |
jQuery("#tr_masonry_album_enable_page").css('display', 'none');
|
308 |
jQuery("#tr_masonry_album_load_more_image_count").css('display', 'none');
|
309 |
jQuery("#tr_masonry_albums_per_page_load_more").css('display', 'none');
|
310 |
+
jQuery("#tr_show_gallery_description").css('display', 'none');
|
311 |
+
|
312 |
// Extended Album.
|
313 |
jQuery("#tr_extended_albums_per_page").css('display', 'none');
|
314 |
jQuery("#tr_extended_album_height").css('display', 'none');
|
326 |
jQuery("#tr_extended_album_mosaic_total_width").css('display', 'none');
|
327 |
jQuery("#tr_extended_album_load_more_image_count").css('display', 'none');
|
328 |
jQuery("#tr_extended_albums_per_page_load_more").css('display', 'none');
|
329 |
+
jQuery("#tr_show_gallery_description").css('display', 'none');
|
330 |
+
jQuery("#tr_show_album_name").css('display', 'none');
|
331 |
// Image Browser.
|
332 |
jQuery("#tr_image_browser_width_height").css('display', 'none');
|
333 |
jQuery("#tr_image_browser_title_enable").css('display', 'none');
|
334 |
jQuery("#tr_image_browser_description_enable").css('display', 'none');
|
335 |
+
jQuery("#tr_showthumbs_name").css('display', 'none');
|
336 |
|
337 |
// Blog Style.
|
338 |
jQuery("#tr_blog_style_width_height").css('display', 'none');
|
340 |
jQuery("#tr_blog_style_images_per_page").css('display', 'none');
|
341 |
jQuery("#tr_blog_style_enable_page").css('display', 'none');
|
342 |
jQuery("#tr_blog_style_load_more_image_count").css('display', 'none');
|
343 |
+
jQuery("#tr_show_gallery_description").css('display', 'none');
|
344 |
+
|
345 |
|
346 |
// Slideshow.
|
347 |
jQuery("#tbody_slideshow").css('display', 'none');
|
361 |
jQuery("#tr_enable_slideshow_music").css('display', 'none');
|
362 |
jQuery("#tr_slideshow_music_url").css('display', 'none');
|
363 |
jQuery("#tr_slideshow_effect_duration").css('display', 'none');
|
364 |
+
|
365 |
|
366 |
// Popup.
|
367 |
jQuery("#tbody_popup_other").css('display', 'none');
|
430 |
bwg_show_search_box();
|
431 |
jQuery("#bwg_pro_version").html('Thumbnails');
|
432 |
jQuery("#bwg_pro_version_link").attr("href", "http://wpdemo.web-dorado.com/thumbnails-view-2/");
|
433 |
+
jQuery("#tr_show_gallery_description").css('display', '');
|
434 |
+
jQuery("#tr_showthumbs_name").css('display', '');
|
435 |
break;
|
436 |
|
437 |
}
|
462 |
jQuery("#tr_thumb_width_height").css('display', '');
|
463 |
jQuery("#tr_load_more_image_count").css('display', '');
|
464 |
jQuery("#tr_tag").css('display', '');
|
465 |
+
jQuery("#tr_show_gallery_description").css('display', '');
|
466 |
bwg_show_search_box();
|
467 |
break;
|
468 |
|
496 |
jQuery("#tr_thumb_width_height").css('display', '');
|
497 |
jQuery("#tr_load_more_image_count").css('display', '');
|
498 |
jQuery("#tr_tag").css('display', '');
|
499 |
+
jQuery("#tr_show_gallery_description").css('display', '');
|
500 |
bwg_show_search_box();
|
501 |
break;
|
502 |
|
563 |
bwg_show_search_box();
|
564 |
jQuery("#bwg_pro_version").html('Image Browser');
|
565 |
jQuery("#bwg_pro_version_link").attr("href", "http://wpdemo.web-dorado.com/image-browser-view/");
|
566 |
+
jQuery("#tr_show_gallery_description").css('display', '');
|
567 |
+
jQuery("#tr_showthumbs_name").css('display', '');
|
568 |
break;
|
569 |
|
570 |
}
|
591 |
jQuery("#tr_compuct_album_load_more_image_count").css('display', '');
|
592 |
jQuery("#tr_compuct_albums_per_page_load_more").css('display', '');
|
593 |
jQuery("#tr_show_tag_box").css('display', '');
|
594 |
+
jQuery("#tr_show_album_name").css('display', '');
|
595 |
bwg_change_compuct_album_view_type();
|
596 |
bwg_show_search_box();
|
597 |
jQuery("#bwg_pro_version").html('Compact Album');
|
598 |
jQuery("#bwg_pro_version_link").attr("href", "http://wpdemo.web-dorado.com/compact-album-view/");
|
599 |
+
jQuery("#tr_show_gallery_description").css('display', '');
|
600 |
break;
|
601 |
|
602 |
}
|
622 |
jQuery("#tr_extended_album_load_more_image_count").css('display', '');
|
623 |
jQuery("#tr_extended_albums_per_page_load_more").css('display', '');
|
624 |
jQuery("#tr_show_tag_box").css('display', '');
|
625 |
+
jQuery("#tr_show_album_name").css('display', '');
|
626 |
bwg_change_extended_album_view_type();
|
627 |
bwg_show_search_box();
|
628 |
jQuery("#bwg_pro_version").html('Extended Album');
|
629 |
jQuery("#bwg_pro_version_link").attr("href", "http://wpdemo.web-dorado.com/extended-album-view/");
|
630 |
+
jQuery("#tr_show_gallery_description").css('display', '');
|
631 |
break;
|
632 |
}
|
633 |
|
647 |
jQuery("#tr_masonry_album_load_more_image_count").css('display', '');
|
648 |
jQuery("#tr_masonry_albums_per_page_load_more").css('display', '');
|
649 |
jQuery("#tr_show_tag_box").css('display', '');
|
650 |
+
jQuery("#tr_show_gallery_description").css('display', '');
|
651 |
//bwg_change_masonry_album_view_type();
|
652 |
bwg_show_search_box();
|
653 |
break;
|
666 |
jQuery("#tr_blog_style_load_more_image_count").css('display', '');
|
667 |
jQuery("#tr_show_tag_box").css('display', '');
|
668 |
jQuery("#tr_tag").css('display', '');
|
669 |
+
jQuery("#tr_show_gallery_description").css('display', '');
|
670 |
bwg_show_search_box();
|
671 |
break;
|
672 |
}
|
photo-gallery.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Photo Gallery
|
5 |
* Plugin URI: https://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.3.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -325,7 +325,8 @@ function bwg_shortcode($params) {
|
|
325 |
'enable_image_google' => 1,
|
326 |
'watermark_type' => 'none',
|
327 |
'load_more_image_count' => 15,
|
328 |
-
'show_tag_box' => 0
|
|
|
329 |
), $params);
|
330 |
break;
|
331 |
|
@@ -353,6 +354,7 @@ function bwg_shortcode($params) {
|
|
353 |
'enable_slideshow_music' => 0,
|
354 |
'slideshow_music_url' => '',
|
355 |
'slideshow_effect_duration' => 1,
|
|
|
356 |
), $params);
|
357 |
break;
|
358 |
|
@@ -367,7 +369,8 @@ function bwg_shortcode($params) {
|
|
367 |
'image_browser_width' => 800,
|
368 |
'image_browser_title_enable' => 1,
|
369 |
'image_browser_description_enable' => 1,
|
370 |
-
'watermark_type' => 'none'
|
|
|
371 |
), $params);
|
372 |
break;
|
373 |
|
@@ -392,7 +395,8 @@ function bwg_shortcode($params) {
|
|
392 |
'compuct_album_enable_page' => 1,
|
393 |
'watermark_type' => 'none',
|
394 |
'compuct_album_load_more_image_count' => 15,
|
395 |
-
'compuct_albums_per_page_load_more' => 15
|
|
|
396 |
), $params);
|
397 |
break;
|
398 |
|
@@ -417,7 +421,8 @@ function bwg_shortcode($params) {
|
|
417 |
'extended_album_enable_page' => 1,
|
418 |
'watermark_type' => 'none',
|
419 |
'extended_album_load_more_image_count' => 15,
|
420 |
-
'extended_albums_per_page_load_more' => 15
|
|
|
421 |
), $params);
|
422 |
break;
|
423 |
|
@@ -1588,7 +1593,7 @@ function bwg_activate() {
|
|
1588 |
));
|
1589 |
}
|
1590 |
$version = get_option('wd_bwg_version');
|
1591 |
-
$new_version = '1.3.
|
1592 |
if ($version && version_compare($version, $new_version, '<')) {
|
1593 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
1594 |
bwg_update($version);
|
@@ -1640,7 +1645,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
|
|
1640 |
|
1641 |
function bwg_update_hook() {
|
1642 |
$version = get_option('wd_bwg_version');
|
1643 |
-
$new_version = '1.3.
|
1644 |
if ($version && version_compare($version, $new_version, '<')) {
|
1645 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
1646 |
bwg_update($version);
|
@@ -2087,6 +2092,7 @@ function bwg_topic() {
|
|
2087 |
$user_guide_link = 'https://web-dorado.com/wordpress-gallery/';
|
2088 |
$support_forum_link = 'https://wordpress.org/support/plugin/photo-gallery';
|
2089 |
$pro_link = 'https://web-dorado.com/files/fromPhotoGallery.php';
|
|
|
2090 |
$support_icon = WD_BWG_URL . '/images/support.png';
|
2091 |
$prefix = 'bwg_back';
|
2092 |
$is_free = TRUE;
|
@@ -2147,8 +2153,8 @@ function bwg_topic() {
|
|
2147 |
color: #6e7990;
|
2148 |
font-size: 14px;
|
2149 |
font-weight: bold;
|
2150 |
-
line-height:
|
2151 |
-
padding:
|
2152 |
vertical-align: middle;
|
2153 |
width: 98%;
|
2154 |
}
|
@@ -2174,15 +2180,30 @@ function bwg_topic() {
|
|
2174 |
}
|
2175 |
.wd_topic .wd_pro {
|
2176 |
float: right;
|
2177 |
-
|
2178 |
-
padding: 0 10px;
|
2179 |
}
|
2180 |
.wd_topic .wd_pro a {
|
2181 |
border: none;
|
2182 |
box-shadow: none !important;
|
2183 |
-
color: #FFFFFF;
|
2184 |
text-decoration: none;
|
2185 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2186 |
</style>
|
2187 |
<div class="update-nag wd_topic">
|
2188 |
<?php
|
@@ -2199,20 +2220,25 @@ function bwg_topic() {
|
|
2199 |
if ($is_free) {
|
2200 |
$text = strtoupper(__('Upgrade to paid version', $prefix));
|
2201 |
?>
|
2202 |
-
<
|
2203 |
-
|
2204 |
-
|
2205 |
-
|
2206 |
-
|
|
|
2207 |
<?php
|
2208 |
}
|
2209 |
-
|
2210 |
-
|
|
|
2211 |
<a target="_blank" href="<?php echo $support_forum_link; ?>">
|
2212 |
<img src="<?php echo $support_icon; ?>" />
|
2213 |
<?php _e('Support Forum', $prefix); ?>
|
2214 |
</a>
|
2215 |
</span>
|
|
|
|
|
|
|
2216 |
</div>
|
2217 |
<?php
|
2218 |
echo ob_get_clean();
|
4 |
* Plugin Name: Photo Gallery
|
5 |
* Plugin URI: https://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.3.37
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
325 |
'enable_image_google' => 1,
|
326 |
'watermark_type' => 'none',
|
327 |
'load_more_image_count' => 15,
|
328 |
+
'show_tag_box' => 0,
|
329 |
+
'show_gallery_description' => 0
|
330 |
), $params);
|
331 |
break;
|
332 |
|
354 |
'enable_slideshow_music' => 0,
|
355 |
'slideshow_music_url' => '',
|
356 |
'slideshow_effect_duration' => 1,
|
357 |
+
'show_gallery_description' => 0
|
358 |
), $params);
|
359 |
break;
|
360 |
|
369 |
'image_browser_width' => 800,
|
370 |
'image_browser_title_enable' => 1,
|
371 |
'image_browser_description_enable' => 1,
|
372 |
+
'watermark_type' => 'none',
|
373 |
+
'show_gallery_description' => 0
|
374 |
), $params);
|
375 |
break;
|
376 |
|
395 |
'compuct_album_enable_page' => 1,
|
396 |
'watermark_type' => 'none',
|
397 |
'compuct_album_load_more_image_count' => 15,
|
398 |
+
'compuct_albums_per_page_load_more' => 15,
|
399 |
+
'show_gallery_description' => 0
|
400 |
), $params);
|
401 |
break;
|
402 |
|
421 |
'extended_album_enable_page' => 1,
|
422 |
'watermark_type' => 'none',
|
423 |
'extended_album_load_more_image_count' => 15,
|
424 |
+
'extended_albums_per_page_load_more' => 15,
|
425 |
+
'show_gallery_description' => 0
|
426 |
), $params);
|
427 |
break;
|
428 |
|
1593 |
));
|
1594 |
}
|
1595 |
$version = get_option('wd_bwg_version');
|
1596 |
+
$new_version = '1.3.37';
|
1597 |
if ($version && version_compare($version, $new_version, '<')) {
|
1598 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
1599 |
bwg_update($version);
|
1645 |
|
1646 |
function bwg_update_hook() {
|
1647 |
$version = get_option('wd_bwg_version');
|
1648 |
+
$new_version = '1.3.37';
|
1649 |
if ($version && version_compare($version, $new_version, '<')) {
|
1650 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
1651 |
bwg_update($version);
|
2092 |
$user_guide_link = 'https://web-dorado.com/wordpress-gallery/';
|
2093 |
$support_forum_link = 'https://wordpress.org/support/plugin/photo-gallery';
|
2094 |
$pro_link = 'https://web-dorado.com/files/fromPhotoGallery.php';
|
2095 |
+
$pro_icon = WD_BWG_URL . '/images/wd_logo.png';
|
2096 |
$support_icon = WD_BWG_URL . '/images/support.png';
|
2097 |
$prefix = 'bwg_back';
|
2098 |
$is_free = TRUE;
|
2153 |
color: #6e7990;
|
2154 |
font-size: 14px;
|
2155 |
font-weight: bold;
|
2156 |
+
line-height: 44px;
|
2157 |
+
padding: 0 0 0 15px;
|
2158 |
vertical-align: middle;
|
2159 |
width: 98%;
|
2160 |
}
|
2180 |
}
|
2181 |
.wd_topic .wd_pro {
|
2182 |
float: right;
|
2183 |
+
padding: 0;
|
|
|
2184 |
}
|
2185 |
.wd_topic .wd_pro a {
|
2186 |
border: none;
|
2187 |
box-shadow: none !important;
|
|
|
2188 |
text-decoration: none;
|
2189 |
}
|
2190 |
+
.wd_topic .wd_pro img {
|
2191 |
+
border: none;
|
2192 |
+
display: inline-block;
|
2193 |
+
vertical-align: middle;
|
2194 |
+
}
|
2195 |
+
.wd_topic .wd_pro a,
|
2196 |
+
.wd_topic .wd_pro a:active,
|
2197 |
+
.wd_topic .wd_pro a:visited,
|
2198 |
+
.wd_topic .wd_pro a:hover {
|
2199 |
+
background-color: #D8D8D8;
|
2200 |
+
color: #175c8b;
|
2201 |
+
display: inline-block;
|
2202 |
+
font-size: 11px;
|
2203 |
+
font-weight: bold;
|
2204 |
+
padding: 0 10px;
|
2205 |
+
vertical-align: middle;
|
2206 |
+
}
|
2207 |
</style>
|
2208 |
<div class="update-nag wd_topic">
|
2209 |
<?php
|
2220 |
if ($is_free) {
|
2221 |
$text = strtoupper(__('Upgrade to paid version', $prefix));
|
2222 |
?>
|
2223 |
+
<div class="wd_pro">
|
2224 |
+
<a target="_blank" href="<?php echo $pro_link; ?>">
|
2225 |
+
<img alt="web-dorado.com" title="<?php echo $text; ?>" src="<?php echo $pro_icon; ?>" />
|
2226 |
+
<span><?php echo $text; ?></span>
|
2227 |
+
</a>
|
2228 |
+
</div>
|
2229 |
<?php
|
2230 |
}
|
2231 |
+
if (FALSE) {
|
2232 |
+
?>
|
2233 |
+
<span class="wd_support">
|
2234 |
<a target="_blank" href="<?php echo $support_forum_link; ?>">
|
2235 |
<img src="<?php echo $support_icon; ?>" />
|
2236 |
<?php _e('Support Forum', $prefix); ?>
|
2237 |
</a>
|
2238 |
</span>
|
2239 |
+
<?php
|
2240 |
+
}
|
2241 |
+
?>
|
2242 |
</div>
|
2243 |
<?php
|
2244 |
echo ob_get_clean();
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
|
|
4 |
Tags: gallery, photo gallery, image gallery, responsive gallery, wordpress gallery plugin, photo albums, gallery slider, gallery lightbox, wordpress photo gallery plugin, fullscreen gallery, watermarking, video gallery
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -12,7 +12,7 @@ Photo Gallery is an advanced plugin with a list of tools and options for adding
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
https://www.youtube.com/watch?v=
|
16 |
|
17 |
Gallery is a fully responsive WordPress gallery plugin with advanced functionality.
|
18 |
Create 100% responsive FREE WordPress photo gallery in minutes. Easy to customize and various views.
|
@@ -31,7 +31,7 @@ Create 100% responsive FREE WordPress photo gallery in minutes. Easy to customiz
|
|
31 |
|
32 |
Photo Gallery is an advanced plugin with a list of tools and options for adding and editing images for different views. This is a fully responsive gallery plugin. The product includes plugin for adding image galleries and albums to posts and pages, as well as multiple widgets. You can add images, providing detailed gallery descriptions and tags, organize the galleries into different photo albums.
|
33 |
|
34 |
-
The responsive photo gallery allows to upload unlimited number of pictures and create as many photo albums as you need. Want to include videos? The plugin comes with audio and video support, that will enable you to create a YouTube gallery or a Vimeo video gallery quick and easy.
|
35 |
|
36 |
The free gallery plugin is one of the most feature rich plugins out there. With number of gallery views, including Gallery carousel, Instagram Gallery, Thumbnail gallery, Facebook Gallery and others, the image photo gallery plugin is a top gallery plugin choice.
|
37 |
|
@@ -81,7 +81,8 @@ If you think you found a bug in Photo Gallery or have any problem/question conce
|
|
81 |
* Detailed (Extended) album and compact album view
|
82 |
* Possibility of changing the roles of who can edit the galleries/albums/images (Author/All Users)
|
83 |
* Chances to provide details for images (tags, captions)
|
84 |
-
* Thumbnail editing tools (Crop, rotate and flip)
|
|
|
85 |
* Possibility of changing the amount of images displayed in a single row of an album/gallery
|
86 |
* Slideshow view with auto play and shuffle features
|
87 |
* Audio track playback possibility with the image slideshow
|
@@ -97,13 +98,14 @@ If you think you found a bug in Photo Gallery or have any problem/question conce
|
|
97 |
* Possibility of uploading images from the Media Library of the website.
|
98 |
* Possibility to add tags (captions) to all images at once.
|
99 |
* Right-click disabling option for the image downloads protection.
|
100 |
-
* Possibility to display images in the albums in thumbnail or masonry view upon opening
|
|
|
101 |
* WordPress Search Integration by gallery and album title
|
102 |
* Possibility to display the number of the images in the gallery lightbox (optional feature)
|
103 |
* Resizing possibility after adding the pictures
|
104 |
* Possibility to display Search Box on the gallery page for the search based on titles
|
105 |
* Possibility to display the number of images in the lightbox
|
106 |
-
* Enable full width feature for the lightbox.
|
107 |
* Possibility to add next/previous and play/pause buttons in carousel
|
108 |
* Possibility to enable/disable autoplay for gallery carousel
|
109 |
* Redirection option upon clicking picture thumbnail
|
@@ -117,7 +119,7 @@ Upgrade to [WordPress Photo Gallery Pro](https://web-dorado.com/products/wordpre
|
|
117 |
* Masonry Album view
|
118 |
* Slideshow/Lightbox 15 effects.
|
119 |
* Editable themes.
|
120 |
-
* Instagram Integration.
|
121 |
* Commenting possibility with Captcha protection possibility.
|
122 |
* Social sharing possibility (Facebook, Google+, Twitter, Pinterest and Tumblr).
|
123 |
* Dynamic Photo Gallery Tag Cloud widget with image tag cloud and text tag cloud options.
|
@@ -151,9 +153,11 @@ After downloading the ZIP file,
|
|
151 |
== Screenshots ==
|
152 |
1. Photo Gallery - Popup View
|
153 |
2. Photo Gallery - Thumbnails View
|
154 |
-
3. Photo Gallery -
|
155 |
-
4. Photo Gallery -
|
156 |
-
5. Photo Gallery -
|
|
|
|
|
157 |
|
158 |
== Frequently Asked Questions ==
|
159 |
|
@@ -186,6 +190,14 @@ To enable the feature of adding Media Library images, go to Photo Gallery > Opti
|
|
186 |
|
187 |
== Changelog ==
|
188 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
= 1.3.36 =
|
190 |
* Added: Gallery download button.
|
191 |
* Added: Enable/disable html editor.
|
@@ -1029,7 +1041,7 @@ Advertisement position. Choose the positioning of the advertisement from the ava
|
|
1029 |
5.4.3 Interval. Provide the time interval between the display of slideshow images in seconds.
|
1030 |
5.4.4 Enable filmstrip. Choose whether to include the filmstrip of gallery or album images in the lightbox or not.
|
1031 |
5.4.5 Filmstrip height. Define the height of the filmstrip in pixels.
|
1032 |
-
5.4.6 Enable control buttons. Choose whether to display control buttons in the lightbox or not.
|
1033 |
5.4.7 Enable fullscreen. Choose whether to have a possibility of entering Fullscreen from the lightbox or not.
|
1034 |
5.4.8 Enable info. Choose whether to have possibility of displaying gallery image information (Title and description) in this view or not.
|
1035 |
5.4.9 Display info by default. Choose whether to display gallery image title by default when opening the lightbox or not. The image can be hidden hitting info button.
|
@@ -1483,13 +1495,13 @@ Use one of the default Photo Gallery themes or click Add new button to create a
|
|
1483 |
|
1484 |
= Step 8: Publishing the Created Photo Gallery. =
|
1485 |
To insert a gallery into a Page or a Post.
|
1486 |
-
Open the post/page you want to display the gallery. Press the button named Photo Gallery. A camera icon will be inserted into the page/post. Click on the gallery image and select the gallery/album display you want to use for that specific page/post.
|
1487 |
Each Photo Gallery shortcode uses three columns of parameters. The first column shows parameters specific for that Photo Gallery view only, the second one shows Lightbox (except Slideshow view) parameters, the third one is referred to the Advertisement.
|
1488 |
In addition you can add the galllery shortcode using Shortcode Generator of the Photo Gallery.
|
1489 |
8.1 General Parameters (First Column)
|
1490 |
8.1.1Thumbnails
|
1491 |
Theme. Select the theme to be applied to this Photo Gallery view.
|
1492 |
-
Gallery. Select the gallery.
|
1493 |
Sort by. Choose the option to use for the gallery image sequence.
|
1494 |
Max. number of image columns. Provide the number of image columns in a page.
|
1495 |
Images per page. Provide the maximum number of gallery images per page.
|
@@ -1497,7 +1509,7 @@ Enable pagination. Choose whether to have pagination for the view or not.
|
|
1497 |
Image thumbnail dimensions. Define the thumbnail width and height in pixels.
|
1498 |
8.1.2 Masonry
|
1499 |
Theme. Select the theme to be applied to this Photo Gallery view.
|
1500 |
-
Gallery. Select the gallery.
|
1501 |
Sort by. Choose the option to use for image sequence.
|
1502 |
Max. number of image columns. Provide the number of image columns in a page.
|
1503 |
Images per page. Provide the maximum number of gallery images per page.
|
@@ -1567,7 +1579,7 @@ Enable Twitter button. Choose whether to have Twitter social sharing button enab
|
|
1567 |
Enable Google+ button. Choose whether to have Google+ social sharing button enabled in the pop-up or not.
|
1568 |
|
1569 |
(for Slideshow View only)
|
1570 |
-
Enable image title. Choose whether to display gallery image titles during the slideshow or not.
|
1571 |
Title position. Set the position of the title using the available options.
|
1572 |
Enable image description. Choose whether to display gallery image description during the slideshow or not.
|
1573 |
Description position. Set the position of the description using the available options.
|
@@ -1620,7 +1632,7 @@ Theme. Choose the theme, which will be applied to the gallery/album correspondin
|
|
1620 |
9.3.1 Title. Provide a title for the gallery slideshow.
|
1621 |
9.3.2 Select Gallery. Specify the gallery you want to use for the slideshow.
|
1622 |
9.3.3 Dimensions. Specify the width and height for the gallery slideshow.
|
1623 |
-
9.3.4 Slideshow effect. Select the effect to apply to the slideshow.
|
1624 |
9.3.5 Time interval. Define the time interval between the change of gallery images in seconds.
|
1625 |
9.3.6 Enable shuffle. Choose whether to have shuffle for the slideshow images or not.
|
1626 |
9.3.7 Theme. Choose the theme to be applied to the gallery image slideshow.
|
4 |
Tags: gallery, photo gallery, image gallery, responsive gallery, wordpress gallery plugin, photo albums, gallery slider, gallery lightbox, wordpress photo gallery plugin, fullscreen gallery, watermarking, video gallery
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 1.3.37
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
https://www.youtube.com/watch?v=3u0O9ZdVsGc
|
16 |
|
17 |
Gallery is a fully responsive WordPress gallery plugin with advanced functionality.
|
18 |
Create 100% responsive FREE WordPress photo gallery in minutes. Easy to customize and various views.
|
31 |
|
32 |
Photo Gallery is an advanced plugin with a list of tools and options for adding and editing images for different views. This is a fully responsive gallery plugin. The product includes plugin for adding image galleries and albums to posts and pages, as well as multiple widgets. You can add images, providing detailed gallery descriptions and tags, organize the galleries into different photo albums.
|
33 |
|
34 |
+
The responsive photo gallery allows to upload unlimited number of pictures and create as many photo albums as you need. Want to include videos? The plugin comes with audio and video support, that will enable you to create a YouTube video gallery or a Vimeo video gallery quick and easy.
|
35 |
|
36 |
The free gallery plugin is one of the most feature rich plugins out there. With number of gallery views, including Gallery carousel, Instagram Gallery, Thumbnail gallery, Facebook Gallery and others, the image photo gallery plugin is a top gallery plugin choice.
|
37 |
|
81 |
* Detailed (Extended) album and compact album view
|
82 |
* Possibility of changing the roles of who can edit the galleries/albums/images (Author/All Users)
|
83 |
* Chances to provide details for images (tags, captions)
|
84 |
+
* Thumbnail editing tools (Crop, rotate and flip)
|
85 |
+
* Various thumbnail customization options
|
86 |
* Possibility of changing the amount of images displayed in a single row of an album/gallery
|
87 |
* Slideshow view with auto play and shuffle features
|
88 |
* Audio track playback possibility with the image slideshow
|
98 |
* Possibility of uploading images from the Media Library of the website.
|
99 |
* Possibility to add tags (captions) to all images at once.
|
100 |
* Right-click disabling option for the image downloads protection.
|
101 |
+
* Possibility to display images in the albums in thumbnail or masonry view upon opening
|
102 |
+
* Customize thumbnail dimensions, height, number of columns of albums
|
103 |
* WordPress Search Integration by gallery and album title
|
104 |
* Possibility to display the number of the images in the gallery lightbox (optional feature)
|
105 |
* Resizing possibility after adding the pictures
|
106 |
* Possibility to display Search Box on the gallery page for the search based on titles
|
107 |
* Possibility to display the number of images in the lightbox
|
108 |
+
* Enable full width feature for the lightbox gallery.
|
109 |
* Possibility to add next/previous and play/pause buttons in carousel
|
110 |
* Possibility to enable/disable autoplay for gallery carousel
|
111 |
* Redirection option upon clicking picture thumbnail
|
119 |
* Masonry Album view
|
120 |
* Slideshow/Lightbox 15 effects.
|
121 |
* Editable themes.
|
122 |
+
* Instagram Integration to create Instagram gallery.
|
123 |
* Commenting possibility with Captcha protection possibility.
|
124 |
* Social sharing possibility (Facebook, Google+, Twitter, Pinterest and Tumblr).
|
125 |
* Dynamic Photo Gallery Tag Cloud widget with image tag cloud and text tag cloud options.
|
153 |
== Screenshots ==
|
154 |
1. Photo Gallery - Popup View
|
155 |
2. Photo Gallery - Thumbnails View
|
156 |
+
3. Photo Gallery - Image Browser View
|
157 |
+
4. Photo Gallery - Mansory View
|
158 |
+
5. Photo Gallery - Mosaic View
|
159 |
+
6. Photo Gallery - Edit Global Options
|
160 |
+
7. Photo Gallery - Edit Watermark
|
161 |
|
162 |
== Frequently Asked Questions ==
|
163 |
|
190 |
|
191 |
== Changelog ==
|
192 |
|
193 |
+
= 1.3.37 =
|
194 |
+
* Added: Show gallery title (optional from shortcode).
|
195 |
+
* Added: Show gallery description (optional).
|
196 |
+
* Added: Show image description in blog style view (optional).
|
197 |
+
* Fixed: Required field validation.
|
198 |
+
* Fixed: Filemanager.
|
199 |
+
* Changed: Removed support forum link.
|
200 |
+
|
201 |
= 1.3.36 =
|
202 |
* Added: Gallery download button.
|
203 |
* Added: Enable/disable html editor.
|
1041 |
5.4.3 Interval. Provide the time interval between the display of slideshow images in seconds.
|
1042 |
5.4.4 Enable filmstrip. Choose whether to include the filmstrip of gallery or album images in the lightbox or not.
|
1043 |
5.4.5 Filmstrip height. Define the height of the filmstrip in pixels.
|
1044 |
+
5.4.6 Enable control buttons. Choose whether to display control buttons in the lightbox gallery or not.
|
1045 |
5.4.7 Enable fullscreen. Choose whether to have a possibility of entering Fullscreen from the lightbox or not.
|
1046 |
5.4.8 Enable info. Choose whether to have possibility of displaying gallery image information (Title and description) in this view or not.
|
1047 |
5.4.9 Display info by default. Choose whether to display gallery image title by default when opening the lightbox or not. The image can be hidden hitting info button.
|
1495 |
|
1496 |
= Step 8: Publishing the Created Photo Gallery. =
|
1497 |
To insert a gallery into a Page or a Post.
|
1498 |
+
Open the post/page you want to display the image gallery. Press the button named Photo Gallery. A camera icon will be inserted into the page/post. Click on the gallery image and select the gallery/album display you want to use for that specific page/post.
|
1499 |
Each Photo Gallery shortcode uses three columns of parameters. The first column shows parameters specific for that Photo Gallery view only, the second one shows Lightbox (except Slideshow view) parameters, the third one is referred to the Advertisement.
|
1500 |
In addition you can add the galllery shortcode using Shortcode Generator of the Photo Gallery.
|
1501 |
8.1 General Parameters (First Column)
|
1502 |
8.1.1Thumbnails
|
1503 |
Theme. Select the theme to be applied to this Photo Gallery view.
|
1504 |
+
Gallery. Select the image gallery.
|
1505 |
Sort by. Choose the option to use for the gallery image sequence.
|
1506 |
Max. number of image columns. Provide the number of image columns in a page.
|
1507 |
Images per page. Provide the maximum number of gallery images per page.
|
1509 |
Image thumbnail dimensions. Define the thumbnail width and height in pixels.
|
1510 |
8.1.2 Masonry
|
1511 |
Theme. Select the theme to be applied to this Photo Gallery view.
|
1512 |
+
Gallery. Select the images gallery.
|
1513 |
Sort by. Choose the option to use for image sequence.
|
1514 |
Max. number of image columns. Provide the number of image columns in a page.
|
1515 |
Images per page. Provide the maximum number of gallery images per page.
|
1579 |
Enable Google+ button. Choose whether to have Google+ social sharing button enabled in the pop-up or not.
|
1580 |
|
1581 |
(for Slideshow View only)
|
1582 |
+
Enable image title. Choose whether to display gallery image titles during the gallery slideshow or not.
|
1583 |
Title position. Set the position of the title using the available options.
|
1584 |
Enable image description. Choose whether to display gallery image description during the slideshow or not.
|
1585 |
Description position. Set the position of the description using the available options.
|
1632 |
9.3.1 Title. Provide a title for the gallery slideshow.
|
1633 |
9.3.2 Select Gallery. Specify the gallery you want to use for the slideshow.
|
1634 |
9.3.3 Dimensions. Specify the width and height for the gallery slideshow.
|
1635 |
+
9.3.4 Slideshow effect. Select the effect to apply to the gallery slideshow.
|
1636 |
9.3.5 Time interval. Define the time interval between the change of gallery images in seconds.
|
1637 |
9.3.6 Enable shuffle. Choose whether to have shuffle for the slideshow images or not.
|
1638 |
9.3.7 Theme. Choose the theme to be applied to the gallery image slideshow.
|