Changeset 2041728
- Timestamp:
- 02/28/2019 08:45:20 PM (7 years ago)
- Location:
- insta-gallery/trunk
- Files:
-
- 5 edited
-
app/views/edit.php (modified) (1 diff)
-
insta-gallery.php (modified) (2 diffs)
-
readme.txt (modified) (5 diffs)
-
templates/carousel.php (modified) (1 diff)
-
templates/gallery.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
insta-gallery/trunk/app/views/edit.php
r2034239 r2041728 214 214 <th scope="row"><?php _e('Images thumbnail size','insta-gallery'); ?>:</th> 215 215 <td><select name="insta_thumb-size"> 216 <option value="medium"><?php _e('Medium','insta-gallery'); ?>(640,320 x auto)</option> 216 <option value="standard"><?php _e('Standard','insta-gallery'); ?> (640 x auto)</option> 217 <option value="medium" <?php echo (isset($InstaGalleryItem['insta_thumb-size']) && ($InstaGalleryItem['insta_thumb-size'] == 'medium')) ? 'selected' : ''; ?>><?php _e('Medium','insta-gallery'); ?> (320 x auto)</option> 217 218 <option value="small" 218 <?php echo (isset($InstaGalleryItem['insta_thumb-size']) && ($InstaGalleryItem['insta_thumb-size'] == 'small')) ? 'selected' : ''; ?>><?php _e('Small','insta-gallery'); ?> (150219 <?php echo (isset($InstaGalleryItem['insta_thumb-size']) && ($InstaGalleryItem['insta_thumb-size'] == 'small')) ? 'selected' : ''; ?>><?php _e('Small','insta-gallery'); ?> (150 219 220 x 150)</option> 220 221 </select></td> -
insta-gallery/trunk/insta-gallery.php
r2040919 r2041728 10 10 * Text Domain: insta-gallery 11 11 * Domain Path: /languages/ 12 * Version: 2.1. 312 * Version: 2.1.4 13 13 */ 14 14 … … 25 25 26 26 // global constants 27 define('INSGALLERY_VER', '2.1. 3');27 define('INSGALLERY_VER', '2.1.4'); 28 28 define('INSGALLERY_PRODUCTION', true); 29 29 -
insta-gallery/trunk/readme.txt
r2040919 r2041728 5 5 Requires PHP: 5.3 6 6 Tested up to: 5.0 7 Stable tag: 2.1. 37 Stable tag: 2.1.4 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 17 17 Display pictures from your Instagram account as Gallery or as Carousel Slider. just paste your Instagram Access Token, configure gallery settings and your pictures will be on the website. 18 18 19 **Note:** plugin version 2.x is a major update and it requires Instagram access token to display user media, please backup plugin files before update (if you are using version 1.x).it will help you downgrade if there is any issue with latest update.19 **Note:** plugin version 2.x is a major update and it requires Instagram access token to display user media, if you are using version 1.x then please backup plugin files before update, it will help you downgrade if there is any issue with latest update. 20 20 21 21 **Demo:** you can see demo [Here](https://www.karansingh.ml/public/demo/insta-gallery/) or check 'screenshots' section below. … … 56 56 = Why there are two popups on image click? = 57 57 58 there may be some other plugins(like: fancybox ) which also uses image links to open popup. try to disable popup images option in the setting panel of this plugin, which will allow other plugins to work.58 there may be some other plugins(like: fancybox, elementor) which also uses image links to open popup. try to disable popup images option in the setting panel of this plugin, which will allow other plugins to work. 59 59 60 60 = Error: No working transports found = … … 71 71 72 72 == Changelog == 73 = 2.1.4 = 74 * thumbnail sizes updated 75 73 76 = 2.1.3 = 74 77 * small content update … … 224 227 225 228 == Upgrade Notice == 229 = 2.1.4 = 230 updated thumbnail sizes 231 226 232 = 2.1.3 = 227 233 plugin info updated -
insta-gallery/trunk/templates/carousel.php
r1968010 r2041728 42 42 foreach ($instaItems as $item) { 43 43 if (! empty($item['img_low']) && ! empty($item['img_standard']) && ! empty($item['img_thumb'])) { 44 $img_src = ($IGItem['insta_car-slidespv'] == 1) ? $item['img_standard'] : ((($IGItem['insta_car-slidespv'] > 10) || ($IGItem['insta_thumb-size'] == 'small')) ? $item['img_thumb'] : $item['img_low']); 44 $img_src = $item['img_standard']; 45 if($IGItem['insta_thumb-size'] == 'small'){ 46 $img_src = $item['img_thumb']; 47 } 48 if($IGItem['insta_thumb-size'] == 'medium'){ 49 $img_src = $item['img_low']; 50 } 45 51 $link = $iplink = 'https://www.instagram.com/p/' . $item['code'] . '/'; 46 52 if ($IGItem['insta_gal-popup']) { -
insta-gallery/trunk/templates/gallery.php
r2032907 r2041728 36 36 foreach ($instaItems as $item) { 37 37 38 $img_src = ($IGItem['insta_gal-cols'] == 1) ? $item['img_standard'] : ((($IGItem['insta_gal-cols'] > 9) || ($IGItem['insta_thumb-size'] == 'small')) ? $item['img_thumb'] : $item['img_low']); 38 $img_src = $item['img_standard']; 39 if($IGItem['insta_thumb-size'] == 'small'){ 40 $img_src = $item['img_thumb']; 41 } 42 if($IGItem['insta_thumb-size'] == 'medium'){ 43 $img_src = $item['img_low']; 44 } 39 45 $hovered = $IGItem['insta_gal-hover'] ? 'ighover' : ''; 40 46 $spacing = $IGItem['insta_gal-spacing'] ? '' : 'no-spacing';
Note: See TracChangeset
for help on using the changeset viewer.