Galleries by Angie Makes - Version 1.6

Version Description

Download this release

Release Info

Developer cbaldelomar
Plugin Icon wp plugin Galleries by Angie Makes
Version 1.6
Comparing to
See all releases

Code changes from version 1.5 to 1.6

README.md CHANGED
@@ -46,6 +46,10 @@ Insert a gallery through your dashboard. You will see extra dropdown settings wh
46
 
47
  ## Changelog ##
48
 
 
 
 
 
49
  ### Version 1.5
50
 
51
  * Enhanced Gallery Options
46
 
47
  ## Changelog ##
48
 
49
+ ### Version 1.6
50
+
51
+ * Fixed bug with masonry gallery not resizing defined widths and heights on images
52
+
53
  ### Version 1.5
54
 
55
  * Enhanced Gallery Options
includes/css/style.css CHANGED
@@ -47,6 +47,13 @@
47
  display: block;
48
  }
49
 
 
 
 
 
 
 
 
50
  .wc-gallery .gallery.gallery-with-border .gallery-icon a {
51
  border: 1px solid #eeeeee;
52
  }
47
  display: block;
48
  }
49
 
50
+ .wc-gallery .gallery .gallery-icon a img {
51
+ /* some theme files do not have proper reset settings */
52
+ max-width: 100%;
53
+ height: auto;
54
+ vertical-align: middle;
55
+ }
56
+
57
  .wc-gallery .gallery.gallery-with-border .gallery-icon a {
58
  border: 1px solid #eeeeee;
59
  }
includes/functions.php CHANGED
@@ -343,7 +343,7 @@ function wc_gallery_print_media_templates() {
343
 
344
  <label class="setting">
345
  <span><?php _e( 'Custom Link', 'wc_gallery' ); ?></span>
346
- <input type="checkbox" name="customlink" data-setting="customlink" />
347
  </label>
348
 
349
  <?php
@@ -365,12 +365,12 @@ function wc_gallery_print_media_templates() {
365
 
366
  <label class="setting">
367
  <span><?php _e( 'Hide Controls', 'wc_gallery' ); ?></span>
368
- <input type="checkbox" name="hidecontrols" data-setting="hidecontrols" />
369
  </label>
370
 
371
  <label class="setting">
372
  <span><?php _e( 'Class', 'wc_gallery' ); ?></span>
373
- <input type="text" name="class" data-setting="class" />
374
  </label>
375
  </script>
376
  <?php
343
 
344
  <label class="setting">
345
  <span><?php _e( 'Custom Link', 'wc_gallery' ); ?></span>
346
+ <input class="customlink" type="checkbox" name="customlink" data-setting="customlink" />
347
  </label>
348
 
349
  <?php
365
 
366
  <label class="setting">
367
  <span><?php _e( 'Hide Controls', 'wc_gallery' ); ?></span>
368
+ <input class="hidecontrols" type="checkbox" name="hidecontrols" data-setting="hidecontrols" />
369
  </label>
370
 
371
  <label class="setting">
372
  <span><?php _e( 'Class', 'wc_gallery' ); ?></span>
373
+ <input class="class" type="text" name="class" data-setting="class" />
374
  </label>
375
  </script>
376
  <?php
readme.txt CHANGED
@@ -46,6 +46,10 @@ Insert a gallery through your dashboard. You will see extra dropdown settings wh
46
 
47
  == Changelog ==
48
 
 
 
 
 
49
  ### Version 1.5
50
 
51
  * Enhanced Gallery Options
46
 
47
  == Changelog ==
48
 
49
+ ### Version 1.6
50
+
51
+ * Fixed bug with masonry gallery not resizing defined widths and heights on images
52
+
53
  ### Version 1.5
54
 
55
  * Enhanced Gallery Options
wc-gallery.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://wordpresscanvas.com/features/gallery/
5
  Description: Extend WordPress galleries to display masonry gallery, carousel gallery, and slider gallery
6
  Author: Chris Baldelomar
7
  Author URI: http://webplantmedia.com/
8
- Version: 1.5
9
  License: GPLv2 or later
10
  */
11
 
@@ -13,7 +13,7 @@ function wc_gallery_using_woocommerce() {
13
  return in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) );
14
  }
15
 
16
- define( 'WC_GALLERY_VERSION', '1.5' );
17
  define( 'WC_GALLERY_PREFIX', 'wc_gallery_' );
18
  define( '_WC_GALLERY_PREFIX', '_wc_gallery_' );
19
  define( 'WC_GALLERY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
5
  Description: Extend WordPress galleries to display masonry gallery, carousel gallery, and slider gallery
6
  Author: Chris Baldelomar
7
  Author URI: http://webplantmedia.com/
8
+ Version: 1.6
9
  License: GPLv2 or later
10
  */
11
 
13
  return in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) );
14
  }
15
 
16
+ define( 'WC_GALLERY_VERSION', '1.6' );
17
  define( 'WC_GALLERY_PREFIX', 'wc_gallery_' );
18
  define( '_WC_GALLERY_PREFIX', '_wc_gallery_' );
19
  define( 'WC_GALLERY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );