Gallery – Photo Gallery and Images Gallery - Version 2.0.27

Version Description

  • Fixed notice messages in the case of damaged images
Download this release

Release Info

Developer robosoft
Plugin Icon 128x128 Gallery – Photo Gallery and Images Gallery
Version 2.0.27
Comparing to
See all releases

Code changes from version 2.0.26 to 2.0.27

includes/frontend/rbs_gallery_source.php CHANGED
@@ -96,6 +96,9 @@ class roboGalleryImages{
96
  $img = $this->imgArray[$i];
97
  $thumb = wp_get_attachment_image_src( $img['id'] , $this->thumbsource);
98
 
 
 
 
99
  $this->imgArray[$i]['image'] = wp_get_attachment_url( $img['id'] );
100
  $this->imgArray[$i]['thumb'] = (isset($thumb) && count($thumb) ) ? $thumb[0] : '';
101
  $this->imgArray[$i]['sizeW'] = (isset($thumb[1]) && count($thumb)) ? $thumb[1] : $this->width;
@@ -106,6 +109,8 @@ class roboGalleryImages{
106
  $this->imgArray[$i]['videolink']= get_post_meta( $img['id'], ROBO_GALLERY_PREFIX.'gallery_video_link', true );
107
  $this->imgArray[$i]['col'] = get_post_meta( $img['id'], ROBO_GALLERY_PREFIX.'gallery_col', true );
108
  $this->imgArray[$i]['effect'] = get_post_meta( $img['id'], ROBO_GALLERY_PREFIX.'gallery_effect', true );
 
 
109
  }
110
 
111
  switch ( $this->orderby ) {
96
  $img = $this->imgArray[$i];
97
  $thumb = wp_get_attachment_image_src( $img['id'] , $this->thumbsource);
98
 
99
+ if( !is_array($thumb) || !count($thumb) ){
100
+ unset($this->imgArray[$i]);
101
+ } else {
102
  $this->imgArray[$i]['image'] = wp_get_attachment_url( $img['id'] );
103
  $this->imgArray[$i]['thumb'] = (isset($thumb) && count($thumb) ) ? $thumb[0] : '';
104
  $this->imgArray[$i]['sizeW'] = (isset($thumb[1]) && count($thumb)) ? $thumb[1] : $this->width;
109
  $this->imgArray[$i]['videolink']= get_post_meta( $img['id'], ROBO_GALLERY_PREFIX.'gallery_video_link', true );
110
  $this->imgArray[$i]['col'] = get_post_meta( $img['id'], ROBO_GALLERY_PREFIX.'gallery_col', true );
111
  $this->imgArray[$i]['effect'] = get_post_meta( $img['id'], ROBO_GALLERY_PREFIX.'gallery_effect', true );
112
+ }
113
+
114
  }
115
 
116
  switch ( $this->orderby ) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.robosoft.co/robogallery
4
  Tags: gallery, add gallery, photo gallery, images gallery, media gallery, responsive gallery, gallery image, gallery lightbox, Polaroid gallery, Gallery Plugin, plugin gallery, video gallery, gallery shortcode, responsive images gallery, website gallery, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugin, wp gallery plugins, multi categories gallery, add galleries, add picture, add pictures, album, best gallery, best gallery plugin, responsive galleries, mobile gallery, mobile galleries, responsive photo gallery, best portfolio, easy media gallery, filterable gallery, filterable portfolio, foto, fotoalbum, fotogalerie, sortable gallery, sortable galleries, free photo gallery, fullscreen gallery, galary, galeri, galerie, galerij, galery, gallary, Galleria, gallerie, galleries, gallery decription, gallery slider, gelary, gellary, gellery, google, grid gallery, image, image album, image gallery, image gallery plugin, image lightbox, image slider, image slideshow, images, jquery, jquery gallery, links, media, multiple pictures, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive slideshow, responsive wordpress photo gallery, seo image, slide show, slideshow, thumbnail, upload images, upload photos, batch upload, multiply images upload, view images, view pictures, wordpress portfolio plugin, multi-categories gallery, multi categories galleries, robo gallery
5
  Requires at least: 3.3
6
  Tested up to: 4.5
7
- Stable tag: 2.0.26
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -584,6 +584,9 @@ If any problem occurs, please contact us.
584
 
585
  == Changelog ==
586
 
 
 
 
587
  = 2.0.26 =
588
  * Changed method in code, improve security
589
 
@@ -1118,6 +1121,9 @@ If any problem occurs, please contact us.
1118
 
1119
  == Upgrade Notice ==
1120
 
 
 
 
1121
  = 2.0.26 =
1122
  Changed method in code, improve security
1123
 
4
  Tags: gallery, add gallery, photo gallery, images gallery, media gallery, responsive gallery, gallery image, gallery lightbox, Polaroid gallery, Gallery Plugin, plugin gallery, video gallery, gallery shortcode, responsive images gallery, website gallery, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugin, wp gallery plugins, multi categories gallery, add galleries, add picture, add pictures, album, best gallery, best gallery plugin, responsive galleries, mobile gallery, mobile galleries, responsive photo gallery, best portfolio, easy media gallery, filterable gallery, filterable portfolio, foto, fotoalbum, fotogalerie, sortable gallery, sortable galleries, free photo gallery, fullscreen gallery, galary, galeri, galerie, galerij, galery, gallary, Galleria, gallerie, galleries, gallery decription, gallery slider, gelary, gellary, gellery, google, grid gallery, image, image album, image gallery, image gallery plugin, image lightbox, image slider, image slideshow, images, jquery, jquery gallery, links, media, multiple pictures, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive slideshow, responsive wordpress photo gallery, seo image, slide show, slideshow, thumbnail, upload images, upload photos, batch upload, multiply images upload, view images, view pictures, wordpress portfolio plugin, multi-categories gallery, multi categories galleries, robo gallery
5
  Requires at least: 3.3
6
  Tested up to: 4.5
7
+ Stable tag: 2.0.27
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
584
 
585
  == Changelog ==
586
 
587
+ = 2.0.27 =
588
+ * Fixed notice messages in the case of damaged images
589
+
590
  = 2.0.26 =
591
  * Changed method in code, improve security
592
 
1121
 
1122
  == Upgrade Notice ==
1123
 
1124
+ = 2.0.27 =
1125
+ Fixed notice messages in the case of damaged images
1126
+
1127
  = 2.0.26 =
1128
  Changed method in code, improve security
1129
 
robogallery.php CHANGED
@@ -8,7 +8,7 @@
8
  * Plugin Name: Robo Gallery
9
  * Plugin URI: http://robosoft.co/robogallery
10
  * Description: A responsive, easy and elegant way to show gallery.
11
- * Version: 2.0.26
12
  * Author: RoboSoft (c)
13
  * Author URI: http://robosoft.co/robogallery
14
  * License: GPL-2.0+
@@ -19,7 +19,7 @@
19
 
20
  if ( ! defined( 'WPINC' ) ) die;
21
  define("ROBO_GALLERY", 1);
22
- define("ROBO_GALLERY_VERSION", '2.0.26');
23
  define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
24
  define("ROBO_GALLERY_SPECIAL", 0);
25
 
8
  * Plugin Name: Robo Gallery
9
  * Plugin URI: http://robosoft.co/robogallery
10
  * Description: A responsive, easy and elegant way to show gallery.
11
+ * Version: 2.0.27
12
  * Author: RoboSoft (c)
13
  * Author URI: http://robosoft.co/robogallery
14
  * License: GPL-2.0+
19
 
20
  if ( ! defined( 'WPINC' ) ) die;
21
  define("ROBO_GALLERY", 1);
22
+ define("ROBO_GALLERY_VERSION", '2.0.27');
23
  define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
24
  define("ROBO_GALLERY_SPECIAL", 0);
25