Instagram Feed - Version 2.1.3

Version Description

  • New: Added filter "sbi_settings_pages_capability" to change what permission is needed to access settings pages.
  • Tweak: Updated language files for version 2.0+.
  • Tweak: Better error messages for no posts being found and API request delays.
  • Tweak: If "Favor Local Images" setting is in use, a 640px resolution image will be created for images coming from a personal account.
  • Tweak: Better error recovery when image file not found when viewing the feed.
  • Tweak: Button and input field styling updated to look better with WordPress 5.3.
  • Fix: Accounts that were connected prior to version 1.12 would not show the follow button if the header was not also displayed. Visit the "Configure" tab to have the account automatically updated.
  • Fix: MySQL error when retrieving resized images. Thanks the-louie!
  • Fix: When using the new Twenty Twenty theme, Instagram icon in "follow" button displaying as block and causing the button text to appear on a new line.
Download this release

Release Info

Developer smashballoon
Plugin Icon 128x128 Instagram Feed
Version 2.1.3
Comparing to
See all releases

Code changes from version 2.1.2 to 2.1.3

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: smashballoon, craig-at-smash-balloon
3
  Tags: Instagram, Instagram feed, Instagram photos, Instagram widget, Instagram gallery
4
  Requires at least: 3.4
5
  Tested up to: 5.3
6
- Stable tag: 2.1.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -324,6 +324,17 @@ We understand that sometimes you need help, have issues or just have questions.
324
  * Plus more customization options added all the time!
325
 
326
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
327
  = 2.1.2 =
328
  * New: Added setting "API request size" on the "Customize" tab to allow requesting of more posts than are in the feed. Setting this to a high number will prevent no posts being found if you often post IG TV posts and use a personal account.
329
  * Tweak: Removed width and height attributes from the image element in the feed to prevent notices about serving scaled images in optimization tools.
3
  Tags: Instagram, Instagram feed, Instagram photos, Instagram widget, Instagram gallery
4
  Requires at least: 3.4
5
  Tested up to: 5.3
6
+ Stable tag: 2.1.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
324
  * Plus more customization options added all the time!
325
 
326
  == Changelog ==
327
+ = 2.1.3 =
328
+ * New: Added filter "sbi_settings_pages_capability" to change what permission is needed to access settings pages.
329
+ * Tweak: Updated language files for version 2.0+.
330
+ * Tweak: Better error messages for no posts being found and API request delays.
331
+ * Tweak: If "Favor Local Images" setting is in use, a 640px resolution image will be created for images coming from a personal account.
332
+ * Tweak: Better error recovery when image file not found when viewing the feed.
333
+ * Tweak: Button and input field styling updated to look better with WordPress 5.3.
334
+ * Fix: Accounts that were connected prior to version 1.12 would not show the follow button if the header was not also displayed. Visit the "Configure" tab to have the account automatically updated.
335
+ * Fix: MySQL error when retrieving resized images. Thanks [the-louie](https://github.com/the-louie)!
336
+ * Fix: When using the new Twenty Twenty theme, Instagram icon in "follow" button displaying as block and causing the button text to appear on a new line.
337
+
338
  = 2.1.2 =
339
  * New: Added setting "API request size" on the "Customize" tab to allow requesting of more posts than are in the feed. Setting this to a high number will prevent no posts being found if you often post IG TV posts and use a personal account.
340
  * Tweak: Removed width and height attributes from the image element in the feed to prevent notices about serving scaled images in optimization tools.
css/sb-instagram-2-0-1.css DELETED
@@ -1,728 +0,0 @@
1
- /**************/
2
- /*** LAYOUT ***/
3
- /**************/
4
-
5
- /* Feed container */
6
- #sb_instagram {
7
- width: 100%;
8
- margin: 0 auto;
9
- padding: 0;
10
- -webkit-box-sizing: border-box;
11
- -moz-box-sizing: border-box;
12
- box-sizing: border-box;
13
- }
14
- #sb_instagram:after{
15
- content: "";
16
- display: table;
17
- clear: both;
18
- }
19
-
20
- /*********************/
21
- /*** STYLE OPTIONS ***/
22
- /*********************/
23
- #sb_instagram.sbi_fixed_height{
24
- overflow: hidden;
25
- overflow-y: auto;
26
- -webkit-box-sizing: border-box;
27
- -moz-box-sizing: border-box;
28
- box-sizing: border-box;
29
- }
30
- #sb_instagram #sbi_images{
31
- width: 100%;
32
- float: left;
33
- line-height: 0;
34
-
35
- -webkit-box-sizing: border-box;
36
- -moz-box-sizing: border-box;
37
- box-sizing: border-box;
38
- }
39
-
40
- /* Items */
41
- #sb_instagram #sbi_images .sbi_item{
42
- display: -moz-inline-stack;
43
- display: inline-block;
44
- vertical-align: top;
45
- zoom: 1;
46
- *display: inline;
47
-
48
- max-height: 1000px;
49
- padding: inherit !important;
50
- margin: 0 !important;
51
- text-decoration: none;
52
- opacity: 1;
53
- overflow: hidden;
54
-
55
- -webkit-box-sizing: border-box;
56
- -moz-box-sizing: border-box;
57
- box-sizing: border-box;
58
-
59
- -webkit-transition: all 0.5s ease;
60
- -moz-transition: all 0.5s ease;
61
- -o-transition: all 0.5s ease;
62
- -ms-transition: all 0.5s ease;
63
- transition: all 0.5s ease;
64
- }
65
- /* Transition items in */
66
- #sb_instagram #sbi_images .sbi_item.sbi_transition{
67
- opacity: 0;
68
- max-height: 0;
69
- }
70
-
71
- /* Cols */
72
- #sb_instagram.sbi_col_1 #sbi_images .sbi_item{ width: 100%; }
73
- #sb_instagram.sbi_col_2 #sbi_images .sbi_item{ width: 50%; }
74
- #sb_instagram.sbi_col_3 #sbi_images .sbi_item{ width: 33.33%; }
75
- #sb_instagram.sbi_col_4 #sbi_images .sbi_item{ width: 25%; }
76
- #sb_instagram.sbi_col_5 #sbi_images .sbi_item{ width: 20%; }
77
- #sb_instagram.sbi_col_6 #sbi_images .sbi_item{ width: 16.66%; }
78
- #sb_instagram.sbi_col_7 #sbi_images .sbi_item{ width: 14.28%; }
79
- #sb_instagram.sbi_col_8 #sbi_images .sbi_item{ width: 12.5%; }
80
- #sb_instagram.sbi_col_9 #sbi_images .sbi_item{ width: 11.11%; }
81
- #sb_instagram.sbi_col_10 #sbi_images .sbi_item{ width: 10%; }
82
-
83
- /* Disable mobile layout */
84
- #sb_instagram.sbi_col_1.sbi_disable_mobile #sbi_images .sbi_item{ width: 100%; }
85
- #sb_instagram.sbi_col_2.sbi_disable_mobile #sbi_images .sbi_item{ width: 50%; }
86
- #sb_instagram.sbi_col_3.sbi_disable_mobile #sbi_images .sbi_item{ width: 33.33%; }
87
- #sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item{ width: 25%; }
88
- #sb_instagram.sbi_col_5.sbi_disable_mobile #sbi_images .sbi_item{ width: 20%; }
89
- #sb_instagram.sbi_col_6.sbi_disable_mobile #sbi_images .sbi_item{ width: 16.66%; }
90
- #sb_instagram.sbi_col_7.sbi_disable_mobile #sbi_images .sbi_item{ width: 14.28%; }
91
- #sb_instagram.sbi_col_8.sbi_disable_mobile #sbi_images .sbi_item{ width: 12.5%; }
92
- #sb_instagram.sbi_col_9.sbi_disable_mobile #sbi_images .sbi_item{ width: 11.11%; }
93
- #sb_instagram.sbi_col_10.sbi_disable_mobile #sbi_images .sbi_item{ width: 10%; }
94
-
95
- /* Photos */
96
- #sb_instagram .sbi_photo_wrap{
97
- position: relative;
98
- }
99
- #sb_instagram .sbi_photo{
100
- display: block;
101
- text-decoration: none;
102
- }
103
- #sb_instagram .sbi_photo img{
104
- width: 100%;
105
- height: auto;
106
- }
107
- #sb_instagram .sbi_no_js img{
108
- display: none;
109
- }
110
- #sb_instagram a,
111
- #sb_instagram a:hover,
112
- #sb_instagram a:focus,
113
- #sb_instagram a:active{
114
- outline: none;
115
- }
116
- #sb_instagram img{
117
- display: block;
118
- padding: 0 !important;
119
- margin: 0 !important;
120
- max-width: 100% !important;
121
- opacity: 1 !important;
122
- }
123
- #sb_instagram .sbi_link{
124
- display: none;
125
- position: absolute;
126
- bottom: 0;
127
- right: 0;
128
-
129
- width: 100%;
130
- padding: 10px 0;
131
- background: rgba(0,0,0,0.5);
132
- text-align: center;
133
- color: #fff;
134
- font-size: 12px;
135
- line-height: 1.1;
136
- }
137
- #sb_instagram .sbi_link a{
138
- padding: 0 6px;
139
- text-decoration: none;
140
- color: #fff;
141
- font-size: 12px;
142
- line-height: 1.1;
143
-
144
- display: -moz-inline-stack;
145
- display: inline-block;
146
- vertical-align: top;
147
- zoom: 1;
148
- *display: inline;
149
- }
150
- #sb_instagram .sbi_link .sbi_lightbox_link{
151
- padding-bottom: 5px;
152
- }
153
- #sb_instagram .sbi_link a:hover,
154
- #sb_instagram .sbi_link a:focus{
155
- text-decoration: underline;
156
- }
157
- #sb_instagram .sbi_photo_wrap:hover .sbi_link,
158
- #sb_instagram .sbi_photo_wrap:focus .sbi_link{
159
- display: block;
160
- }
161
-
162
- /* Videos */
163
- #sb_instagram svg:not(:root).svg-inline--fa {
164
- height: 1em;
165
- }
166
-
167
- #sb_instagram .sbi_type_video .sbi_playbtn,
168
- #sb_instagram .sbi_type_carousel .sbi_playbtn,
169
- .sbi_type_carousel .fa-clone,
170
- #sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,
171
- #sb_instagram .sbi_type_video .svg-inline--fa.fa-play{
172
- display: block !important;
173
- position: absolute;
174
- z-index: 1;
175
-
176
- color: #fff;
177
- color: rgba(255,255,255,0.9);
178
- font-style: normal !important;
179
- text-shadow: 0 0 8px rgba(0,0,0,0.8);
180
- }
181
- #sb_instagram .sbi_type_video .sbi_playbtn,
182
- #sb_instagram .sbi_type_carousel .sbi_playbtn {
183
- z-index: 2;
184
- top: 50%;
185
- left: 50%;
186
- margin-top: -24px;
187
- margin-left: -19px;
188
- padding: 0;
189
- font-size: 48px;
190
- }
191
- #sb_instagram .sbi_type_carousel .fa-clone{
192
- right: 12px;
193
- top: 12px;
194
- font-size: 24px;
195
- text-shadow: 0 0 8px rgba(0,0,0,0.3);
196
- }
197
- .sbi_type_carousel svg.fa-clone,
198
- #sb_instagram .sbi_type_video .svg-inline--fa.fa-play,
199
- #sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play{
200
- -webkit-filter: drop-shadow( 0px 0px 2px rgba(0,0,0,.4) );
201
- filter: drop-shadow( 0px 0px 2px rgba(0,0,0,.4) );
202
- }
203
-
204
- /* Loader */
205
- #sb_instagram .sbi_loader{
206
- width: 20px;
207
- height: 20px;
208
-
209
- position: relative;
210
- top: 50%;
211
- left: 50%;
212
- margin: -10px 0 0 -10px;
213
- background-color: #000;
214
- background-color: rgba(0,0,0,0.5);
215
-
216
- border-radius: 100%;
217
- -webkit-animation: sbi-sk-scaleout 1.0s infinite ease-in-out;
218
- animation: sbi-sk-scaleout 1.0s infinite ease-in-out;
219
- }
220
- /* Loader in button */
221
- #sb_instagram #sbi_load .sbi_loader{
222
- position: absolute;
223
- margin-top: -11px;
224
- background-color: #fff;
225
- opacity: 1;
226
- }
227
- @-webkit-keyframes sbi-sk-scaleout {
228
- 0% { -webkit-transform: scale(0) }
229
- 100% {
230
- -webkit-transform: scale(1.0);
231
- opacity: 0;
232
- }
233
- }
234
- @keyframes sbi-sk-scaleout {
235
- 0% {
236
- -webkit-transform: scale(0);
237
- -ms-transform: scale(0);
238
- transform: scale(0);
239
- } 100% {
240
- -webkit-transform: scale(1.0);
241
- -ms-transform: scale(1.0);
242
- transform: scale(1.0);
243
- opacity: 0;
244
- }
245
- }
246
-
247
- #sb_instagram .fa-spin,
248
- #sbi_lightbox .fa-spin{
249
- -webkit-animation: fa-spin 2s infinite linear;
250
- animation: fa-spin 2s infinite linear
251
- }
252
-
253
- #sb_instagram .fa-pulse,
254
- #sbi_lightbox .fa-pulse{
255
- -webkit-animation: fa-spin 1s infinite steps(8);
256
- animation: fa-spin 1s infinite steps(8)
257
- }
258
-
259
- @-webkit-keyframes fa-spin {
260
- 0% {
261
- -webkit-transform: rotate(0deg);
262
- transform: rotate(0deg)
263
- }
264
- 100% {
265
- -webkit-transform: rotate(359deg);
266
- transform: rotate(359deg)
267
- }
268
- }
269
-
270
- @keyframes fa-spin {
271
- 0% {
272
- -webkit-transform: rotate(0deg);
273
- transform: rotate(0deg)
274
- }
275
- 100% {
276
- -webkit-transform: rotate(359deg);
277
- transform: rotate(359deg)
278
- }
279
- }
280
- /* Screen reader */
281
- .sbi-screenreader{text-indent: -9999px !important;display: block !important;width: 0 !important;height: 0 !important;line-height: 0 !important;}
282
-
283
- /* HEADER */
284
- #sb_instagram .sb_instagram_header{
285
- float: left;
286
- clear: both;
287
- margin: 0 0 15px 0;
288
- padding: 0;
289
- line-height: 1.2;
290
- width: 100%;
291
- }
292
- #sb_instagram .sb_instagram_header a{
293
- float: left;
294
- display: block;
295
- /*width: 100%;*/
296
- min-width: 100%\9;
297
- text-decoration: none;
298
- transition: color 0.5s ease;
299
- }
300
- /** Medium Header */
301
- /* Only use medium & large headers on devices above 480px */
302
- @media all and (min-width: 480px){
303
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img {
304
- width: 80px;
305
- height: 80px;
306
- border-radius: 40px;
307
- }
308
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img img {
309
- width: 80px;
310
- height: 80px;
311
- border-radius: 40px;
312
- }
313
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3 {
314
- font-size: 20px;
315
- }
316
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,
317
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio{
318
- font-size: 14px;
319
- }
320
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3,
321
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,
322
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio{
323
- margin-left: 95px !important;
324
- line-height: 1.4
325
- }
326
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{
327
- margin-right: -85px !important;
328
- }
329
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{
330
- margin-top: 4px !important;
331
- }
332
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3{
333
- padding-top: 20px !important;
334
- }
335
- /** Large Header */
336
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_img {
337
- width: 120px;
338
- height: 120px;
339
- border-radius: 60px;
340
- }
341
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_img img {
342
- width: 120px;
343
- height: 120px;
344
- border-radius: 60px;
345
- }
346
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3 {
347
- font-size: 28px;
348
- }
349
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,
350
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio{
351
- font-size: 16px;
352
- }
353
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3,
354
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,
355
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio{
356
- margin-left: 140px !important;
357
- line-height: 1.5;
358
- }
359
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{
360
- margin-right: -120px !important;
361
- }
362
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{
363
- margin-top: 12px !important;
364
- }
365
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3{
366
- padding-top: 32px !important;
367
- }
368
- }
369
-
370
- /* Header profile pic */
371
- #sb_instagram .sb_instagram_header .sbi_header_img{
372
- float: left;
373
- position: relative;
374
- width: 50px;
375
- margin: 0 0 0 -100% !important;
376
- overflow: hidden;
377
-
378
- -moz-border-radius: 40px;
379
- -webkit-border-radius: 40px;
380
- border-radius: 40px;
381
- }
382
- #sb_instagram .sb_instagram_header .sbi_header_img img{
383
- float: left;
384
- margin: 0 !important;
385
- padding: 0 !important;
386
- border: none !important;
387
-
388
- -moz-border-radius: 40px;
389
- -webkit-border-radius: 40px;
390
- border-radius: 40px;
391
- }
392
- /* Profile pic hover */
393
- /* Profile pic hover */
394
- #sb_instagram .sb_instagram_header .sbi_header_img_hover{
395
- opacity: 0;
396
- position: absolute;
397
- width: 100%;
398
- top: 0;
399
- bottom: 0;
400
- left: 0;
401
- text-align: center;
402
- color: #fff;
403
- background: rgba(0,0,0,0.75);
404
- }
405
-
406
- #sb_instagram .sb_instagram_header .sbi_header_img_hover .sbi_new_logo{
407
- position: absolute;
408
- top: 50%;
409
- left: 50%;
410
- margin-top: -12px;
411
- margin-left: -12px;
412
- width: 24px;
413
- height: 24px;
414
- font-size: 24px;
415
- }
416
- #sb_instagram .sb_instagram_header .sbi_header_img_hover i {
417
- overflow: hidden;
418
- background: url('../img/small-logo.png') no-repeat 0 0;
419
- }
420
- #sb_instagram .sb_instagram_header .sbi_header_img_hover{
421
- z-index: 2;
422
- transition: opacity 0.4s ease-in-out;
423
- }
424
- #sb_instagram .sb_instagram_header .sbi_fade_in{
425
- opacity: 1;
426
- transition: opacity 0.2s ease-in-out;
427
- }
428
- #sb_instagram .sb_instagram_header .sbi_header_img_hover{
429
- position: absolute;
430
- width: 100%;
431
- top: 0;
432
- bottom: 0;
433
- left: 0;
434
- text-align: center;
435
- color: #fff;
436
- background: rgba(0,0,0,0.75);
437
-
438
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
439
- filter: alpha(opacity=0);
440
- -moz-opacity: 0;
441
- -khtml-opacity: 0;
442
- opacity: 0;
443
- border-radius: 40px;
444
- transition: opacity 0.2s;
445
- }
446
- /* Fade the Instagram icon in when hovering on the header */
447
- #sb_instagram .sb_instagram_header a:hover .sbi_header_img_hover,
448
- #sb_instagram .sb_instagram_header a:focus .sbi_header_img_hover{
449
- opacity: 1;
450
- }
451
- /* Header text */
452
- #sb_instagram .sb_instagram_header .sbi_header_text{
453
- float: left;
454
- width: 100%;
455
- padding-top: 5px;
456
- }
457
- #sb_instagram .sb_instagram_header a{
458
- text-decoration: none;
459
- }
460
- #sb_instagram .sb_instagram_header .sbi_header_text .sbi_bio,
461
- #sb_instagram .sb_instagram_header .sbi_header_text h3{
462
- float: left;
463
- clear: both;
464
- width: auto;
465
- margin: 0 0 0 60px !important;
466
- padding: 0 !important;
467
- }
468
- #sb_instagram .sb_instagram_header h3{
469
- font-size: 16px;
470
- line-height: 1.3;
471
- }
472
- #sb_instagram .sb_instagram_header p{
473
- font-size: 13px;
474
- line-height: 1.3;
475
- }
476
- #sb_instagram .sb_instagram_header .sbi_header_text img.emoji{
477
- margin-right: 3px !important;
478
- }
479
-
480
- /* No bio */
481
- #sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3{
482
- padding-top: 9px !important;
483
- }
484
- #sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info{
485
- clear: both;
486
- }
487
-
488
-
489
- /* Buttons */
490
- #sb_instagram #sbi_load{
491
- float: left;
492
- clear: both;
493
- width: 100%;
494
- text-align: center;
495
- }
496
- #sb_instagram #sbi_load .fa-spinner{
497
- display: none;
498
- position: absolute;
499
- top: 50%;
500
- left: 50%;
501
- margin: -8px 0 0 -7px;
502
- font-size: 15px;
503
- }
504
- #sb_instagram #sbi_load{
505
- opacity: 1;
506
- transition: all 0.5s ease-in;
507
- }
508
- #sb_instagram .sbi_load_btn .sbi_btn_text, #sb_instagram .sbi_load_btn .sbi_loader{
509
- opacity: 1;
510
- transition: all 0.1s ease-in;
511
- }
512
- #sb_instagram .sbi_hidden{
513
- opacity: 0 !important;
514
- }
515
- #sb_instagram #sbi_load .sbi_load_btn,
516
- #sb_instagram .sbi_follow_btn a{
517
- display: -moz-inline-stack;
518
- display: inline-block;
519
- vertical-align: top;
520
- zoom: 1;
521
- *display: inline;
522
-
523
- padding: 7px 14px;
524
- margin: 5px auto 0 auto;
525
- background: #333;
526
- color: #eee;
527
- border: none;
528
- color: #fff;
529
- text-decoration: none;
530
- font-size: 13px;
531
- line-height: 1.5;
532
-
533
- -moz-border-radius: 4px;
534
- -webkit-border-radius: 4px;
535
- border-radius: 4px;
536
-
537
- -webkit-box-sizing: border-box;
538
- -moz-box-sizing: border-box;
539
- box-sizing: border-box;
540
- }
541
- #sb_instagram #sbi_load .sbi_load_btn {
542
- position: relative;
543
- }
544
- /* Follow button */
545
- #sb_instagram .sbi_follow_btn{
546
- display: -moz-inline-stack;
547
- display: inline-block;
548
- vertical-align: top;
549
- zoom: 1;
550
- *display: inline;
551
- text-align: center;
552
- }
553
- #sb_instagram .sbi_follow_btn.sbi_top{
554
- display: block;
555
- margin-bottom: 5px;
556
- }
557
- #sb_instagram .sbi_follow_btn a{
558
- background: #408bd1;
559
- color: #fff;
560
- }
561
- #sb_instagram .sbi_follow_btn a,
562
- #sb_instagram .sbi_follow_btn a,
563
- #sb_instagram #sbi_load .sbi_load_btn{
564
- transition: all 0.1s ease-in;
565
- }
566
- /* Hover state for default colors */
567
- #sb_instagram #sbi_load .sbi_load_btn:hover{
568
- outline: none;
569
- box-shadow: inset 0 0 20px 20px rgba(255,255,255,0.25);
570
- }
571
- #sb_instagram .sbi_follow_btn a:hover,
572
- #sb_instagram .sbi_follow_btn a:focus{
573
- outline: none;
574
- box-shadow: inset 0 0 10px 20px #359dff;
575
- }
576
- /* If a custom color is applied then just use opacity for the hover effect */
577
- #sb_instagram .sbi_follow_btn.sbi_custom a:hover,
578
- #sb_instagram .sbi_follow_btn.sbi_custom a:focus,
579
- #sb_instagram #sbi_load .sbi_load_btn.sbi_custom:hover{
580
- box-shadow: inset 0 0 20px 20px rgba(255,255,255,0.15);
581
- }
582
- /* Active state */
583
- #sb_instagram .sbi_follow_btn a:active,
584
- #sb_instagram #sbi_load .sbi_load_btn:active{
585
- box-shadow: inset 0 0 10px 20px rgba(0,0,0,0.3);
586
- }
587
-
588
- #sb_instagram .sbi_follow_btn .fa,
589
- #sb_instagram .sbi_follow_btn svg{
590
- margin-bottom: -1px;
591
- margin-right: 7px;
592
- font-size: 15px;
593
- }
594
- #sb_instagram .sbi_follow_btn svg{
595
- vertical-align: -.125em;
596
- }
597
- #sb_instagram #sbi_load .sbi_follow_btn{
598
- margin-left: 5px;
599
- }
600
-
601
- /* Error messages */
602
- #sb_instagram .sb_instagram_error{
603
- width: 100%;
604
- text-align: center;
605
- line-height: 1.4;
606
- }
607
-
608
- /* Mod only error msgs */
609
- #sbi_mod_error{
610
- display: none;
611
- border: 1px solid #ddd;
612
- background: #eee;
613
- color: #333;
614
- margin: 10px 0 0;
615
- padding: 10px 15px;
616
- font-size: 13px;
617
- text-align: center;
618
- clear: both;
619
-
620
- -moz-border-radius: 4px;
621
- -webkit-border-radius: 4px;
622
- border-radius: 4px;
623
- }
624
- #sbi_mod_error p{
625
- padding: 5px 0 !important;
626
- margin: 0 !important;
627
- line-height: 1.3 !important;
628
- }
629
- #sbi_mod_error ol,
630
- #sbi_mod_error ul{
631
- padding: 5px 0 5px 20px !important;
632
- margin: 0 !important;
633
- }
634
- #sbi_mod_error li{
635
- padding: 1px 0 !important;
636
- margin: 0 !important;
637
- }
638
- #sbi_mod_error span{
639
- font-size: 12px;
640
- }
641
-
642
- /* Medium */
643
- #sb_instagram.sbi_medium .sbi_playbtn,
644
- #sb_instagram.sbi_medium .sbi_photo_wrap .svg-inline--fa.fa-play{
645
- margin-top: -12px;
646
- margin-left: -9px;
647
- font-size: 23px;
648
- }
649
- #sb_instagram.sbi_medium .sbi_type_carousel .sbi_photo_wrap .fa-clone{
650
- right: 8px;
651
- top: 8px;
652
- font-size: 18px;
653
- }
654
- /* Small */
655
- #sb_instagram.sbi_small .sbi_playbtn,
656
- #sb_instagram.sbi_small .sbi_photo_wrap .svg-inline--fa.fa-play{
657
- margin-top: -9px;
658
- margin-left: -7px;
659
- font-size: 18px;
660
- }
661
- #sb_instagram.sbi_small .sbi_type_carousel .sbi_photo_wrap .fa-clone{
662
- right: 5px;
663
- top: 5px;
664
- font-size: 12px;
665
- }
666
-
667
- /* Media queries */
668
- @media all and (max-width: 640px){
669
- /* Make 3-6 cols into 2 col */
670
- #sb_instagram.sbi_col_3 #sbi_images .sbi_item,
671
- #sb_instagram.sbi_col_4 #sbi_images .sbi_item,
672
- #sb_instagram.sbi_col_5 #sbi_images .sbi_item,
673
- #sb_instagram.sbi_col_6 #sbi_images .sbi_item{
674
- width: 50%;
675
- }
676
- /* Make 7-10 cols into 4 col */
677
- #sb_instagram.sbi_col_7 #sbi_images .sbi_item,
678
- #sb_instagram.sbi_col_8 #sbi_images .sbi_item,
679
- #sb_instagram.sbi_col_9 #sbi_images .sbi_item,
680
- #sb_instagram.sbi_col_10 #sbi_images .sbi_item{
681
- width: 25%;
682
- }
683
- /* On mobile make the min-width 100% */
684
- #sb_instagram.sbi_width_resp{
685
- width: 100% !important;
686
- }
687
- }
688
- @media all and (max-width: 480px){
689
- /* Make all cols into 1 col */
690
- #sb_instagram.sbi_col_3 #sbi_images .sbi_item,
691
- #sb_instagram.sbi_col_4 #sbi_images .sbi_item,
692
- #sb_instagram.sbi_col_5 #sbi_images .sbi_item,
693
- #sb_instagram.sbi_col_6 #sbi_images .sbi_item,
694
- #sb_instagram.sbi_col_7 #sbi_images .sbi_item,
695
- #sb_instagram.sbi_col_8 #sbi_images .sbi_item,
696
- #sb_instagram.sbi_col_9 #sbi_images .sbi_item,
697
- #sb_instagram.sbi_col_10 #sbi_images .sbi_item{
698
- width: 100%;
699
- }
700
- }
701
-
702
- /* NO JS */
703
- #sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap{
704
- box-sizing: border-box;
705
- position: relative;
706
- overflow: hidden;
707
- }
708
- #sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap:before {
709
- content: "";
710
- display: block;
711
- padding-top: 100%;
712
- z-index: -300;
713
- }
714
- #sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo {
715
- position: absolute;
716
- top: 0;
717
- left: 0;
718
- bottom: 0;
719
- right: 0;
720
- }
721
- #sb_instagram.sbi_no_js #sbi_images .sbi_item.sbi_transition {
722
- opacity: 1;
723
- max-height: 640px;
724
- }
725
- #sb_instagram.sbi_no_js .sbi_photo img,
726
- #sb_instagram.sbi_no_js .sbi_load_btn{
727
- display: none;
728
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/sb-instagram-2-0-1.min.css DELETED
@@ -1 +0,0 @@
1
- #sb_instagram{width:100%;margin:0 auto;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram:after{content:"";display:table;clear:both}#sb_instagram.sbi_fixed_height{overflow:hidden;overflow-y:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_images{width:100%;float:left;line-height:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_images .sbi_item{display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;max-height:1000px;padding:inherit!important;margin:0!important;text-decoration:none;opacity:1;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;-ms-transition:all .5s ease;transition:all .5s ease}#sb_instagram #sbi_images .sbi_item.sbi_transition{opacity:0;max-height:0}#sb_instagram.sbi_col_1 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item{width:10%}#sb_instagram.sbi_col_1.sbi_disable_mobile #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2.sbi_disable_mobile #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3.sbi_disable_mobile #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5.sbi_disable_mobile #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6.sbi_disable_mobile #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7.sbi_disable_mobile #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8.sbi_disable_mobile #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9.sbi_disable_mobile #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10.sbi_disable_mobile #sbi_images .sbi_item{width:10%}#sb_instagram .sbi_photo_wrap{position:relative}#sb_instagram .sbi_photo{display:block;text-decoration:none}#sb_instagram .sbi_photo img{width:100%;height:auto}#sb_instagram .sbi_no_js img{display:none}#sb_instagram a,#sb_instagram a:active,#sb_instagram a:focus,#sb_instagram a:hover{outline:0}#sb_instagram img{display:block;padding:0!important;margin:0!important;max-width:100%!important;opacity:1!important}#sb_instagram .sbi_link{display:none;position:absolute;bottom:0;right:0;width:100%;padding:10px 0;background:rgba(0,0,0,.5);text-align:center;color:#fff;font-size:12px;line-height:1.1}#sb_instagram .sbi_link a{padding:0 6px;text-decoration:none;color:#fff;font-size:12px;line-height:1.1;display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1}#sb_instagram .sbi_link .sbi_lightbox_link{padding-bottom:5px}#sb_instagram .sbi_link a:focus,#sb_instagram .sbi_link a:hover{text-decoration:underline}#sb_instagram .sbi_photo_wrap:focus .sbi_link,#sb_instagram .sbi_photo_wrap:hover .sbi_link{display:block}#sb_instagram svg:not(:root).svg-inline--fa{height:1em}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .sbi_playbtn,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel .fa-clone{display:block!important;position:absolute;z-index:1;color:#fff;color:rgba(255,255,255,.9);font-style:normal!important;text-shadow:0 0 8px rgba(0,0,0,.8)}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_video .sbi_playbtn{z-index:2;top:50%;left:50%;margin-top:-24px;margin-left:-19px;padding:0;font-size:48px}#sb_instagram .sbi_type_carousel .fa-clone{right:12px;top:12px;font-size:24px;text-shadow:0 0 8px rgba(0,0,0,.3)}#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel svg.fa-clone{-webkit-filter:drop-shadow( 0 0 2px rgba(0,0,0,.4) );filter:drop-shadow( 0 0 2px rgba(0,0,0,.4) )}#sb_instagram .sbi_loader{width:20px;height:20px;position:relative;top:50%;left:50%;margin:-10px 0 0 -10px;background-color:#000;background-color:rgba(0,0,0,.5);border-radius:100%;-webkit-animation:sbi-sk-scaleout 1s infinite ease-in-out;animation:sbi-sk-scaleout 1s infinite ease-in-out}#sb_instagram #sbi_load .sbi_loader{position:absolute;margin-top:-11px;background-color:#fff;opacity:1}@-webkit-keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0)}100%{-webkit-transform:scale(1);opacity:0}}@keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:0}}#sb_instagram .fa-spin,#sbi_lightbox .fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}#sb_instagram .fa-pulse,#sbi_lightbox .fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.sbi-screenreader{text-indent:-9999px!important;display:block!important;width:0!important;height:0!important;line-height:0!important}#sb_instagram .sb_instagram_header{float:left;clear:both;margin:0 0 15px 0;padding:0;line-height:1.2;width:100%}#sb_instagram .sb_instagram_header a{float:left;display:block;text-decoration:none;transition:color .5s ease}@media all and (min-width:480px){#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{font-size:20px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{font-size:14px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{margin-left:95px!important;line-height:1.4}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{margin-right:-85px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{margin-top:4px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3{padding-top:20px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{font-size:28px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{font-size:16px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{margin-left:140px!important;line-height:1.5}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{margin-right:-120px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{margin-top:12px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3{padding-top:32px!important}}#sb_instagram .sb_instagram_header .sbi_header_img{float:left;position:relative;width:50px;margin:0 0 0 -100%!important;overflow:hidden;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img img{float:left;margin:0!important;padding:0!important;border:none!important;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img_hover{opacity:0;position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75)}#sb_instagram .sb_instagram_header .sbi_header_img_hover .sbi_new_logo{position:absolute;top:50%;left:50%;margin-top:-12px;margin-left:-12px;width:24px;height:24px;font-size:24px}#sb_instagram .sb_instagram_header .sbi_header_img_hover i{overflow:hidden;background:url(../img/small-logo.png) no-repeat 0 0}#sb_instagram .sb_instagram_header .sbi_header_img_hover{z-index:2;transition:opacity .4s ease-in-out}#sb_instagram .sb_instagram_header .sbi_fade_in{opacity:1;transition:opacity .2s ease-in-out}#sb_instagram .sb_instagram_header .sbi_header_img_hover{position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75);-moz-opacity:0;-khtml-opacity:0;opacity:0;border-radius:40px;transition:opacity .2s}#sb_instagram .sb_instagram_header a:focus .sbi_header_img_hover,#sb_instagram .sb_instagram_header a:hover .sbi_header_img_hover{opacity:1}#sb_instagram .sb_instagram_header .sbi_header_text{float:left;width:100%;padding-top:5px}#sb_instagram .sb_instagram_header a{text-decoration:none}#sb_instagram .sb_instagram_header .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header .sbi_header_text h3{float:left;clear:both;width:auto;margin:0 0 0 60px!important;padding:0!important}#sb_instagram .sb_instagram_header h3{font-size:16px;line-height:1.3}#sb_instagram .sb_instagram_header p{font-size:13px;line-height:1.3}#sb_instagram .sb_instagram_header .sbi_header_text img.emoji{margin-right:3px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3{padding-top:9px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info{clear:both}#sb_instagram #sbi_load{float:left;clear:both;width:100%;text-align:center}#sb_instagram #sbi_load .fa-spinner{display:none;position:absolute;top:50%;left:50%;margin:-8px 0 0 -7px;font-size:15px}#sb_instagram #sbi_load{opacity:1;transition:all .5s ease-in}#sb_instagram .sbi_load_btn .sbi_btn_text,#sb_instagram .sbi_load_btn .sbi_loader{opacity:1;transition:all .1s ease-in}#sb_instagram .sbi_hidden{opacity:0!important}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;padding:7px 14px;margin:5px auto 0 auto;background:#333;color:#eee;border:none;color:#fff;text-decoration:none;font-size:13px;line-height:1.5;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_load .sbi_load_btn{position:relative}#sb_instagram .sbi_follow_btn{display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;text-align:center}#sb_instagram .sbi_follow_btn.sbi_top{display:block;margin-bottom:5px}#sb_instagram .sbi_follow_btn a{background:#408bd1;color:#fff}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{transition:all .1s ease-in}#sb_instagram #sbi_load .sbi_load_btn:hover{outline:0;box-shadow:inset 0 0 20px 20px rgba(255,255,255,.25)}#sb_instagram .sbi_follow_btn a:focus,#sb_instagram .sbi_follow_btn a:hover{outline:0;box-shadow:inset 0 0 10px 20px #359dff}#sb_instagram #sbi_load .sbi_load_btn.sbi_custom:hover,#sb_instagram .sbi_follow_btn.sbi_custom a:focus,#sb_instagram .sbi_follow_btn.sbi_custom a:hover{box-shadow:inset 0 0 20px 20px rgba(255,255,255,.15)}#sb_instagram #sbi_load .sbi_load_btn:active,#sb_instagram .sbi_follow_btn a:active{box-shadow:inset 0 0 10px 20px rgba(0,0,0,.3)}#sb_instagram .sbi_follow_btn .fa,#sb_instagram .sbi_follow_btn svg{margin-bottom:-1px;margin-right:7px;font-size:15px}#sb_instagram .sbi_follow_btn svg{vertical-align:-.125em}#sb_instagram #sbi_load .sbi_follow_btn{margin-left:5px}#sb_instagram .sb_instagram_error{width:100%;text-align:center;line-height:1.4}#sbi_mod_error{display:none;border:1px solid #ddd;background:#eee;color:#333;margin:10px 0 0;padding:10px 15px;font-size:13px;text-align:center;clear:both;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}#sbi_mod_error p{padding:5px 0!important;margin:0!important;line-height:1.3!important}#sbi_mod_error ol,#sbi_mod_error ul{padding:5px 0 5px 20px!important;margin:0!important}#sbi_mod_error li{padding:1px 0!important;margin:0!important}#sbi_mod_error span{font-size:12px}#sb_instagram.sbi_medium .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_medium .sbi_playbtn{margin-top:-12px;margin-left:-9px;font-size:23px}#sb_instagram.sbi_medium .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:8px;top:8px;font-size:18px}#sb_instagram.sbi_small .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_small .sbi_playbtn{margin-top:-9px;margin-left:-7px;font-size:18px}#sb_instagram.sbi_small .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:5px;top:5px;font-size:12px}@media all and (max-width:640px){#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_width_resp{width:100%!important}}@media all and (max-width:480px){#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:100%}}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap{box-sizing:border-box;position:relative;overflow:hidden}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap:before{content:"";display:block;padding-top:100%;z-index:-300}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo{position:absolute;top:0;left:0;bottom:0;right:0}#sb_instagram.sbi_no_js #sbi_images .sbi_item.sbi_transition{opacity:1;max-height:640px}#sb_instagram.sbi_no_js .sbi_load_btn,#sb_instagram.sbi_no_js .sbi_photo img{display:none}
 
css/sb-instagram-2-0-2.css DELETED
@@ -1,740 +0,0 @@
1
- /**************/
2
- /*** LAYOUT ***/
3
- /**************/
4
-
5
- /* Feed container */
6
- #sb_instagram {
7
- width: 100%;
8
- margin: 0 auto;
9
- padding: 0;
10
- -webkit-box-sizing: border-box;
11
- -moz-box-sizing: border-box;
12
- box-sizing: border-box;
13
- }
14
- #sb_instagram:after{
15
- content: "";
16
- display: table;
17
- clear: both;
18
- }
19
-
20
- /*********************/
21
- /*** STYLE OPTIONS ***/
22
- /*********************/
23
- #sb_instagram.sbi_fixed_height{
24
- overflow: hidden;
25
- overflow-y: auto;
26
- -webkit-box-sizing: border-box;
27
- -moz-box-sizing: border-box;
28
- box-sizing: border-box;
29
- }
30
- #sb_instagram #sbi_images{
31
- width: 100%;
32
- float: left;
33
- line-height: 0;
34
-
35
- -webkit-box-sizing: border-box;
36
- -moz-box-sizing: border-box;
37
- box-sizing: border-box;
38
- }
39
-
40
- /* Items */
41
- #sb_instagram #sbi_images .sbi_item{
42
- display: -moz-inline-stack;
43
- display: inline-block;
44
- float: left;
45
- vertical-align: top;
46
- zoom: 1;
47
- *display: inline;
48
-
49
- max-height: 1000px;
50
- padding: inherit !important;
51
- margin: 0 !important;
52
- text-decoration: none;
53
- opacity: 1;
54
- overflow: hidden;
55
-
56
- -webkit-box-sizing: border-box;
57
- -moz-box-sizing: border-box;
58
- box-sizing: border-box;
59
-
60
- -webkit-transition: all 0.5s ease;
61
- -moz-transition: all 0.5s ease;
62
- -o-transition: all 0.5s ease;
63
- -ms-transition: all 0.5s ease;
64
- transition: all 0.5s ease;
65
- }
66
- /* Transition items in */
67
- #sb_instagram #sbi_images .sbi_item.sbi_transition{
68
- opacity: 0;
69
- max-height: 0;
70
- }
71
-
72
- /* Cols */
73
- #sb_instagram.sbi_col_1 #sbi_images .sbi_item{ width: 100%; }
74
- #sb_instagram.sbi_col_2 #sbi_images .sbi_item{ width: 50%; }
75
- #sb_instagram.sbi_col_3 #sbi_images .sbi_item{ width: 33.33%; }
76
- #sb_instagram.sbi_col_4 #sbi_images .sbi_item{ width: 25%; }
77
- #sb_instagram.sbi_col_5 #sbi_images .sbi_item{ width: 20%; }
78
- #sb_instagram.sbi_col_6 #sbi_images .sbi_item{ width: 16.66%; }
79
- #sb_instagram.sbi_col_7 #sbi_images .sbi_item{ width: 14.28%; }
80
- #sb_instagram.sbi_col_8 #sbi_images .sbi_item{ width: 12.5%; }
81
- #sb_instagram.sbi_col_9 #sbi_images .sbi_item{ width: 11.11%; }
82
- #sb_instagram.sbi_col_10 #sbi_images .sbi_item{ width: 10%; }
83
-
84
- /* Disable mobile layout */
85
- #sb_instagram.sbi_col_1.sbi_disable_mobile #sbi_images .sbi_item{ width: 100%; }
86
- #sb_instagram.sbi_col_2.sbi_disable_mobile #sbi_images .sbi_item{ width: 50%; }
87
- #sb_instagram.sbi_col_3.sbi_disable_mobile #sbi_images .sbi_item{ width: 33.33%; }
88
- #sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item{ width: 25%; }
89
- #sb_instagram.sbi_col_5.sbi_disable_mobile #sbi_images .sbi_item{ width: 20%; }
90
- #sb_instagram.sbi_col_6.sbi_disable_mobile #sbi_images .sbi_item{ width: 16.66%; }
91
- #sb_instagram.sbi_col_7.sbi_disable_mobile #sbi_images .sbi_item{ width: 14.28%; }
92
- #sb_instagram.sbi_col_8.sbi_disable_mobile #sbi_images .sbi_item{ width: 12.5%; }
93
- #sb_instagram.sbi_col_9.sbi_disable_mobile #sbi_images .sbi_item{ width: 11.11%; }
94
- #sb_instagram.sbi_col_10.sbi_disable_mobile #sbi_images .sbi_item{ width: 10%; }
95
-
96
- /* Photos */
97
- #sb_instagram .sbi_photo_wrap{
98
- position: relative;
99
- }
100
- #sb_instagram .sbi_photo{
101
- display: block;
102
- text-decoration: none;
103
- }
104
- #sb_instagram .sbi_photo img{
105
- width: 100%;
106
- height: auto;
107
- }
108
- #sb_instagram .sbi_no_js img{
109
- display: none;
110
- }
111
- #sb_instagram a,
112
- #sb_instagram a:hover,
113
- #sb_instagram a:focus,
114
- #sb_instagram a:active{
115
- outline: none;
116
- }
117
- #sb_instagram img{
118
- display: block;
119
- padding: 0 !important;
120
- margin: 0 !important;
121
- max-width: 100% !important;
122
- opacity: 1 !important;
123
- }
124
- #sb_instagram .sbi_link{
125
- display: none;
126
- position: absolute;
127
- bottom: 0;
128
- right: 0;
129
-
130
- width: 100%;
131
- padding: 10px 0;
132
- background: rgba(0,0,0,0.5);
133
- text-align: center;
134
- color: #fff;
135
- font-size: 12px;
136
- line-height: 1.1;
137
- }
138
- #sb_instagram .sbi_link a{
139
- padding: 0 6px;
140
- text-decoration: none;
141
- color: #fff;
142
- font-size: 12px;
143
- line-height: 1.1;
144
-
145
- display: -moz-inline-stack;
146
- display: inline-block;
147
- vertical-align: top;
148
- zoom: 1;
149
- *display: inline;
150
- }
151
- #sb_instagram .sbi_link .sbi_lightbox_link{
152
- padding-bottom: 5px;
153
- }
154
- #sb_instagram .sbi_link a:hover,
155
- #sb_instagram .sbi_link a:focus{
156
- text-decoration: underline;
157
- }
158
- #sb_instagram .sbi_photo_wrap:hover .sbi_link,
159
- #sb_instagram .sbi_photo_wrap:focus .sbi_link{
160
- display: block;
161
- }
162
-
163
- /* Videos */
164
- #sb_instagram svg:not(:root).svg-inline--fa {
165
- height: 1em;
166
- }
167
-
168
- #sb_instagram .sbi_type_video .sbi_playbtn,
169
- #sb_instagram .sbi_type_carousel .sbi_playbtn,
170
- .sbi_type_carousel .fa-clone,
171
- #sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,
172
- #sb_instagram .sbi_type_video .svg-inline--fa.fa-play{
173
- display: block !important;
174
- position: absolute;
175
- z-index: 1;
176
-
177
- color: #fff;
178
- color: rgba(255,255,255,0.9);
179
- font-style: normal !important;
180
- text-shadow: 0 0 8px rgba(0,0,0,0.8);
181
- }
182
- #sb_instagram .sbi_type_video .sbi_playbtn,
183
- #sb_instagram .sbi_type_carousel .sbi_playbtn {
184
- z-index: 2;
185
- top: 50%;
186
- left: 50%;
187
- margin-top: -24px;
188
- margin-left: -19px;
189
- padding: 0;
190
- font-size: 48px;
191
- }
192
- #sb_instagram .sbi_type_carousel .fa-clone{
193
- right: 12px;
194
- top: 12px;
195
- font-size: 24px;
196
- text-shadow: 0 0 8px rgba(0,0,0,0.3);
197
- }
198
- .sbi_type_carousel svg.fa-clone,
199
- #sb_instagram .sbi_type_video .svg-inline--fa.fa-play,
200
- #sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play{
201
- -webkit-filter: drop-shadow( 0px 0px 2px rgba(0,0,0,.4) );
202
- filter: drop-shadow( 0px 0px 2px rgba(0,0,0,.4) );
203
- }
204
-
205
- /* Loader */
206
- #sb_instagram .sbi_loader{
207
- width: 20px;
208
- height: 20px;
209
-
210
- position: relative;
211
- top: 50%;
212
- left: 50%;
213
- margin: -10px 0 0 -10px;
214
- background-color: #000;
215
- background-color: rgba(0,0,0,0.5);
216
-
217
- border-radius: 100%;
218
- -webkit-animation: sbi-sk-scaleout 1.0s infinite ease-in-out;
219
- animation: sbi-sk-scaleout 1.0s infinite ease-in-out;
220
- }
221
- #sb_instagram br {
222
- display: none;
223
- }
224
- #sbi_load p {
225
- display: inline;
226
- padding: 0;
227
- margin: 0;
228
- }
229
- /* Loader in button */
230
- #sb_instagram #sbi_load .sbi_loader{
231
- position: absolute;
232
- margin-top: -11px;
233
- background-color: #fff;
234
- opacity: 1;
235
- }
236
- @-webkit-keyframes sbi-sk-scaleout {
237
- 0% { -webkit-transform: scale(0) }
238
- 100% {
239
- -webkit-transform: scale(1.0);
240
- opacity: 0;
241
- }
242
- }
243
- @keyframes sbi-sk-scaleout {
244
- 0% {
245
- -webkit-transform: scale(0);
246
- -ms-transform: scale(0);
247
- transform: scale(0);
248
- } 100% {
249
- -webkit-transform: scale(1.0);
250
- -ms-transform: scale(1.0);
251
- transform: scale(1.0);
252
- opacity: 0;
253
- }
254
- }
255
-
256
- #sb_instagram .fa-spin,
257
- #sbi_lightbox .fa-spin{
258
- -webkit-animation: fa-spin 2s infinite linear;
259
- animation: fa-spin 2s infinite linear
260
- }
261
-
262
- #sb_instagram .fa-pulse,
263
- #sbi_lightbox .fa-pulse{
264
- -webkit-animation: fa-spin 1s infinite steps(8);
265
- animation: fa-spin 1s infinite steps(8)
266
- }
267
-
268
- @-webkit-keyframes fa-spin {
269
- 0% {
270
- -webkit-transform: rotate(0deg);
271
- transform: rotate(0deg)
272
- }
273
- 100% {
274
- -webkit-transform: rotate(359deg);
275
- transform: rotate(359deg)
276
- }
277
- }
278
-
279
- @keyframes fa-spin {
280
- 0% {
281
- -webkit-transform: rotate(0deg);
282
- transform: rotate(0deg)
283
- }
284
- 100% {
285
- -webkit-transform: rotate(359deg);
286
- transform: rotate(359deg)
287
- }
288
- }
289
- /* Screen reader */
290
- .sbi-screenreader{text-indent: -9999px !important;display: block !important;width: 0 !important;height: 0 !important;line-height: 0 !important;}
291
-
292
- /* HEADER */
293
- #sb_instagram .sb_instagram_header{
294
- float: left;
295
- clear: both;
296
- margin: 0 0 15px 0;
297
- padding: 0;
298
- line-height: 1.2;
299
- width: 100%;
300
- }
301
- #sb_instagram .sb_instagram_header a{
302
- float: left;
303
- display: block;
304
- /*width: 100%;*/
305
- min-width: 100%\9;
306
- text-decoration: none;
307
- transition: color 0.5s ease;
308
- }
309
- /** Medium Header */
310
- /* Only use medium & large headers on devices above 480px */
311
- @media all and (min-width: 480px){
312
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img {
313
- width: 80px;
314
- height: 80px;
315
- border-radius: 40px;
316
- }
317
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img img {
318
- width: 80px;
319
- height: 80px;
320
- border-radius: 40px;
321
- }
322
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3 {
323
- font-size: 20px;
324
- }
325
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,
326
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio{
327
- font-size: 14px;
328
- }
329
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3,
330
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,
331
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio{
332
- margin-left: 95px !important;
333
- line-height: 1.4
334
- }
335
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{
336
- margin-right: -85px !important;
337
- }
338
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{
339
- margin-top: 4px !important;
340
- }
341
- #sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3{
342
- padding-top: 20px !important;
343
- }
344
- /** Large Header */
345
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_img {
346
- width: 120px;
347
- height: 120px;
348
- border-radius: 60px;
349
- }
350
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_img img {
351
- width: 120px;
352
- height: 120px;
353
- border-radius: 60px;
354
- }
355
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3 {
356
- font-size: 28px;
357
- }
358
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,
359
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio{
360
- font-size: 16px;
361
- }
362
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3,
363
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,
364
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio{
365
- margin-left: 140px !important;
366
- line-height: 1.5;
367
- }
368
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{
369
- margin-right: -120px !important;
370
- }
371
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{
372
- margin-top: 12px !important;
373
- }
374
- #sb_instagram .sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3{
375
- padding-top: 32px !important;
376
- }
377
- }
378
-
379
- /* Header profile pic */
380
- #sb_instagram .sb_instagram_header .sbi_header_img{
381
- float: left;
382
- position: relative;
383
- width: 50px;
384
- margin: 0 0 0 -100% !important;
385
- overflow: hidden;
386
-
387
- -moz-border-radius: 40px;
388
- -webkit-border-radius: 40px;
389
- border-radius: 40px;
390
- }
391
- #sb_instagram .sb_instagram_header .sbi_header_img img{
392
- float: left;
393
- margin: 0 !important;
394
- padding: 0 !important;
395
- border: none !important;
396
-
397
- -moz-border-radius: 40px;
398
- -webkit-border-radius: 40px;
399
- border-radius: 40px;
400
- }
401
- /* Profile pic hover */
402
- /* Profile pic hover */
403
- #sb_instagram .sb_instagram_header .sbi_header_img_hover{
404
- opacity: 0;
405
- position: absolute;
406
- width: 100%;
407
- top: 0;
408
- bottom: 0;
409
- left: 0;
410
- text-align: center;
411
- color: #fff;
412
- background: rgba(0,0,0,0.75);
413
- }
414
-
415
- #sb_instagram .sb_instagram_header .sbi_header_img_hover .sbi_new_logo{
416
- position: absolute;
417
- top: 50%;
418
- left: 50%;
419
- margin-top: -12px;
420
- margin-left: -12px;
421
- width: 24px;
422
- height: 24px;
423
- font-size: 24px;
424
- }
425
- #sb_instagram .sb_instagram_header .sbi_header_img_hover i {
426
- overflow: hidden;
427
- background: url('../img/small-logo.png') no-repeat 0 0;
428
- }
429
- #sb_instagram .sb_instagram_header .sbi_header_img_hover{
430
- z-index: 2;
431
- transition: opacity 0.4s ease-in-out;
432
- }
433
- #sb_instagram .sb_instagram_header .sbi_fade_in{
434
- opacity: 1;
435
- transition: opacity 0.2s ease-in-out;
436
- }
437
- #sb_instagram .sb_instagram_header .sbi_header_img_hover{
438
- position: absolute;
439
- width: 100%;
440
- top: 0;
441
- bottom: 0;
442
- left: 0;
443
- text-align: center;
444
- color: #fff;
445
- background: rgba(0,0,0,0.75);
446
-
447
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
448
- filter: alpha(opacity=0);
449
- -moz-opacity: 0;
450
- -khtml-opacity: 0;
451
- opacity: 0;
452
- border-radius: 40px;
453
- transition: opacity 0.2s;
454
- }
455
- /* Fade the Instagram icon in when hovering on the header */
456
- #sb_instagram .sb_instagram_header a:hover .sbi_header_img_hover,
457
- #sb_instagram .sb_instagram_header a:focus .sbi_header_img_hover{
458
- opacity: 1;
459
- }
460
- /* Header text */
461
- #sb_instagram .sb_instagram_header .sbi_header_text{
462
- float: left;
463
- width: 100%;
464
- padding-top: 5px;
465
- }
466
- #sb_instagram .sb_instagram_header a{
467
- text-decoration: none;
468
- }
469
- #sb_instagram .sb_instagram_header .sbi_header_text .sbi_bio,
470
- #sb_instagram .sb_instagram_header .sbi_header_text h3{
471
- float: left;
472
- clear: both;
473
- width: auto;
474
- margin: 0 0 0 60px !important;
475
- padding: 0 !important;
476
- }
477
- #sb_instagram .sb_instagram_header h3{
478
- font-size: 16px;
479
- line-height: 1.3;
480
- }
481
- #sb_instagram .sb_instagram_header p{
482
- font-size: 13px;
483
- line-height: 1.3;
484
- margin: 0;
485
- padding: 0;
486
- }
487
- #sb_instagram p:empty { display: none; }
488
- #sb_instagram .sb_instagram_header .sbi_header_text img.emoji{
489
- margin-right: 3px !important;
490
- }
491
-
492
- /* No bio */
493
- #sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3{
494
- padding-top: 9px !important;
495
- }
496
- #sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info{
497
- clear: both;
498
- }
499
-
500
-
501
- /* Buttons */
502
- #sb_instagram #sbi_load{
503
- float: left;
504
- clear: both;
505
- width: 100%;
506
- text-align: center;
507
- }
508
- #sb_instagram #sbi_load .fa-spinner{
509
- display: none;
510
- position: absolute;
511
- top: 50%;
512
- left: 50%;
513
- margin: -8px 0 0 -7px;
514
- font-size: 15px;
515
- }
516
- #sb_instagram #sbi_load{
517
- opacity: 1;
518
- transition: all 0.5s ease-in;
519
- }
520
- #sb_instagram .sbi_load_btn .sbi_btn_text, #sb_instagram .sbi_load_btn .sbi_loader{
521
- opacity: 1;
522
- transition: all 0.1s ease-in;
523
- }
524
- #sb_instagram .sbi_hidden{
525
- opacity: 0 !important;
526
- }
527
- #sb_instagram #sbi_load .sbi_load_btn,
528
- #sb_instagram .sbi_follow_btn a{
529
- display: -moz-inline-stack;
530
- display: inline-block;
531
- vertical-align: top;
532
- zoom: 1;
533
- *display: inline;
534
-
535
- padding: 7px 14px;
536
- margin: 5px auto 0 auto;
537
- background: #333;
538
- color: #eee;
539
- border: none;
540
- color: #fff;
541
- text-decoration: none;
542
- font-size: 13px;
543
- line-height: 1.5;
544
-
545
- -moz-border-radius: 4px;
546
- -webkit-border-radius: 4px;
547
- border-radius: 4px;
548
-
549
- -webkit-box-sizing: border-box;
550
- -moz-box-sizing: border-box;
551
- box-sizing: border-box;
552
- }
553
- #sb_instagram #sbi_load .sbi_load_btn {
554
- position: relative;
555
- }
556
- /* Follow button */
557
- #sb_instagram .sbi_follow_btn{
558
- display: -moz-inline-stack;
559
- display: inline-block;
560
- vertical-align: top;
561
- zoom: 1;
562
- *display: inline;
563
- text-align: center;
564
- }
565
- #sb_instagram .sbi_follow_btn.sbi_top{
566
- display: block;
567
- margin-bottom: 5px;
568
- }
569
- #sb_instagram .sbi_follow_btn a{
570
- background: #408bd1;
571
- color: #fff;
572
- }
573
- #sb_instagram .sbi_follow_btn a,
574
- #sb_instagram .sbi_follow_btn a,
575
- #sb_instagram #sbi_load .sbi_load_btn{
576
- transition: all 0.1s ease-in;
577
- }
578
- /* Hover state for default colors */
579
- #sb_instagram #sbi_load .sbi_load_btn:hover{
580
- outline: none;
581
- box-shadow: inset 0 0 20px 20px rgba(255,255,255,0.25);
582
- }
583
- #sb_instagram .sbi_follow_btn a:hover,
584
- #sb_instagram .sbi_follow_btn a:focus{
585
- outline: none;
586
- box-shadow: inset 0 0 10px 20px #359dff;
587
- }
588
- /* If a custom color is applied then just use opacity for the hover effect */
589
- #sb_instagram .sbi_follow_btn.sbi_custom a:hover,
590
- #sb_instagram .sbi_follow_btn.sbi_custom a:focus,
591
- #sb_instagram #sbi_load .sbi_load_btn.sbi_custom:hover{
592
- box-shadow: inset 0 0 20px 20px rgba(255,255,255,0.15);
593
- }
594
- /* Active state */
595
- #sb_instagram .sbi_follow_btn a:active,
596
- #sb_instagram #sbi_load .sbi_load_btn:active{
597
- box-shadow: inset 0 0 10px 20px rgba(0,0,0,0.3);
598
- }
599
-
600
- #sb_instagram .sbi_follow_btn .fa,
601
- #sb_instagram .sbi_follow_btn svg{
602
- margin-bottom: -1px;
603
- margin-right: 7px;
604
- font-size: 15px;
605
- }
606
- #sb_instagram .sbi_follow_btn svg{
607
- vertical-align: -.125em;
608
- }
609
- #sb_instagram #sbi_load .sbi_follow_btn{
610
- margin-left: 5px;
611
- }
612
-
613
- /* Error messages */
614
- #sb_instagram .sb_instagram_error{
615
- width: 100%;
616
- text-align: center;
617
- line-height: 1.4;
618
- }
619
-
620
- /* Mod only error msgs */
621
- #sbi_mod_error{
622
- display: none;
623
- border: 1px solid #ddd;
624
- background: #eee;
625
- color: #333;
626
- margin: 10px 0 0;
627
- padding: 10px 15px;
628
- font-size: 13px;
629
- text-align: center;
630
- clear: both;
631
-
632
- -moz-border-radius: 4px;
633
- -webkit-border-radius: 4px;
634
- border-radius: 4px;
635
- }
636
- #sbi_mod_error p{
637
- padding: 5px 0 !important;
638
- margin: 0 !important;
639
- line-height: 1.3 !important;
640
- }
641
- #sbi_mod_error ol,
642
- #sbi_mod_error ul{
643
- padding: 5px 0 5px 20px !important;
644
- margin: 0 !important;
645
- }
646
- #sbi_mod_error li{
647
- padding: 1px 0 !important;
648
- margin: 0 !important;
649
- }
650
- #sbi_mod_error span{
651
- font-size: 12px;
652
- }
653
-
654
- /* Medium */
655
- #sb_instagram.sbi_medium .sbi_playbtn,
656
- #sb_instagram.sbi_medium .sbi_photo_wrap .svg-inline--fa.fa-play{
657
- margin-top: -12px;
658
- margin-left: -9px;
659
- font-size: 23px;
660
- }
661
- #sb_instagram.sbi_medium .sbi_type_carousel .sbi_photo_wrap .fa-clone{
662
- right: 8px;
663
- top: 8px;
664
- font-size: 18px;
665
- }
666
- /* Small */
667
- #sb_instagram.sbi_small .sbi_playbtn,
668
- #sb_instagram.sbi_small .sbi_photo_wrap .svg-inline--fa.fa-play{
669
- margin-top: -9px;
670
- margin-left: -7px;
671
- font-size: 18px;
672
- }
673
- #sb_instagram.sbi_small .sbi_type_carousel .sbi_photo_wrap .fa-clone{
674
- right: 5px;
675
- top: 5px;
676
- font-size: 12px;
677
- }
678
-
679
- /* Media queries */
680
- @media all and (max-width: 640px){
681
- /* Make 3-6 cols into 2 col */
682
- #sb_instagram.sbi_col_3 #sbi_images .sbi_item,
683
- #sb_instagram.sbi_col_4 #sbi_images .sbi_item,
684
- #sb_instagram.sbi_col_5 #sbi_images .sbi_item,
685
- #sb_instagram.sbi_col_6 #sbi_images .sbi_item{
686
- width: 50%;
687
- }
688
- /* Make 7-10 cols into 4 col */
689
- #sb_instagram.sbi_col_7 #sbi_images .sbi_item,
690
- #sb_instagram.sbi_col_8 #sbi_images .sbi_item,
691
- #sb_instagram.sbi_col_9 #sbi_images .sbi_item,
692
- #sb_instagram.sbi_col_10 #sbi_images .sbi_item{
693
- width: 25%;
694
- }
695
- /* On mobile make the min-width 100% */
696
- #sb_instagram.sbi_width_resp{
697
- width: 100% !important;
698
- }
699
- }
700
- @media all and (max-width: 480px){
701
- /* Make all cols into 1 col */
702
- #sb_instagram.sbi_col_3 #sbi_images .sbi_item,
703
- #sb_instagram.sbi_col_4 #sbi_images .sbi_item,
704
- #sb_instagram.sbi_col_5 #sbi_images .sbi_item,
705
- #sb_instagram.sbi_col_6 #sbi_images .sbi_item,
706
- #sb_instagram.sbi_col_7 #sbi_images .sbi_item,
707
- #sb_instagram.sbi_col_8 #sbi_images .sbi_item,
708
- #sb_instagram.sbi_col_9 #sbi_images .sbi_item,
709
- #sb_instagram.sbi_col_10 #sbi_images .sbi_item{
710
- width: 100%;
711
- }
712
- }
713
-
714
- /* NO JS */
715
- #sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap{
716
- box-sizing: border-box;
717
- position: relative;
718
- overflow: hidden;
719
- }
720
- #sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap:before {
721
- content: "";
722
- display: block;
723
- padding-top: 100%;
724
- z-index: -300;
725
- }
726
- #sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo {
727
- position: absolute;
728
- top: 0;
729
- left: 0;
730
- bottom: 0;
731
- right: 0;
732
- }
733
- #sb_instagram.sbi_no_js #sbi_images .sbi_item.sbi_transition {
734
- opacity: 1;
735
- max-height: 640px;
736
- }
737
- #sb_instagram.sbi_no_js .sbi_photo img,
738
- #sb_instagram.sbi_no_js .sbi_load_btn{
739
- display: none;
740
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/sb-instagram-2-0-2.min.css DELETED
@@ -1 +0,0 @@
1
- #sb_instagram{width:100%;margin:0 auto;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram:after{content:"";display:table;clear:both}#sb_instagram.sbi_fixed_height{overflow:hidden;overflow-y:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_images{width:100%;float:left;line-height:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_images .sbi_item{display:-moz-inline-stack;display:inline-block;float:left;vertical-align:top;zoom:1;*display:inline;max-height:1000px;padding:inherit!important;margin:0!important;text-decoration:none;opacity:1;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;-o-transition:all 0.5s ease;-ms-transition:all 0.5s ease;transition:all 0.5s ease}#sb_instagram #sbi_images .sbi_item.sbi_transition{opacity:0;max-height:0}#sb_instagram.sbi_col_1 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item{width:10%}#sb_instagram.sbi_col_1.sbi_disable_mobile #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2.sbi_disable_mobile #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3.sbi_disable_mobile #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5.sbi_disable_mobile #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6.sbi_disable_mobile #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7.sbi_disable_mobile #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8.sbi_disable_mobile #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9.sbi_disable_mobile #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10.sbi_disable_mobile #sbi_images .sbi_item{width:10%}#sb_instagram .sbi_photo_wrap{position:relative}#sb_instagram .sbi_photo{display:block;text-decoration:none}#sb_instagram .sbi_photo img{width:100%;height:auto}#sb_instagram .sbi_no_js img{display:none}#sb_instagram a,#sb_instagram a:hover,#sb_instagram a:focus,#sb_instagram a:active{outline:none}#sb_instagram img{display:block;padding:0!important;margin:0!important;max-width:100%!important;opacity:1!important}#sb_instagram .sbi_link{display:none;position:absolute;bottom:0;right:0;width:100%;padding:10px 0;background:rgba(0,0,0,.5);text-align:center;color:#fff;font-size:12px;line-height:1.1}#sb_instagram .sbi_link a{padding:0 6px;text-decoration:none;color:#fff;font-size:12px;line-height:1.1;display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;*display:inline}#sb_instagram .sbi_link .sbi_lightbox_link{padding-bottom:5px}#sb_instagram .sbi_link a:hover,#sb_instagram .sbi_link a:focus{text-decoration:underline}#sb_instagram .sbi_photo_wrap:hover .sbi_link,#sb_instagram .sbi_photo_wrap:focus .sbi_link{display:block}#sb_instagram svg:not(:root).svg-inline--fa{height:1em}#sb_instagram .sbi_type_video .sbi_playbtn,#sb_instagram .sbi_type_carousel .sbi_playbtn,.sbi_type_carousel .fa-clone,#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play{display:block!important;position:absolute;z-index:1;color:#fff;color:rgba(255,255,255,.9);font-style:normal!important;text-shadow:0 0 8px rgba(0,0,0,.8)}#sb_instagram .sbi_type_video .sbi_playbtn,#sb_instagram .sbi_type_carousel .sbi_playbtn{z-index:2;top:50%;left:50%;margin-top:-24px;margin-left:-19px;padding:0;font-size:48px}#sb_instagram .sbi_type_carousel .fa-clone{right:12px;top:12px;font-size:24px;text-shadow:0 0 8px rgba(0,0,0,.3)}.sbi_type_carousel svg.fa-clone,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play{-webkit-filter:drop-shadow(0 0 2px rgba(0,0,0,.4));filter:drop-shadow(0 0 2px rgba(0,0,0,.4))}#sb_instagram .sbi_loader{width:20px;height:20px;position:relative;top:50%;left:50%;margin:-10px 0 0 -10px;background-color:#000;background-color:rgba(0,0,0,.5);border-radius:100%;-webkit-animation:sbi-sk-scaleout 1.0s infinite ease-in-out;animation:sbi-sk-scaleout 1.0s infinite ease-in-out}#sb_instagram br{display:none}#sbi_load p{display:inline;padding:0;margin:0}#sb_instagram #sbi_load .sbi_loader{position:absolute;margin-top:-11px;background-color:#fff;opacity:1}@-webkit-keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0)}100%{-webkit-transform:scale(1);opacity:0}}@keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:0}}#sb_instagram .fa-spin,#sbi_lightbox .fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}#sb_instagram .fa-pulse,#sbi_lightbox .fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.sbi-screenreader{text-indent:-9999px!important;display:block!important;width:0!important;height:0!important;line-height:0!important}#sb_instagram .sb_instagram_header{float:left;clear:both;margin:0 0 15px 0;padding:0;line-height:1.2;width:100%}#sb_instagram .sb_instagram_header a{float:left;display:block;min-width:100%\9;text-decoration:none;transition:color 0.5s ease}@media all and (min-width:480px){#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{font-size:20px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio{font-size:14px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio{margin-left:95px!important;line-height:1.4}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{margin-right:-85px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{margin-top:4px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3{padding-top:20px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{font-size:28px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio{font-size:16px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio{margin-left:140px!important;line-height:1.5}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{margin-right:-120px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{margin-top:12px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3{padding-top:32px!important}}#sb_instagram .sb_instagram_header .sbi_header_img{float:left;position:relative;width:50px;margin:0 0 0 -100%!important;overflow:hidden;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img img{float:left;margin:0!important;padding:0!important;border:none!important;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img_hover{opacity:0;position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75)}#sb_instagram .sb_instagram_header .sbi_header_img_hover .sbi_new_logo{position:absolute;top:50%;left:50%;margin-top:-12px;margin-left:-12px;width:24px;height:24px;font-size:24px}#sb_instagram .sb_instagram_header .sbi_header_img_hover i{overflow:hidden;background:url(../img/small-logo.png) no-repeat 0 0}#sb_instagram .sb_instagram_header .sbi_header_img_hover{z-index:2;transition:opacity 0.4s ease-in-out}#sb_instagram .sb_instagram_header .sbi_fade_in{opacity:1;transition:opacity 0.2s ease-in-out}#sb_instagram .sb_instagram_header .sbi_header_img_hover{position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0;border-radius:40px;transition:opacity 0.2s}#sb_instagram .sb_instagram_header a:hover .sbi_header_img_hover,#sb_instagram .sb_instagram_header a:focus .sbi_header_img_hover{opacity:1}#sb_instagram .sb_instagram_header .sbi_header_text{float:left;width:100%;padding-top:5px}#sb_instagram .sb_instagram_header a{text-decoration:none}#sb_instagram .sb_instagram_header .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header .sbi_header_text h3{float:left;clear:both;width:auto;margin:0 0 0 60px!important;padding:0!important}#sb_instagram .sb_instagram_header h3{font-size:16px;line-height:1.3}#sb_instagram .sb_instagram_header p{font-size:13px;line-height:1.3;margin:0;padding:0}#sb_instagram p:empty{display:none}#sb_instagram .sb_instagram_header .sbi_header_text img.emoji{margin-right:3px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3{padding-top:9px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info{clear:both}#sb_instagram #sbi_load{float:left;clear:both;width:100%;text-align:center}#sb_instagram #sbi_load .fa-spinner{display:none;position:absolute;top:50%;left:50%;margin:-8px 0 0 -7px;font-size:15px}#sb_instagram #sbi_load{opacity:1;transition:all 0.5s ease-in}#sb_instagram .sbi_load_btn .sbi_btn_text,#sb_instagram .sbi_load_btn .sbi_loader{opacity:1;transition:all 0.1s ease-in}#sb_instagram .sbi_hidden{opacity:0!important}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;*display:inline;padding:7px 14px;margin:5px auto 0 auto;background:#333;color:#eee;border:none;color:#fff;text-decoration:none;font-size:13px;line-height:1.5;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_load .sbi_load_btn{position:relative}#sb_instagram .sbi_follow_btn{display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;*display:inline;text-align:center}#sb_instagram .sbi_follow_btn.sbi_top{display:block;margin-bottom:5px}#sb_instagram .sbi_follow_btn a{background:#408bd1;color:#fff}#sb_instagram .sbi_follow_btn a,#sb_instagram .sbi_follow_btn a,#sb_instagram #sbi_load .sbi_load_btn{transition:all 0.1s ease-in}#sb_instagram #sbi_load .sbi_load_btn:hover{outline:none;box-shadow:inset 0 0 20px 20px rgba(255,255,255,.25)}#sb_instagram .sbi_follow_btn a:hover,#sb_instagram .sbi_follow_btn a:focus{outline:none;box-shadow:inset 0 0 10px 20px #359dff}#sb_instagram .sbi_follow_btn.sbi_custom a:hover,#sb_instagram .sbi_follow_btn.sbi_custom a:focus,#sb_instagram #sbi_load .sbi_load_btn.sbi_custom:hover{box-shadow:inset 0 0 20px 20px rgba(255,255,255,.15)}#sb_instagram .sbi_follow_btn a:active,#sb_instagram #sbi_load .sbi_load_btn:active{box-shadow:inset 0 0 10px 20px rgba(0,0,0,.3)}#sb_instagram .sbi_follow_btn .fa,#sb_instagram .sbi_follow_btn svg{margin-bottom:-1px;margin-right:7px;font-size:15px}#sb_instagram .sbi_follow_btn svg{vertical-align:-.125em}#sb_instagram #sbi_load .sbi_follow_btn{margin-left:5px}#sb_instagram .sb_instagram_error{width:100%;text-align:center;line-height:1.4}#sbi_mod_error{display:none;border:1px solid #ddd;background:#eee;color:#333;margin:10px 0 0;padding:10px 15px;font-size:13px;text-align:center;clear:both;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}#sbi_mod_error p{padding:5px 0!important;margin:0!important;line-height:1.3!important}#sbi_mod_error ol,#sbi_mod_error ul{padding:5px 0 5px 20px!important;margin:0!important}#sbi_mod_error li{padding:1px 0!important;margin:0!important}#sbi_mod_error span{font-size:12px}#sb_instagram.sbi_medium .sbi_playbtn,#sb_instagram.sbi_medium .sbi_photo_wrap .svg-inline--fa.fa-play{margin-top:-12px;margin-left:-9px;font-size:23px}#sb_instagram.sbi_medium .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:8px;top:8px;font-size:18px}#sb_instagram.sbi_small .sbi_playbtn,#sb_instagram.sbi_small .sbi_photo_wrap .svg-inline--fa.fa-play{margin-top:-9px;margin-left:-7px;font-size:18px}#sb_instagram.sbi_small .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:5px;top:5px;font-size:12px}@media all and (max-width:640px){#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item,#sb_instagram.sbi_col_10 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_width_resp{width:100%!important}}@media all and (max-width:480px){#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item,#sb_instagram.sbi_col_10 #sbi_images .sbi_item{width:100%}}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap{box-sizing:border-box;position:relative;overflow:hidden}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap:before{content:"";display:block;padding-top:100%;z-index:-300}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo{position:absolute;top:0;left:0;bottom:0;right:0}#sb_instagram.sbi_no_js #sbi_images .sbi_item.sbi_transition{opacity:1;max-height:640px}#sb_instagram.sbi_no_js .sbi_photo img,#sb_instagram.sbi_no_js .sbi_load_btn{display:none}
 
css/sb-instagram-2-1.css CHANGED
@@ -163,6 +163,7 @@
163
  /* Videos */
164
  #sb_instagram svg:not(:root).svg-inline--fa {
165
  height: 1em;
 
166
  }
167
 
168
  #sb_instagram .sbi_type_video .sbi_playbtn,
163
  /* Videos */
164
  #sb_instagram svg:not(:root).svg-inline--fa {
165
  height: 1em;
166
+ display: inline-block;
167
  }
168
 
169
  #sb_instagram .sbi_type_video .sbi_playbtn,
css/sb-instagram-2-1.min.css CHANGED
@@ -1 +1 @@
1
- #sb_instagram{width:100%;margin:0 auto;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram:after{content:"";display:table;clear:both}#sb_instagram.sbi_fixed_height{overflow:hidden;overflow-y:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_images{width:100%;float:left;line-height:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_images .sbi_item{display:-moz-inline-stack;display:inline-block;float:left;vertical-align:top;zoom:1;max-height:1000px;padding:inherit!important;margin:0!important;text-decoration:none;opacity:1;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;-ms-transition:all .5s ease;transition:all .5s ease}#sb_instagram #sbi_images .sbi_item.sbi_transition{opacity:0;max-height:0}#sb_instagram.sbi_col_1 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item{width:10%}#sb_instagram.sbi_col_1.sbi_disable_mobile #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2.sbi_disable_mobile #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3.sbi_disable_mobile #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5.sbi_disable_mobile #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6.sbi_disable_mobile #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7.sbi_disable_mobile #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8.sbi_disable_mobile #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9.sbi_disable_mobile #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10.sbi_disable_mobile #sbi_images .sbi_item{width:10%}#sb_instagram .sbi_photo_wrap{position:relative}#sb_instagram .sbi_photo{display:block;text-decoration:none}#sb_instagram .sbi_photo img{width:100%;height:auto}#sb_instagram .sbi_no_js img{display:none}#sb_instagram a,#sb_instagram a:active,#sb_instagram a:focus,#sb_instagram a:hover{outline:0}#sb_instagram img{display:block;padding:0!important;margin:0!important;max-width:100%!important;opacity:1!important}#sb_instagram .sbi_link{display:none;position:absolute;bottom:0;right:0;width:100%;padding:10px 0;background:rgba(0,0,0,.5);text-align:center;color:#fff;font-size:12px;line-height:1.1}#sb_instagram .sbi_link a{padding:0 6px;text-decoration:none;color:#fff;font-size:12px;line-height:1.1;display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1}#sb_instagram .sbi_link .sbi_lightbox_link{padding-bottom:5px}#sb_instagram .sbi_link a:focus,#sb_instagram .sbi_link a:hover{text-decoration:underline}#sb_instagram .sbi_photo_wrap:focus .sbi_link,#sb_instagram .sbi_photo_wrap:hover .sbi_link{display:block}#sb_instagram svg:not(:root).svg-inline--fa{height:1em}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .sbi_playbtn,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel .fa-clone{display:block!important;position:absolute;z-index:1;color:#fff;color:rgba(255,255,255,.9);font-style:normal!important;text-shadow:0 0 8px rgba(0,0,0,.8)}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_video .sbi_playbtn{z-index:2;top:50%;left:50%;margin-top:-24px;margin-left:-19px;padding:0;font-size:48px}#sb_instagram .sbi_type_carousel .fa-clone{right:12px;top:12px;font-size:24px;text-shadow:0 0 8px rgba(0,0,0,.3)}#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel svg.fa-clone{-webkit-filter:drop-shadow( 0 0 2px rgba(0,0,0,.4) );filter:drop-shadow( 0 0 2px rgba(0,0,0,.4) )}#sb_instagram .sbi_loader{width:20px;height:20px;position:relative;top:50%;left:50%;margin:-10px 0 0 -10px;background-color:#000;background-color:rgba(0,0,0,.5);border-radius:100%;-webkit-animation:sbi-sk-scaleout 1s infinite ease-in-out;animation:sbi-sk-scaleout 1s infinite ease-in-out}#sb_instagram br{display:none}#sbi_load p{display:inline;padding:0;margin:0}#sb_instagram #sbi_load .sbi_loader{position:absolute;margin-top:-11px;background-color:#fff;opacity:1}@-webkit-keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0)}100%{-webkit-transform:scale(1);opacity:0}}@keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:0}}#sb_instagram .fa-spin,#sbi_lightbox .fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}#sb_instagram .fa-pulse,#sbi_lightbox .fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.sbi-screenreader{text-indent:-9999px!important;display:block!important;width:0!important;height:0!important;line-height:0!important}#sb_instagram .sb_instagram_header{float:left;clear:both;margin:0 0 15px 0;padding:0;line-height:1.2;width:100%}#sb_instagram .sb_instagram_header a{float:left;display:block;text-decoration:none;transition:color .5s ease}@media all and (min-width:480px){#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{font-size:20px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{font-size:14px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{margin-left:95px!important;line-height:1.4}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{margin-right:-85px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{margin-top:4px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3{padding-top:20px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{font-size:28px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{font-size:16px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{margin-left:140px!important;line-height:1.5}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{margin-right:-120px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{margin-top:12px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3{padding-top:32px!important}}#sb_instagram .sb_instagram_header .sbi_header_img{float:left;position:relative;width:50px;margin:0 0 0 -100%!important;overflow:hidden;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img img{float:left;margin:0!important;padding:0!important;border:none!important;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img_hover{opacity:0;position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75)}#sb_instagram .sb_instagram_header .sbi_header_img_hover .sbi_new_logo{position:absolute;top:50%;left:50%;margin-top:-12px;margin-left:-12px;width:24px;height:24px;font-size:24px}#sb_instagram .sb_instagram_header .sbi_header_img_hover i{overflow:hidden;background:url(../img/small-logo.png) no-repeat 0 0}#sb_instagram .sb_instagram_header .sbi_header_img_hover{z-index:2;transition:opacity .4s ease-in-out}#sb_instagram .sb_instagram_header .sbi_fade_in{opacity:1;transition:opacity .2s ease-in-out}#sb_instagram .sb_instagram_header .sbi_header_img_hover{position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75);-moz-opacity:0;-khtml-opacity:0;opacity:0;border-radius:40px;transition:opacity .2s}#sb_instagram .sb_instagram_header a:focus .sbi_header_img_hover,#sb_instagram .sb_instagram_header a:hover .sbi_header_img_hover{opacity:1}#sb_instagram .sb_instagram_header .sbi_header_text{float:left;width:100%;padding-top:5px}#sb_instagram .sb_instagram_header a{text-decoration:none}#sb_instagram .sb_instagram_header .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header .sbi_header_text h3{float:left;clear:both;width:auto;margin:0 0 0 60px!important;padding:0!important}#sb_instagram .sb_instagram_header h3{font-size:16px;line-height:1.3}#sb_instagram .sb_instagram_header p{font-size:13px;line-height:1.3;margin:0;padding:0}#sb_instagram p:empty{display:none}#sb_instagram .sb_instagram_header .sbi_header_text img.emoji{margin-right:3px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3{padding-top:9px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info{clear:both}#sb_instagram #sbi_load{float:left;clear:both;width:100%;text-align:center}#sb_instagram #sbi_load .fa-spinner{display:none;position:absolute;top:50%;left:50%;margin:-8px 0 0 -7px;font-size:15px}#sb_instagram #sbi_load{opacity:1;transition:all .5s ease-in}#sb_instagram .sbi_load_btn .sbi_btn_text,#sb_instagram .sbi_load_btn .sbi_loader{opacity:1;transition:all .1s ease-in}#sb_instagram .sbi_hidden{opacity:0!important}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;padding:7px 14px;margin:5px auto 0 auto;background:#333;color:#eee;border:none;color:#fff;text-decoration:none;font-size:13px;line-height:1.5;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_load .sbi_load_btn{position:relative}#sb_instagram .sbi_follow_btn{display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;text-align:center}#sb_instagram .sbi_follow_btn.sbi_top{display:block;margin-bottom:5px}#sb_instagram .sbi_follow_btn a{background:#408bd1;color:#fff}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{transition:all .1s ease-in}#sb_instagram #sbi_load .sbi_load_btn:hover{outline:0;box-shadow:inset 0 0 20px 20px rgba(255,255,255,.25)}#sb_instagram .sbi_follow_btn a:focus,#sb_instagram .sbi_follow_btn a:hover{outline:0;box-shadow:inset 0 0 10px 20px #359dff}#sb_instagram #sbi_load .sbi_load_btn.sbi_custom:hover,#sb_instagram .sbi_follow_btn.sbi_custom a:focus,#sb_instagram .sbi_follow_btn.sbi_custom a:hover{box-shadow:inset 0 0 20px 20px rgba(255,255,255,.15)}#sb_instagram #sbi_load .sbi_load_btn:active,#sb_instagram .sbi_follow_btn a:active{box-shadow:inset 0 0 10px 20px rgba(0,0,0,.3)}#sb_instagram .sbi_follow_btn .fa,#sb_instagram .sbi_follow_btn svg{margin-bottom:-1px;margin-right:7px;font-size:15px}#sb_instagram .sbi_follow_btn svg{vertical-align:-.125em}#sb_instagram #sbi_load .sbi_follow_btn{margin-left:5px}#sb_instagram .sb_instagram_error{width:100%;text-align:center;line-height:1.4}#sbi_mod_error{display:none;border:1px solid #ddd;background:#eee;color:#333;margin:10px 0 0;padding:10px 15px;font-size:13px;text-align:center;clear:both;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}#sbi_mod_error p{padding:5px 0!important;margin:0!important;line-height:1.3!important}#sbi_mod_error ol,#sbi_mod_error ul{padding:5px 0 5px 20px!important;margin:0!important}#sbi_mod_error li{padding:1px 0!important;margin:0!important}#sbi_mod_error span{font-size:12px}#sb_instagram.sbi_medium .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_medium .sbi_playbtn{margin-top:-12px;margin-left:-9px;font-size:23px}#sb_instagram.sbi_medium .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:8px;top:8px;font-size:18px}#sb_instagram.sbi_small .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_small .sbi_playbtn{margin-top:-9px;margin-left:-7px;font-size:18px}#sb_instagram.sbi_small .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:5px;top:5px;font-size:12px}@media all and (max-width:640px){#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_width_resp{width:100%!important}}@media all and (max-width:480px){#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:100%}}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap{box-sizing:border-box;position:relative;overflow:hidden}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap:before{content:"";display:block;padding-top:100%;z-index:-300}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo{position:absolute;top:0;left:0;bottom:0;right:0}#sb_instagram.sbi_no_js #sbi_images .sbi_item.sbi_transition{opacity:1;max-height:640px}#sb_instagram.sbi_no_js .sbi_load_btn,#sb_instagram.sbi_no_js .sbi_photo img{display:none}#sb_instagram #sbi_images .sbi_js_load_disabled .sbi_imgLiquid_ready.sbi_photo{padding-bottom:0!important}
1
+ #sb_instagram{width:100%;margin:0 auto;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram:after{content:"";display:table;clear:both}#sb_instagram.sbi_fixed_height{overflow:hidden;overflow-y:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_images{width:100%;float:left;line-height:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_images .sbi_item{display:-moz-inline-stack;display:inline-block;float:left;vertical-align:top;zoom:1;max-height:1000px;padding:inherit!important;margin:0!important;text-decoration:none;opacity:1;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;-ms-transition:all .5s ease;transition:all .5s ease}#sb_instagram #sbi_images .sbi_item.sbi_transition{opacity:0;max-height:0}#sb_instagram.sbi_col_1 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item{width:10%}#sb_instagram.sbi_col_1.sbi_disable_mobile #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2.sbi_disable_mobile #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3.sbi_disable_mobile #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5.sbi_disable_mobile #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6.sbi_disable_mobile #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7.sbi_disable_mobile #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8.sbi_disable_mobile #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9.sbi_disable_mobile #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10.sbi_disable_mobile #sbi_images .sbi_item{width:10%}#sb_instagram .sbi_photo_wrap{position:relative}#sb_instagram .sbi_photo{display:block;text-decoration:none}#sb_instagram .sbi_photo img{width:100%;height:auto}#sb_instagram .sbi_no_js img{display:none}#sb_instagram a,#sb_instagram a:active,#sb_instagram a:focus,#sb_instagram a:hover{outline:0}#sb_instagram img{display:block;padding:0!important;margin:0!important;max-width:100%!important;opacity:1!important}#sb_instagram .sbi_link{display:none;position:absolute;bottom:0;right:0;width:100%;padding:10px 0;background:rgba(0,0,0,.5);text-align:center;color:#fff;font-size:12px;line-height:1.1}#sb_instagram .sbi_link a{padding:0 6px;text-decoration:none;color:#fff;font-size:12px;line-height:1.1;display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1}#sb_instagram .sbi_link .sbi_lightbox_link{padding-bottom:5px}#sb_instagram .sbi_link a:focus,#sb_instagram .sbi_link a:hover{text-decoration:underline}#sb_instagram .sbi_photo_wrap:focus .sbi_link,#sb_instagram .sbi_photo_wrap:hover .sbi_link{display:block}#sb_instagram svg:not(:root).svg-inline--fa{height:1em;display:inline-block}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .sbi_playbtn,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel .fa-clone{display:block!important;position:absolute;z-index:1;color:#fff;color:rgba(255,255,255,.9);font-style:normal!important;text-shadow:0 0 8px rgba(0,0,0,.8)}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_video .sbi_playbtn{z-index:2;top:50%;left:50%;margin-top:-24px;margin-left:-19px;padding:0;font-size:48px}#sb_instagram .sbi_type_carousel .fa-clone{right:12px;top:12px;font-size:24px;text-shadow:0 0 8px rgba(0,0,0,.3)}#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel svg.fa-clone{-webkit-filter:drop-shadow( 0 0 2px rgba(0,0,0,.4) );filter:drop-shadow( 0 0 2px rgba(0,0,0,.4) )}#sb_instagram .sbi_loader{width:20px;height:20px;position:relative;top:50%;left:50%;margin:-10px 0 0 -10px;background-color:#000;background-color:rgba(0,0,0,.5);border-radius:100%;-webkit-animation:sbi-sk-scaleout 1s infinite ease-in-out;animation:sbi-sk-scaleout 1s infinite ease-in-out}#sb_instagram br{display:none}#sbi_load p{display:inline;padding:0;margin:0}#sb_instagram #sbi_load .sbi_loader{position:absolute;margin-top:-11px;background-color:#fff;opacity:1}@-webkit-keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0)}100%{-webkit-transform:scale(1);opacity:0}}@keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:0}}#sb_instagram .fa-spin,#sbi_lightbox .fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}#sb_instagram .fa-pulse,#sbi_lightbox .fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.sbi-screenreader{text-indent:-9999px!important;display:block!important;width:0!important;height:0!important;line-height:0!important}#sb_instagram .sb_instagram_header{float:left;clear:both;margin:0 0 15px 0;padding:0;line-height:1.2;width:100%}#sb_instagram .sb_instagram_header a{float:left;display:block;text-decoration:none;transition:color .5s ease}@media all and (min-width:480px){#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{font-size:20px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{font-size:14px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{margin-left:95px!important;line-height:1.4}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{margin-right:-85px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{margin-top:4px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3{padding-top:20px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{font-size:28px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{font-size:16px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{margin-left:140px!important;line-height:1.5}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{margin-right:-120px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{margin-top:12px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3{padding-top:32px!important}}#sb_instagram .sb_instagram_header .sbi_header_img{float:left;position:relative;width:50px;margin:0 0 0 -100%!important;overflow:hidden;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img img{float:left;margin:0!important;padding:0!important;border:none!important;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img_hover{opacity:0;position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75)}#sb_instagram .sb_instagram_header .sbi_header_img_hover .sbi_new_logo{position:absolute;top:50%;left:50%;margin-top:-12px;margin-left:-12px;width:24px;height:24px;font-size:24px}#sb_instagram .sb_instagram_header .sbi_header_img_hover i{overflow:hidden;background:url(../img/small-logo.png) no-repeat 0 0}#sb_instagram .sb_instagram_header .sbi_header_img_hover{z-index:2;transition:opacity .4s ease-in-out}#sb_instagram .sb_instagram_header .sbi_fade_in{opacity:1;transition:opacity .2s ease-in-out}#sb_instagram .sb_instagram_header .sbi_header_img_hover{position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75);-moz-opacity:0;-khtml-opacity:0;opacity:0;border-radius:40px;transition:opacity .2s}#sb_instagram .sb_instagram_header a:focus .sbi_header_img_hover,#sb_instagram .sb_instagram_header a:hover .sbi_header_img_hover{opacity:1}#sb_instagram .sb_instagram_header .sbi_header_text{float:left;width:100%;padding-top:5px}#sb_instagram .sb_instagram_header a{text-decoration:none}#sb_instagram .sb_instagram_header .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header .sbi_header_text h3{float:left;clear:both;width:auto;margin:0 0 0 60px!important;padding:0!important}#sb_instagram .sb_instagram_header h3{font-size:16px;line-height:1.3}#sb_instagram .sb_instagram_header p{font-size:13px;line-height:1.3;margin:0;padding:0}#sb_instagram p:empty{display:none}#sb_instagram .sb_instagram_header .sbi_header_text img.emoji{margin-right:3px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3{padding-top:9px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info{clear:both}#sb_instagram #sbi_load{float:left;clear:both;width:100%;text-align:center}#sb_instagram #sbi_load .fa-spinner{display:none;position:absolute;top:50%;left:50%;margin:-8px 0 0 -7px;font-size:15px}#sb_instagram #sbi_load{opacity:1;transition:all .5s ease-in}#sb_instagram .sbi_load_btn .sbi_btn_text,#sb_instagram .sbi_load_btn .sbi_loader{opacity:1;transition:all .1s ease-in}#sb_instagram .sbi_hidden{opacity:0!important}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;padding:7px 14px;margin:5px auto 0 auto;background:#333;color:#eee;border:none;color:#fff;text-decoration:none;font-size:13px;line-height:1.5;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_load .sbi_load_btn{position:relative}#sb_instagram .sbi_follow_btn{display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;text-align:center}#sb_instagram .sbi_follow_btn.sbi_top{display:block;margin-bottom:5px}#sb_instagram .sbi_follow_btn a{background:#408bd1;color:#fff}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{transition:all .1s ease-in}#sb_instagram #sbi_load .sbi_load_btn:hover{outline:0;box-shadow:inset 0 0 20px 20px rgba(255,255,255,.25)}#sb_instagram .sbi_follow_btn a:focus,#sb_instagram .sbi_follow_btn a:hover{outline:0;box-shadow:inset 0 0 10px 20px #359dff}#sb_instagram #sbi_load .sbi_load_btn.sbi_custom:hover,#sb_instagram .sbi_follow_btn.sbi_custom a:focus,#sb_instagram .sbi_follow_btn.sbi_custom a:hover{box-shadow:inset 0 0 20px 20px rgba(255,255,255,.15)}#sb_instagram #sbi_load .sbi_load_btn:active,#sb_instagram .sbi_follow_btn a:active{box-shadow:inset 0 0 10px 20px rgba(0,0,0,.3)}#sb_instagram .sbi_follow_btn .fa,#sb_instagram .sbi_follow_btn svg{margin-bottom:-1px;margin-right:7px;font-size:15px}#sb_instagram .sbi_follow_btn svg{vertical-align:-.125em}#sb_instagram #sbi_load .sbi_follow_btn{margin-left:5px}#sb_instagram .sb_instagram_error{width:100%;text-align:center;line-height:1.4}#sbi_mod_error{display:none;border:1px solid #ddd;background:#eee;color:#333;margin:10px 0 0;padding:10px 15px;font-size:13px;text-align:center;clear:both;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}#sbi_mod_error p{padding:5px 0!important;margin:0!important;line-height:1.3!important}#sbi_mod_error ol,#sbi_mod_error ul{padding:5px 0 5px 20px!important;margin:0!important}#sbi_mod_error li{padding:1px 0!important;margin:0!important}#sbi_mod_error span{font-size:12px}#sb_instagram.sbi_medium .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_medium .sbi_playbtn{margin-top:-12px;margin-left:-9px;font-size:23px}#sb_instagram.sbi_medium .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:8px;top:8px;font-size:18px}#sb_instagram.sbi_small .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_small .sbi_playbtn{margin-top:-9px;margin-left:-7px;font-size:18px}#sb_instagram.sbi_small .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:5px;top:5px;font-size:12px}@media all and (max-width:640px){#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_width_resp{width:100%!important}}@media all and (max-width:480px){#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:100%}}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap{box-sizing:border-box;position:relative;overflow:hidden}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap:before{content:"";display:block;padding-top:100%;z-index:-300}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo{position:absolute;top:0;left:0;bottom:0;right:0}#sb_instagram.sbi_no_js #sbi_images .sbi_item.sbi_transition{opacity:1;max-height:640px}#sb_instagram.sbi_no_js .sbi_load_btn,#sb_instagram.sbi_no_js .sbi_photo img{display:none}#sb_instagram #sbi_images .sbi_js_load_disabled .sbi_imgLiquid_ready.sbi_photo{padding-bottom:0!important}
css/sb-instagram-admin.css CHANGED
@@ -661,11 +661,11 @@
661
  #sbi_admin .sbi_ca_actions a.button-secondary,
662
  #sbi_admin .sbi_ca_accesstoken a.sbi_ca_token_shortcode {
663
  font-size: 12px;
664
- padding: 6px;
665
  height: auto;
666
- line-height: 1;
667
  margin: 7px 5px 0 0;
668
- vertical-align: top;
669
  }
670
  #sbi_admin .sbi_ca_at_is_valid {
671
  margin-top: 10px;
@@ -734,7 +734,6 @@
734
  }
735
  #sbi_admin .sbi_ca_token{
736
  position: relative;
737
- top: 1px;
738
  padding: 3px 10px;
739
  border: 1px solid #d6d6d6;
740
  border-left: none;
@@ -744,6 +743,8 @@
744
  width: 510px;
745
  display: inline-block;
746
  margin-left: 0;
 
 
747
  }
748
  #sbi_admin .sbi_ca_accesstoken a.sbi_ca_token_shortcode{
749
  margin-top: 0;
661
  #sbi_admin .sbi_ca_actions a.button-secondary,
662
  #sbi_admin .sbi_ca_accesstoken a.sbi_ca_token_shortcode {
663
  font-size: 12px;
664
+ padding: 4px 6px;
665
  height: auto;
666
+ line-height: 1.4;
667
  margin: 7px 5px 0 0;
668
+ min-height: 1px;
669
  }
670
  #sbi_admin .sbi_ca_at_is_valid {
671
  margin-top: 10px;
734
  }
735
  #sbi_admin .sbi_ca_token{
736
  position: relative;
 
737
  padding: 3px 10px;
738
  border: 1px solid #d6d6d6;
739
  border-left: none;
743
  width: 510px;
744
  display: inline-block;
745
  margin-left: 0;
746
+ min-height: 1px;
747
+ line-height: 1.4;
748
  }
749
  #sbi_admin .sbi_ca_accesstoken a.sbi_ca_token_shortcode{
750
  margin-top: 0;
css/sb-instagram.css CHANGED
@@ -163,6 +163,7 @@
163
  /* Videos */
164
  #sb_instagram svg:not(:root).svg-inline--fa {
165
  height: 1em;
 
166
  }
167
 
168
  #sb_instagram .sbi_type_video .sbi_playbtn,
163
  /* Videos */
164
  #sb_instagram svg:not(:root).svg-inline--fa {
165
  height: 1em;
166
+ display: inline-block;
167
  }
168
 
169
  #sb_instagram .sbi_type_video .sbi_playbtn,
css/sb-instagram.min.css CHANGED
@@ -1 +1 @@
1
- #sb_instagram{width:100%;margin:0 auto;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram:after{content:"";display:table;clear:both}#sb_instagram.sbi_fixed_height{overflow:hidden;overflow-y:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_images{width:100%;float:left;line-height:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_images .sbi_item{display:-moz-inline-stack;display:inline-block;float:left;vertical-align:top;zoom:1;max-height:1000px;padding:inherit!important;margin:0!important;text-decoration:none;opacity:1;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;-ms-transition:all .5s ease;transition:all .5s ease}#sb_instagram #sbi_images .sbi_item.sbi_transition{opacity:0;max-height:0}#sb_instagram.sbi_col_1 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item{width:10%}#sb_instagram.sbi_col_1.sbi_disable_mobile #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2.sbi_disable_mobile #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3.sbi_disable_mobile #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5.sbi_disable_mobile #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6.sbi_disable_mobile #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7.sbi_disable_mobile #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8.sbi_disable_mobile #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9.sbi_disable_mobile #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10.sbi_disable_mobile #sbi_images .sbi_item{width:10%}#sb_instagram .sbi_photo_wrap{position:relative}#sb_instagram .sbi_photo{display:block;text-decoration:none}#sb_instagram .sbi_photo img{width:100%;height:auto}#sb_instagram .sbi_no_js img{display:none}#sb_instagram a,#sb_instagram a:active,#sb_instagram a:focus,#sb_instagram a:hover{outline:0}#sb_instagram img{display:block;padding:0!important;margin:0!important;max-width:100%!important;opacity:1!important}#sb_instagram .sbi_link{display:none;position:absolute;bottom:0;right:0;width:100%;padding:10px 0;background:rgba(0,0,0,.5);text-align:center;color:#fff;font-size:12px;line-height:1.1}#sb_instagram .sbi_link a{padding:0 6px;text-decoration:none;color:#fff;font-size:12px;line-height:1.1;display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1}#sb_instagram .sbi_link .sbi_lightbox_link{padding-bottom:5px}#sb_instagram .sbi_link a:focus,#sb_instagram .sbi_link a:hover{text-decoration:underline}#sb_instagram .sbi_photo_wrap:focus .sbi_link,#sb_instagram .sbi_photo_wrap:hover .sbi_link{display:block}#sb_instagram svg:not(:root).svg-inline--fa{height:1em}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .sbi_playbtn,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel .fa-clone{display:block!important;position:absolute;z-index:1;color:#fff;color:rgba(255,255,255,.9);font-style:normal!important;text-shadow:0 0 8px rgba(0,0,0,.8)}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_video .sbi_playbtn{z-index:2;top:50%;left:50%;margin-top:-24px;margin-left:-19px;padding:0;font-size:48px}#sb_instagram .sbi_type_carousel .fa-clone{right:12px;top:12px;font-size:24px;text-shadow:0 0 8px rgba(0,0,0,.3)}#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel svg.fa-clone{-webkit-filter:drop-shadow( 0 0 2px rgba(0,0,0,.4) );filter:drop-shadow( 0 0 2px rgba(0,0,0,.4) )}#sb_instagram .sbi_loader{width:20px;height:20px;position:relative;top:50%;left:50%;margin:-10px 0 0 -10px;background-color:#000;background-color:rgba(0,0,0,.5);border-radius:100%;-webkit-animation:sbi-sk-scaleout 1s infinite ease-in-out;animation:sbi-sk-scaleout 1s infinite ease-in-out}#sb_instagram br{display:none}#sbi_load p{display:inline;padding:0;margin:0}#sb_instagram #sbi_load .sbi_loader{position:absolute;margin-top:-11px;background-color:#fff;opacity:1}@-webkit-keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0)}100%{-webkit-transform:scale(1);opacity:0}}@keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:0}}#sb_instagram .fa-spin,#sbi_lightbox .fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}#sb_instagram .fa-pulse,#sbi_lightbox .fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.sbi-screenreader{text-indent:-9999px!important;display:block!important;width:0!important;height:0!important;line-height:0!important}#sb_instagram .sb_instagram_header{float:left;clear:both;margin:0 0 15px 0;padding:0;line-height:1.2;width:100%}#sb_instagram .sb_instagram_header a{float:left;display:block;text-decoration:none;transition:color .5s ease}@media all and (min-width:480px){#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{font-size:20px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{font-size:14px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{margin-left:95px!important;line-height:1.4}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{margin-right:-85px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{margin-top:4px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3{padding-top:20px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{font-size:28px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{font-size:16px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{margin-left:140px!important;line-height:1.5}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{margin-right:-120px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{margin-top:12px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3{padding-top:32px!important}}#sb_instagram .sb_instagram_header .sbi_header_img{float:left;position:relative;width:50px;margin:0 0 0 -100%!important;overflow:hidden;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img img{float:left;margin:0!important;padding:0!important;border:none!important;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img_hover{opacity:0;position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75)}#sb_instagram .sb_instagram_header .sbi_header_img_hover .sbi_new_logo{position:absolute;top:50%;left:50%;margin-top:-12px;margin-left:-12px;width:24px;height:24px;font-size:24px}#sb_instagram .sb_instagram_header .sbi_header_img_hover i{overflow:hidden;background:url(../img/small-logo.png) no-repeat 0 0}#sb_instagram .sb_instagram_header .sbi_header_img_hover{z-index:2;transition:opacity .4s ease-in-out}#sb_instagram .sb_instagram_header .sbi_fade_in{opacity:1;transition:opacity .2s ease-in-out}#sb_instagram .sb_instagram_header .sbi_header_img_hover{position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75);-moz-opacity:0;-khtml-opacity:0;opacity:0;border-radius:40px;transition:opacity .2s}#sb_instagram .sb_instagram_header a:focus .sbi_header_img_hover,#sb_instagram .sb_instagram_header a:hover .sbi_header_img_hover{opacity:1}#sb_instagram .sb_instagram_header .sbi_header_text{float:left;width:100%;padding-top:5px}#sb_instagram .sb_instagram_header a{text-decoration:none}#sb_instagram .sb_instagram_header .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header .sbi_header_text h3{float:left;clear:both;width:auto;margin:0 0 0 60px!important;padding:0!important}#sb_instagram .sb_instagram_header h3{font-size:16px;line-height:1.3}#sb_instagram .sb_instagram_header p{font-size:13px;line-height:1.3;margin:0;padding:0}#sb_instagram p:empty{display:none}#sb_instagram .sb_instagram_header .sbi_header_text img.emoji{margin-right:3px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3{padding-top:9px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info{clear:both}#sb_instagram #sbi_load{float:left;clear:both;width:100%;text-align:center}#sb_instagram #sbi_load .fa-spinner{display:none;position:absolute;top:50%;left:50%;margin:-8px 0 0 -7px;font-size:15px}#sb_instagram #sbi_load{opacity:1;transition:all .5s ease-in}#sb_instagram .sbi_load_btn .sbi_btn_text,#sb_instagram .sbi_load_btn .sbi_loader{opacity:1;transition:all .1s ease-in}#sb_instagram .sbi_hidden{opacity:0!important}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;padding:7px 14px;margin:5px auto 0 auto;background:#333;color:#eee;border:none;color:#fff;text-decoration:none;font-size:13px;line-height:1.5;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_load .sbi_load_btn{position:relative}#sb_instagram .sbi_follow_btn{display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;text-align:center}#sb_instagram .sbi_follow_btn.sbi_top{display:block;margin-bottom:5px}#sb_instagram .sbi_follow_btn a{background:#408bd1;color:#fff}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{transition:all .1s ease-in}#sb_instagram #sbi_load .sbi_load_btn:hover{outline:0;box-shadow:inset 0 0 20px 20px rgba(255,255,255,.25)}#sb_instagram .sbi_follow_btn a:focus,#sb_instagram .sbi_follow_btn a:hover{outline:0;box-shadow:inset 0 0 10px 20px #359dff}#sb_instagram #sbi_load .sbi_load_btn.sbi_custom:hover,#sb_instagram .sbi_follow_btn.sbi_custom a:focus,#sb_instagram .sbi_follow_btn.sbi_custom a:hover{box-shadow:inset 0 0 20px 20px rgba(255,255,255,.15)}#sb_instagram #sbi_load .sbi_load_btn:active,#sb_instagram .sbi_follow_btn a:active{box-shadow:inset 0 0 10px 20px rgba(0,0,0,.3)}#sb_instagram .sbi_follow_btn .fa,#sb_instagram .sbi_follow_btn svg{margin-bottom:-1px;margin-right:7px;font-size:15px}#sb_instagram .sbi_follow_btn svg{vertical-align:-.125em}#sb_instagram #sbi_load .sbi_follow_btn{margin-left:5px}#sb_instagram .sb_instagram_error{width:100%;text-align:center;line-height:1.4}#sbi_mod_error{display:none;border:1px solid #ddd;background:#eee;color:#333;margin:10px 0 0;padding:10px 15px;font-size:13px;text-align:center;clear:both;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}#sbi_mod_error p{padding:5px 0!important;margin:0!important;line-height:1.3!important}#sbi_mod_error ol,#sbi_mod_error ul{padding:5px 0 5px 20px!important;margin:0!important}#sbi_mod_error li{padding:1px 0!important;margin:0!important}#sbi_mod_error span{font-size:12px}#sb_instagram.sbi_medium .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_medium .sbi_playbtn{margin-top:-12px;margin-left:-9px;font-size:23px}#sb_instagram.sbi_medium .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:8px;top:8px;font-size:18px}#sb_instagram.sbi_small .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_small .sbi_playbtn{margin-top:-9px;margin-left:-7px;font-size:18px}#sb_instagram.sbi_small .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:5px;top:5px;font-size:12px}@media all and (max-width:640px){#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_width_resp{width:100%!important}}@media all and (max-width:480px){#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:100%}}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap{box-sizing:border-box;position:relative;overflow:hidden}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap:before{content:"";display:block;padding-top:100%;z-index:-300}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo{position:absolute;top:0;left:0;bottom:0;right:0}#sb_instagram.sbi_no_js #sbi_images .sbi_item.sbi_transition{opacity:1;max-height:640px}#sb_instagram.sbi_no_js .sbi_load_btn,#sb_instagram.sbi_no_js .sbi_photo img{display:none}#sb_instagram #sbi_images .sbi_js_load_disabled .sbi_imgLiquid_ready.sbi_photo{padding-bottom:0!important}
1
+ #sb_instagram{width:100%;margin:0 auto;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram:after{content:"";display:table;clear:both}#sb_instagram.sbi_fixed_height{overflow:hidden;overflow-y:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_images{width:100%;float:left;line-height:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_images .sbi_item{display:-moz-inline-stack;display:inline-block;float:left;vertical-align:top;zoom:1;max-height:1000px;padding:inherit!important;margin:0!important;text-decoration:none;opacity:1;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;-ms-transition:all .5s ease;transition:all .5s ease}#sb_instagram #sbi_images .sbi_item.sbi_transition{opacity:0;max-height:0}#sb_instagram.sbi_col_1 #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3 #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5 #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7 #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8 #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item{width:10%}#sb_instagram.sbi_col_1.sbi_disable_mobile #sbi_images .sbi_item{width:100%}#sb_instagram.sbi_col_2.sbi_disable_mobile #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_3.sbi_disable_mobile #sbi_images .sbi_item{width:33.33%}#sb_instagram.sbi_col_4.sbi_disable_mobile #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_col_5.sbi_disable_mobile #sbi_images .sbi_item{width:20%}#sb_instagram.sbi_col_6.sbi_disable_mobile #sbi_images .sbi_item{width:16.66%}#sb_instagram.sbi_col_7.sbi_disable_mobile #sbi_images .sbi_item{width:14.28%}#sb_instagram.sbi_col_8.sbi_disable_mobile #sbi_images .sbi_item{width:12.5%}#sb_instagram.sbi_col_9.sbi_disable_mobile #sbi_images .sbi_item{width:11.11%}#sb_instagram.sbi_col_10.sbi_disable_mobile #sbi_images .sbi_item{width:10%}#sb_instagram .sbi_photo_wrap{position:relative}#sb_instagram .sbi_photo{display:block;text-decoration:none}#sb_instagram .sbi_photo img{width:100%;height:auto}#sb_instagram .sbi_no_js img{display:none}#sb_instagram a,#sb_instagram a:active,#sb_instagram a:focus,#sb_instagram a:hover{outline:0}#sb_instagram img{display:block;padding:0!important;margin:0!important;max-width:100%!important;opacity:1!important}#sb_instagram .sbi_link{display:none;position:absolute;bottom:0;right:0;width:100%;padding:10px 0;background:rgba(0,0,0,.5);text-align:center;color:#fff;font-size:12px;line-height:1.1}#sb_instagram .sbi_link a{padding:0 6px;text-decoration:none;color:#fff;font-size:12px;line-height:1.1;display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1}#sb_instagram .sbi_link .sbi_lightbox_link{padding-bottom:5px}#sb_instagram .sbi_link a:focus,#sb_instagram .sbi_link a:hover{text-decoration:underline}#sb_instagram .sbi_photo_wrap:focus .sbi_link,#sb_instagram .sbi_photo_wrap:hover .sbi_link{display:block}#sb_instagram svg:not(:root).svg-inline--fa{height:1em;display:inline-block}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .sbi_playbtn,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel .fa-clone{display:block!important;position:absolute;z-index:1;color:#fff;color:rgba(255,255,255,.9);font-style:normal!important;text-shadow:0 0 8px rgba(0,0,0,.8)}#sb_instagram .sbi_type_carousel .sbi_playbtn,#sb_instagram .sbi_type_video .sbi_playbtn{z-index:2;top:50%;left:50%;margin-top:-24px;margin-left:-19px;padding:0;font-size:48px}#sb_instagram .sbi_type_carousel .fa-clone{right:12px;top:12px;font-size:24px;text-shadow:0 0 8px rgba(0,0,0,.3)}#sb_instagram .sbi_type_carousel .svg-inline--fa.fa-play,#sb_instagram .sbi_type_video .svg-inline--fa.fa-play,.sbi_type_carousel svg.fa-clone{-webkit-filter:drop-shadow( 0 0 2px rgba(0,0,0,.4) );filter:drop-shadow( 0 0 2px rgba(0,0,0,.4) )}#sb_instagram .sbi_loader{width:20px;height:20px;position:relative;top:50%;left:50%;margin:-10px 0 0 -10px;background-color:#000;background-color:rgba(0,0,0,.5);border-radius:100%;-webkit-animation:sbi-sk-scaleout 1s infinite ease-in-out;animation:sbi-sk-scaleout 1s infinite ease-in-out}#sb_instagram br{display:none}#sbi_load p{display:inline;padding:0;margin:0}#sb_instagram #sbi_load .sbi_loader{position:absolute;margin-top:-11px;background-color:#fff;opacity:1}@-webkit-keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0)}100%{-webkit-transform:scale(1);opacity:0}}@keyframes sbi-sk-scaleout{0%{-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:0}}#sb_instagram .fa-spin,#sbi_lightbox .fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}#sb_instagram .fa-pulse,#sbi_lightbox .fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.sbi-screenreader{text-indent:-9999px!important;display:block!important;width:0!important;height:0!important;line-height:0!important}#sb_instagram .sb_instagram_header{float:left;clear:both;margin:0 0 15px 0;padding:0;line-height:1.2;width:100%}#sb_instagram .sb_instagram_header a{float:left;display:block;text-decoration:none;transition:color .5s ease}@media all and (min-width:480px){#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_img img{width:80px;height:80px;border-radius:40px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{font-size:20px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{font-size:14px}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{margin-left:95px!important;line-height:1.4}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text h3{margin-right:-85px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text .sbi_bio_info{margin-top:4px!important}#sb_instagram .sb_instagram_header.sbi_medium .sbi_header_text.sbi_no_bio h3{padding-top:20px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_img img{width:120px;height:120px;border-radius:60px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{font-size:28px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{font-size:16px}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info,#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{margin-left:140px!important;line-height:1.5}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text h3{margin-right:-120px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text .sbi_bio_info{margin-top:12px!important}#sb_instagram .sb_instagram_header.sbi_large .sbi_header_text.sbi_no_bio h3{padding-top:32px!important}}#sb_instagram .sb_instagram_header .sbi_header_img{float:left;position:relative;width:50px;margin:0 0 0 -100%!important;overflow:hidden;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img img{float:left;margin:0!important;padding:0!important;border:none!important;-moz-border-radius:40px;-webkit-border-radius:40px;border-radius:40px}#sb_instagram .sb_instagram_header .sbi_header_img_hover{opacity:0;position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75)}#sb_instagram .sb_instagram_header .sbi_header_img_hover .sbi_new_logo{position:absolute;top:50%;left:50%;margin-top:-12px;margin-left:-12px;width:24px;height:24px;font-size:24px}#sb_instagram .sb_instagram_header .sbi_header_img_hover i{overflow:hidden;background:url(../img/small-logo.png) no-repeat 0 0}#sb_instagram .sb_instagram_header .sbi_header_img_hover{z-index:2;transition:opacity .4s ease-in-out}#sb_instagram .sb_instagram_header .sbi_fade_in{opacity:1;transition:opacity .2s ease-in-out}#sb_instagram .sb_instagram_header .sbi_header_img_hover{position:absolute;width:100%;top:0;bottom:0;left:0;text-align:center;color:#fff;background:rgba(0,0,0,.75);-moz-opacity:0;-khtml-opacity:0;opacity:0;border-radius:40px;transition:opacity .2s}#sb_instagram .sb_instagram_header a:focus .sbi_header_img_hover,#sb_instagram .sb_instagram_header a:hover .sbi_header_img_hover{opacity:1}#sb_instagram .sb_instagram_header .sbi_header_text{float:left;width:100%;padding-top:5px}#sb_instagram .sb_instagram_header a{text-decoration:none}#sb_instagram .sb_instagram_header .sbi_header_text .sbi_bio,#sb_instagram .sb_instagram_header .sbi_header_text h3{float:left;clear:both;width:auto;margin:0 0 0 60px!important;padding:0!important}#sb_instagram .sb_instagram_header h3{font-size:16px;line-height:1.3}#sb_instagram .sb_instagram_header p{font-size:13px;line-height:1.3;margin:0;padding:0}#sb_instagram p:empty{display:none}#sb_instagram .sb_instagram_header .sbi_header_text img.emoji{margin-right:3px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3{padding-top:9px!important}#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio .sbi_bio_info{clear:both}#sb_instagram #sbi_load{float:left;clear:both;width:100%;text-align:center}#sb_instagram #sbi_load .fa-spinner{display:none;position:absolute;top:50%;left:50%;margin:-8px 0 0 -7px;font-size:15px}#sb_instagram #sbi_load{opacity:1;transition:all .5s ease-in}#sb_instagram .sbi_load_btn .sbi_btn_text,#sb_instagram .sbi_load_btn .sbi_loader{opacity:1;transition:all .1s ease-in}#sb_instagram .sbi_hidden{opacity:0!important}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;padding:7px 14px;margin:5px auto 0 auto;background:#333;color:#eee;border:none;color:#fff;text-decoration:none;font-size:13px;line-height:1.5;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#sb_instagram #sbi_load .sbi_load_btn{position:relative}#sb_instagram .sbi_follow_btn{display:-moz-inline-stack;display:inline-block;vertical-align:top;zoom:1;text-align:center}#sb_instagram .sbi_follow_btn.sbi_top{display:block;margin-bottom:5px}#sb_instagram .sbi_follow_btn a{background:#408bd1;color:#fff}#sb_instagram #sbi_load .sbi_load_btn,#sb_instagram .sbi_follow_btn a{transition:all .1s ease-in}#sb_instagram #sbi_load .sbi_load_btn:hover{outline:0;box-shadow:inset 0 0 20px 20px rgba(255,255,255,.25)}#sb_instagram .sbi_follow_btn a:focus,#sb_instagram .sbi_follow_btn a:hover{outline:0;box-shadow:inset 0 0 10px 20px #359dff}#sb_instagram #sbi_load .sbi_load_btn.sbi_custom:hover,#sb_instagram .sbi_follow_btn.sbi_custom a:focus,#sb_instagram .sbi_follow_btn.sbi_custom a:hover{box-shadow:inset 0 0 20px 20px rgba(255,255,255,.15)}#sb_instagram #sbi_load .sbi_load_btn:active,#sb_instagram .sbi_follow_btn a:active{box-shadow:inset 0 0 10px 20px rgba(0,0,0,.3)}#sb_instagram .sbi_follow_btn .fa,#sb_instagram .sbi_follow_btn svg{margin-bottom:-1px;margin-right:7px;font-size:15px}#sb_instagram .sbi_follow_btn svg{vertical-align:-.125em}#sb_instagram #sbi_load .sbi_follow_btn{margin-left:5px}#sb_instagram .sb_instagram_error{width:100%;text-align:center;line-height:1.4}#sbi_mod_error{display:none;border:1px solid #ddd;background:#eee;color:#333;margin:10px 0 0;padding:10px 15px;font-size:13px;text-align:center;clear:both;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}#sbi_mod_error p{padding:5px 0!important;margin:0!important;line-height:1.3!important}#sbi_mod_error ol,#sbi_mod_error ul{padding:5px 0 5px 20px!important;margin:0!important}#sbi_mod_error li{padding:1px 0!important;margin:0!important}#sbi_mod_error span{font-size:12px}#sb_instagram.sbi_medium .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_medium .sbi_playbtn{margin-top:-12px;margin-left:-9px;font-size:23px}#sb_instagram.sbi_medium .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:8px;top:8px;font-size:18px}#sb_instagram.sbi_small .sbi_photo_wrap .svg-inline--fa.fa-play,#sb_instagram.sbi_small .sbi_playbtn{margin-top:-9px;margin-left:-7px;font-size:18px}#sb_instagram.sbi_small .sbi_type_carousel .sbi_photo_wrap .fa-clone{right:5px;top:5px;font-size:12px}@media all and (max-width:640px){#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item{width:50%}#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:25%}#sb_instagram.sbi_width_resp{width:100%!important}}@media all and (max-width:480px){#sb_instagram.sbi_col_10 #sbi_images .sbi_item,#sb_instagram.sbi_col_3 #sbi_images .sbi_item,#sb_instagram.sbi_col_4 #sbi_images .sbi_item,#sb_instagram.sbi_col_5 #sbi_images .sbi_item,#sb_instagram.sbi_col_6 #sbi_images .sbi_item,#sb_instagram.sbi_col_7 #sbi_images .sbi_item,#sb_instagram.sbi_col_8 #sbi_images .sbi_item,#sb_instagram.sbi_col_9 #sbi_images .sbi_item{width:100%}}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap{box-sizing:border-box;position:relative;overflow:hidden}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo_wrap:before{content:"";display:block;padding-top:100%;z-index:-300}#sb_instagram.sbi_no_js #sbi_images .sbi_item .sbi_photo{position:absolute;top:0;left:0;bottom:0;right:0}#sb_instagram.sbi_no_js #sbi_images .sbi_item.sbi_transition{opacity:1;max-height:640px}#sb_instagram.sbi_no_js .sbi_load_btn,#sb_instagram.sbi_no_js .sbi_photo img{display:none}#sb_instagram #sbi_images .sbi_js_load_disabled .sbi_imgLiquid_ready.sbi_photo{padding-bottom:0!important}
inc/admin/actions.php CHANGED
@@ -107,7 +107,6 @@ function sbi_auto_save_tokens() {
107
  add_action( 'wp_ajax_sbi_auto_save_tokens', 'sbi_auto_save_tokens' );
108
 
109
  function sbi_delete_local_avatar( $username ) {
110
- var_dump( 'deleting' );
111
  $upload = wp_upload_dir();
112
 
113
  $image_files = glob( trailingslashit( $upload['basedir'] ) . trailingslashit( SBI_UPLOADS_NAME ) . $username . '.jpg' ); // get all matching images
107
  add_action( 'wp_ajax_sbi_auto_save_tokens', 'sbi_auto_save_tokens' );
108
 
109
  function sbi_delete_local_avatar( $username ) {
 
110
  $upload = wp_upload_dir();
111
 
112
  $image_files = glob( trailingslashit( $upload['basedir'] ) . trailingslashit( SBI_UPLOADS_NAME ) . $username . '.jpg' ); // get all matching images
inc/admin/main.php CHANGED
@@ -9,6 +9,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
9
  function sb_instagram_menu() {
10
  $cap = current_user_can( 'manage_instagram_feed_options' ) ? 'manage_instagram_feed_options' : 'manage_options';
11
 
 
 
12
  add_menu_page(
13
  __( 'Instagram Feed', 'instagram-feed' ),
14
  __( 'Instagram Feed', 'instagram-feed' ),
@@ -461,17 +463,36 @@ function sb_instagram_settings_page() {
461
  <?php else: ?>
462
  <?php foreach ( $connected_accounts as $account ) :
463
  $username = $account['username'] ? $account['username'] : $account['user_id'];
464
- if ( isset( $account['local_avatar'] ) && $account['local_avatar'] && isset( $options['sb_instagram_favor_local'] ) && $options['sb_instagram_favor_local' ] === 'on' ) {
465
- $upload = wp_upload_dir();
466
- $resized_url = trailingslashit( $upload['baseurl'] ) . trailingslashit( SBI_UPLOADS_NAME );
467
- $profile_picture = '<img class="sbi_ca_avatar" src="'.$resized_url . $account['username'].'.jpg" />'; //Could add placeholder avatar image
468
- } else {
469
- $profile_picture = $account['profile_picture'] ? '<img class="sbi_ca_avatar" src="'.$account['profile_picture'].'" />' : ''; //Could add placeholder avatar image
470
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
471
  $access_token_expired = (in_array( $account['access_token'], $expired_tokens, true ) || in_array( sbi_maybe_clean( $account['access_token'] ), $expired_tokens, true ));
472
  $is_invalid_class = ! $account['is_valid'] || $access_token_expired ? ' sbi_account_invalid' : '';
473
  $in_user_feed = in_array( $account['user_id'], $user_feed_ids, true );
474
- $account_type = isset( $account['type'] ) ? $account['type'] : 'personal';
475
 
476
  ?>
477
  <div class="sbi_connected_account<?php echo $is_invalid_class; ?><?php if ( $in_user_feed ) echo ' sbi_account_active' ?> sbi_account_type_<?php echo $account_type; ?>" id="sbi_connected_account_<?php echo esc_attr( $account['user_id'] ); ?>" data-accesstoken="<?php echo esc_attr( $account['access_token'] ); ?>" data-userid="<?php echo esc_attr( $account['user_id'] ); ?>" data-username="<?php echo esc_attr( $account['username'] ); ?>" data-type="<?php echo esc_attr( $account_type ); ?>">
9
  function sb_instagram_menu() {
10
  $cap = current_user_can( 'manage_instagram_feed_options' ) ? 'manage_instagram_feed_options' : 'manage_options';
11
 
12
+ $cap = apply_filters( 'sbi_settings_pages_capability', $cap );
13
+
14
  add_menu_page(
15
  __( 'Instagram Feed', 'instagram-feed' ),
16
  __( 'Instagram Feed', 'instagram-feed' ),
463
  <?php else: ?>
464
  <?php foreach ( $connected_accounts as $account ) :
465
  $username = $account['username'] ? $account['username'] : $account['user_id'];
466
+ if ( isset( $account['local_avatar'] ) && $account['local_avatar'] && isset( $options['sb_instagram_favor_local'] ) && $options['sb_instagram_favor_local' ] === 'on' ) {
467
+ $upload = wp_upload_dir();
468
+ $resized_url = trailingslashit( $upload['baseurl'] ) . trailingslashit( SBI_UPLOADS_NAME );
469
+ $profile_picture = '<img class="sbi_ca_avatar" src="'.$resized_url . $account['username'].'.jpg" />'; //Could add placeholder avatar image
470
+ } else {
471
+ $profile_picture = $account['profile_picture'] ? '<img class="sbi_ca_avatar" src="'.$account['profile_picture'].'" />' : ''; //Could add placeholder avatar image
472
+ }
473
+ $account_type = isset( $account['type'] ) ? $account['type'] : 'personal';
474
+
475
+ if ( empty( $profile_picture ) && $account_type === 'personal' ) {
476
+ $account_update = sbi_account_data_for_token( $account['access_token'] );
477
+ if ( isset( $account['is_valid'] ) ) {
478
+ $split = explode( '.', $account['access_token'] );
479
+ $connected_accounts[ $split[0] ] = array(
480
+ 'access_token' => $account['access_token'],
481
+ 'user_id' => $split[0],
482
+ 'username' => $account_update['username'],
483
+ 'is_valid' => true,
484
+ 'last_checked' => time(),
485
+ 'profile_picture' => $account_update['profile_picture']
486
+ );
487
+ $sbi_options = get_option( 'sb_instagram_settings', array() );
488
+ $sbi_options['connected_accounts'] = $connected_accounts;
489
+ update_option( 'sb_instagram_settings', $sbi_options );
490
+ }
491
+ }
492
+
493
  $access_token_expired = (in_array( $account['access_token'], $expired_tokens, true ) || in_array( sbi_maybe_clean( $account['access_token'] ), $expired_tokens, true ));
494
  $is_invalid_class = ! $account['is_valid'] || $access_token_expired ? ' sbi_account_invalid' : '';
495
  $in_user_feed = in_array( $account['user_id'], $user_feed_ids, true );
 
496
 
497
  ?>
498
  <div class="sbi_connected_account<?php echo $is_invalid_class; ?><?php if ( $in_user_feed ) echo ' sbi_account_active' ?> sbi_account_type_<?php echo $account_type; ?>" id="sbi_connected_account_<?php echo esc_attr( $account['user_id'] ); ?>" data-accesstoken="<?php echo esc_attr( $account['access_token'] ); ?>" data-userid="<?php echo esc_attr( $account['user_id'] ); ?>" data-username="<?php echo esc_attr( $account['username'] ); ?>" data-type="<?php echo esc_attr( $account_type ); ?>">
inc/class-sb-instagram-api-connect.php CHANGED
@@ -178,6 +178,8 @@ class SB_Instagram_API_Connect
178
 
179
  $error_time = 300;
180
  if ( isset( $response['meta']['error_type'] ) ) {
 
 
181
  if ( $response['meta']['error_type'] === 'OAuthAccessTokenException' ) {
182
  $options = get_option( 'sb_instagram_settings', array() );
183
 
@@ -212,6 +214,8 @@ class SB_Instagram_API_Connect
212
  $sb_instagram_posts_manager->add_frontend_error( $response['meta']['error_type'], $error );
213
  }
214
  } elseif ( isset( $response['error']['message'] ) ) {
 
 
215
  if ( (int)$response['error']['code'] === 18 ) {
216
  $options = get_option( 'sb_instagram_settings', array() );
217
 
178
 
179
  $error_time = 300;
180
  if ( isset( $response['meta']['error_type'] ) ) {
181
+ $sb_instagram_posts_manager->add_error( 'api', array( 'Error connecting', sprintf( __( 'API error %s:', 'instagram-feed'), $response['meta']['code'] ) . ' ' . $response['meta']['error_message'] ) );
182
+
183
  if ( $response['meta']['error_type'] === 'OAuthAccessTokenException' ) {
184
  $options = get_option( 'sb_instagram_settings', array() );
185
 
214
  $sb_instagram_posts_manager->add_frontend_error( $response['meta']['error_type'], $error );
215
  }
216
  } elseif ( isset( $response['error']['message'] ) ) {
217
+ $sb_instagram_posts_manager->add_error( 'api', array( 'Error connecting', sprintf( __( 'API error %s:', 'instagram-feed'), $response['error']['code'] ) . ' ' . $response['error']['message'] ) );
218
+
219
  if ( (int)$response['error']['code'] === 18 ) {
220
  $options = get_option( 'sb_instagram_settings', array() );
221
 
inc/class-sb-instagram-cron-updater.php CHANGED
@@ -100,6 +100,8 @@ class SB_Instagram_Cron_Updater
100
  * @param bool $include_resize whether or not to resize images during the update since
101
  * images can also be resized with an ajax call when the feed is viewed on the frontend
102
  *
 
 
103
  * @since 2.0/5.0
104
  */
105
  public static function do_single_feed_cron_update( $instagram_feed_settings, $feed_data, $atts, $include_resize = true ) {
@@ -133,11 +135,23 @@ class SB_Instagram_Cron_Updater
133
  $post_data = $instagram_feed->get_post_data();
134
  $post_data = array_slice( $post_data, 0, $settings['num'] );
135
 
136
- $post_set = new SB_Instagram_Post_Set( $post_data, $transient_name );
 
 
 
 
 
 
 
 
 
 
 
137
 
138
  $post_set->maybe_save_update_and_resize_images_for_posts();
139
  }
140
 
 
141
  }
142
 
143
  /**
100
  * @param bool $include_resize whether or not to resize images during the update since
101
  * images can also be resized with an ajax call when the feed is viewed on the frontend
102
  *
103
+ * @return object
104
+ *
105
  * @since 2.0/5.0
106
  */
107
  public static function do_single_feed_cron_update( $instagram_feed_settings, $feed_data, $atts, $include_resize = true ) {
135
  $post_data = $instagram_feed->get_post_data();
136
  $post_data = array_slice( $post_data, 0, $settings['num'] );
137
 
138
+ if ( $settings['favor_local'] ) {
139
+ $image_sizes = array(
140
+ 'personal' => array( 'full' => 640, 'low' => 320 ),
141
+ 'business' => array( 'full' => 640, 'low' => 320 )
142
+ );
143
+ } else {
144
+ $image_sizes = array(
145
+ 'personal' => array( 'low' => 320 ),
146
+ 'business' => array( 'full' => 640, 'low' => 320 )
147
+ );
148
+ }
149
+ $post_set = new SB_Instagram_Post_Set( $post_data, $transient_name, NULL, $image_sizes );
150
 
151
  $post_set->maybe_save_update_and_resize_images_for_posts();
152
  }
153
 
154
+ return $instagram_feed;
155
  }
156
 
157
  /**
inc/class-sb-instagram-display-elements.php CHANGED
@@ -77,7 +77,10 @@ class SB_Instagram_Display_Elements
77
  if ( $settings['imageres'] !== 'thumb' && ! empty( $resized_images ) ) {
78
  $resolution = $settings['imageres'];
79
  $post_id = SB_Instagram_Parse::get_post_id( $post );
80
- if ( isset( $resized_images[ $post_id ] ) ) {
 
 
 
81
  if ( $resolution === 'medium' ) {
82
  if ( isset( $resized_images[ $post_id ]['sizes']['low'] ) ) {
83
  $suffix = 'low';
@@ -118,7 +121,10 @@ class SB_Instagram_Display_Elements
118
  $post_id = SB_Instagram_Parse::get_post_id( $post );
119
 
120
  // use resized images if exists
121
- if ( $optimum_res === 'full' && isset( $resized_images[ $post_id ]['id'] ) && $resized_images[ $post_id ]['id'] !== 'pending' && $resized_images[ $post_id ]['id'] !== 'video' ) {
 
 
 
122
  $media_url = sbi_get_resized_uploads_url() . $resized_images[ $post_id ]['id'] . 'full.jpg';
123
  } else {
124
  $permalink = SB_Instagram_Parse::get_permalink( $post );
77
  if ( $settings['imageres'] !== 'thumb' && ! empty( $resized_images ) ) {
78
  $resolution = $settings['imageres'];
79
  $post_id = SB_Instagram_Parse::get_post_id( $post );
80
+ if ( isset( $resized_images[ $post_id ] )
81
+ && $resized_images[ $post_id ]['id'] !== 'error'
82
+ && $resized_images[ $post_id ]['id'] !== 'pending'
83
+ && $resized_images[ $post_id ]['id'] !== 'video' ) {
84
  if ( $resolution === 'medium' ) {
85
  if ( isset( $resized_images[ $post_id ]['sizes']['low'] ) ) {
86
  $suffix = 'low';
121
  $post_id = SB_Instagram_Parse::get_post_id( $post );
122
 
123
  // use resized images if exists
124
+ if ( $optimum_res === 'full' && isset( $resized_images[ $post_id ]['id'] )
125
+ && $resized_images[ $post_id ]['id'] !== 'pending'
126
+ && $resized_images[ $post_id ]['id'] !== 'video'
127
+ && $resized_images[ $post_id ]['id'] !== 'error' ) {
128
  $media_url = sbi_get_resized_uploads_url() . $resized_images[ $post_id ]['id'] . 'full.jpg';
129
  } else {
130
  $permalink = SB_Instagram_Parse::get_permalink( $post );
inc/class-sb-instagram-feed.php CHANGED
@@ -92,6 +92,13 @@ class SB_Instagram_Feed
92
  */
93
  private $resized_images;
94
 
 
 
 
 
 
 
 
95
  /**
96
  * SB_Instagram_Feed constructor.
97
  *
@@ -122,6 +129,8 @@ class SB_Instagram_Feed
122
  $this->report = array();
123
 
124
  $this->resized_images = array();
 
 
125
  }
126
 
127
  /**
@@ -377,7 +386,7 @@ class SB_Instagram_Feed
377
  if ( is_array( $num_or_array_of_ids ) ) {
378
  $ids = $num_or_array_of_ids;
379
 
380
- $id_string = '"' . implode( '","', $ids ) . '"';
381
  $results = $wpdb->get_results( $wpdb->prepare( "
382
  SELECT p.media_id, p.instagram_id, p.aspect_ratio, p.sizes
383
  FROM $posts_table_name AS p
@@ -534,6 +543,7 @@ class SB_Instagram_Feed
534
  );
535
 
536
  $one_successful_connection = false;
 
537
  $next_page_found = false;
538
  $one_api_request_delayed = false;
539
 
@@ -571,6 +581,8 @@ class SB_Instagram_Feed
571
  }
572
 
573
  if ( isset( $data[0]['id'] ) ) {
 
 
574
  $post_set = $this->filter_posts( $data, $settings );
575
 
576
  $new_post_sets[] = $post_set;
@@ -613,6 +625,7 @@ class SB_Instagram_Feed
613
  $one_successful_connection = true;
614
  $data = $connection->get_data();
615
  if ( isset( $data[0]['id'] ) ) {
 
616
  $post_set = $this->filter_posts( $data, $settings );
617
  $new_post_sets[] = $post_set;
618
  }
@@ -658,8 +671,18 @@ class SB_Instagram_Feed
658
 
659
  $this->add_report( 'delaying API request for ' . $term . ' - ' . $type );
660
 
661
- $error = '<p><b>' . sprintf( __( 'Error: API requests are being delayed for this account.', 'instagram-feed' ), $connected_account_for_term['username'] ) . ' ' . __( 'New posts will not be retrieved.', 'instagram-feed' ) . '</b>';
662
- $error .= '<p>' . __( 'There may be an issue with the Instagram Access Token that you are using. Your server might also be unable to connect to Instagram at this time.', 'instagram-feed' );
 
 
 
 
 
 
 
 
 
 
663
 
664
  $sb_instagram_posts_manager->add_frontend_error( 'at_' . $connected_account_for_term['username'], $error );
665
  }
@@ -676,6 +699,8 @@ class SB_Instagram_Feed
676
 
677
  if ( ! empty( $this->post_data ) && is_array( $this->post_data ) ) {
678
  $posts = array_merge( $this->post_data, $posts );
 
 
679
  }
680
 
681
  $this->post_data = $posts;
@@ -882,10 +907,7 @@ class SB_Instagram_Feed
882
  global $sb_instagram_posts_manager;
883
 
884
  if ( empty( $this->post_data ) && ! empty( $connected_accounts_for_feed ) ) {
885
- $error = '<p><b>' . __( 'Error: No posts found.', 'instagram-feed' ) . '</b>';
886
- $error .= '<p>' . __( 'Make sure this account has posts available on instagram.com.', 'instagram-feed' ) . '</p>';
887
-
888
- $sb_instagram_posts_manager->add_frontend_error( 'noposts', $error );
889
  }
890
  $posts = array_slice( $this->post_data, 0, $settings['minnum'] );
891
  $header_data = ! empty( $this->header_data ) ? $this->header_data : false;
@@ -1129,6 +1151,17 @@ class SB_Instagram_Feed
1129
  return $post_set;
1130
  }
1131
 
 
 
 
 
 
 
 
 
 
 
 
1132
  protected function remove_duplicate_posts() {
1133
  $posts = $this->post_data;
1134
  $ids_in_feed = array();
92
  */
93
  private $resized_images;
94
 
95
+ /**
96
+ * @var array
97
+ *
98
+ * @since 2.1.3/5.2.3
99
+ */
100
+ protected $one_post_found;
101
+
102
  /**
103
  * SB_Instagram_Feed constructor.
104
  *
129
  $this->report = array();
130
 
131
  $this->resized_images = array();
132
+
133
+ $this->one_post_found = false;
134
  }
135
 
136
  /**
386
  if ( is_array( $num_or_array_of_ids ) ) {
387
  $ids = $num_or_array_of_ids;
388
 
389
+ $id_string = "'" . implode( "','", $ids ) . "'";
390
  $results = $wpdb->get_results( $wpdb->prepare( "
391
  SELECT p.media_id, p.instagram_id, p.aspect_ratio, p.sizes
392
  FROM $posts_table_name AS p
543
  );
544
 
545
  $one_successful_connection = false;
546
+ $one_post_found = false;
547
  $next_page_found = false;
548
  $one_api_request_delayed = false;
549
 
581
  }
582
 
583
  if ( isset( $data[0]['id'] ) ) {
584
+ $one_post_found = true;
585
+
586
  $post_set = $this->filter_posts( $data, $settings );
587
 
588
  $new_post_sets[] = $post_set;
625
  $one_successful_connection = true;
626
  $data = $connection->get_data();
627
  if ( isset( $data[0]['id'] ) ) {
628
+ $one_post_found = true;
629
  $post_set = $this->filter_posts( $data, $settings );
630
  $new_post_sets[] = $post_set;
631
  }
671
 
672
  $this->add_report( 'delaying API request for ' . $term . ' - ' . $type );
673
 
674
+ $error = '<p><b>' . sprintf( __( 'Error: API requests are being delayed for this account.', 'instagram-feed' ), $connected_account_for_term['username'] ) . ' ' . __( 'New posts will not be retrieved.', 'instagram-feed' ) . '</b></p>';
675
+ $errors = $sb_instagram_posts_manager->get_errors();
676
+ if ( ! empty( $errors ) && current_user_can( 'manage_options' ) ) {
677
+ if ( isset( $errors['api'] ) ) {
678
+ $error .= '<p>' . $errors['api'][1] . '</p>';
679
+ } elseif ( isset( $errors['connection'] ) ) {
680
+ $error .= '<p>' . $errors['connection'][1] . '</p>';
681
+ } // https://smashballoon.com/instagram-feed/docs/errors/
682
+ $error .= '<p><a href="https://smashballoon.com/instagram-feed/docs/errors/">' . __( 'Click here to troubleshoot', 'instagram-feed' ) . '</a></p>';
683
+ } else {
684
+ $error .= '<p>' . __( 'There may be an issue with the Instagram access token that you are using. Your server might also be unable to connect to Instagram at this time.', 'instagram-feed' ) . '</p>';
685
+ }
686
 
687
  $sb_instagram_posts_manager->add_frontend_error( 'at_' . $connected_account_for_term['username'], $error );
688
  }
699
 
700
  if ( ! empty( $this->post_data ) && is_array( $this->post_data ) ) {
701
  $posts = array_merge( $this->post_data, $posts );
702
+ } elseif ( $one_post_found ) {
703
+ $this->one_post_found = true;
704
  }
705
 
706
  $this->post_data = $posts;
907
  global $sb_instagram_posts_manager;
908
 
909
  if ( empty( $this->post_data ) && ! empty( $connected_accounts_for_feed ) ) {
910
+ $this->handle_no_posts_found( $settings, $feed_types_and_terms );
 
 
 
911
  }
912
  $posts = array_slice( $this->post_data, 0, $settings['minnum'] );
913
  $header_data = ! empty( $this->header_data ) ? $this->header_data : false;
1151
  return $post_set;
1152
  }
1153
 
1154
+ protected function handle_no_posts_found( $settings = array(), $feed_types_and_terms = array() ) {
1155
+ global $sb_instagram_posts_manager;
1156
+
1157
+ $error = '<p><b>' . __( 'Error: No posts found.', 'instagram-feed' ) . '</b>';
1158
+ $error .= '<p>' . __( 'Make sure this account has posts available on instagram.com.', 'instagram-feed' ) . '</p>';
1159
+
1160
+ $error .= '<p><a href="https://smashballoon.com/instagram-feed/docs/errors/">' . __( 'Click here to troubleshoot', 'instagram-feed' ) . '</a></p>';
1161
+
1162
+ $sb_instagram_posts_manager->add_frontend_error( 'noposts', $error );
1163
+ }
1164
+
1165
  protected function remove_duplicate_posts() {
1166
  $posts = $this->post_data;
1167
  $ids_in_feed = array();
inc/class-sb-instagram-parse.php CHANGED
@@ -135,9 +135,11 @@ class SB_Instagram_Parse
135
  * @return array
136
  *
137
  * @since 2.0/5.0
 
138
  */
139
  public static function get_media_src_set( $post, $resized_images = array() ) {
140
  $media_urls = array(
 
141
  '150' => '',
142
  '320' => '',
143
  '640' => ''
135
  * @return array
136
  *
137
  * @since 2.0/5.0
138
+ * @since 2.1.3/5.2.3 added 'd' element as a default backup from the API
139
  */
140
  public static function get_media_src_set( $post, $resized_images = array() ) {
141
  $media_urls = array(
142
+ 'd' => SB_Instagram_Parse::get_media_url( $post ),
143
  '150' => '',
144
  '320' => '',
145
  '640' => ''
inc/class-sb-instagram-post.php CHANGED
@@ -434,15 +434,23 @@ class SB_Instagram_Post
434
  $feed_id_array = explode( '#', $transient_name );
435
  $feed_id = $feed_id_array[0];
436
 
437
- $entry_data = array(
438
- $this->db_id,
439
- "'" . esc_sql( $this->instagram_api_data['id'] ) . "'",
440
- "'" . esc_sql( $feed_id ) . "'"
441
- );
442
- $entry_string = implode( ',',$entry_data );
 
443
 
444
- $error = $wpdb->query( "INSERT INTO $table_name
445
  (id,instagram_id,feed_id) VALUES ($entry_string);" );
 
 
 
 
 
 
 
446
 
447
  if ( $error !== false ) {
448
  return $wpdb->insert_id;
434
  $feed_id_array = explode( '#', $transient_name );
435
  $feed_id = $feed_id_array[0];
436
 
437
+ if ( ! empty( $this->db_id ) ) {
438
+ $entry_data = array(
439
+ $this->db_id,
440
+ "'" . esc_sql( $this->instagram_api_data['id'] ) . "'",
441
+ "'" . esc_sql( $feed_id ) . "'"
442
+ );
443
+ $entry_string = implode( ',',$entry_data );
444
 
445
+ $error = $wpdb->query( "INSERT INTO $table_name
446
  (id,instagram_id,feed_id) VALUES ($entry_string);" );
447
+ } else {
448
+ global $sb_instagram_posts_manager;
449
+
450
+ $sb_instagram_posts_manager->add_error( 'database_insert_post', array( __( 'Error inserting post.', 'instagram-feed' ), __( 'No database ID.', 'instagram-feed' ) ) );
451
+ return false;
452
+ }
453
+
454
 
455
  if ( $error !== false ) {
456
  return $wpdb->insert_id;
inc/class-sb-instagram-posts-manager.php CHANGED
@@ -360,6 +360,10 @@ class SB_Instagram_Posts_Manager
360
  return $this->frontend_errors = array();
361
  }
362
 
 
 
 
 
363
  /**
364
  * @since 2.0/5.1.2
365
  */
@@ -378,8 +382,17 @@ class SB_Instagram_Posts_Manager
378
  $is_delay = (get_transient( SBI_USE_BACKUP_PREFIX . 'sbi_delay_requests' ) !== false);
379
 
380
  if ( $is_delay ) {
381
- $error = '<p><b>' . sprintf( __( 'Error: API requests are being delayed.', 'instagram-feed' ) ) . ' ' . __( 'New posts will not be retrieved.', 'instagram-feed' ) . '</b>';
382
- $error .= '<p>' . __( 'There may be an issue with the Instagram access token that you are using. Your server might also be unable to connect to Instagram at this time.', 'instagram-feed' );
 
 
 
 
 
 
 
 
 
383
 
384
  $this->add_frontend_error( 'api_delay', $error );
385
 
360
  return $this->frontend_errors = array();
361
  }
362
 
363
+ public function set_status() {
364
+
365
+ }
366
+
367
  /**
368
  * @since 2.0/5.1.2
369
  */
382
  $is_delay = (get_transient( SBI_USE_BACKUP_PREFIX . 'sbi_delay_requests' ) !== false);
383
 
384
  if ( $is_delay ) {
385
+ $error = '<p><b>' . sprintf( __( 'Error: API requests are being delayed.', 'instagram-feed' ) ) . ' ' . __( 'New posts will not be retrieved.', 'instagram-feed' ) . '</b></p>';
386
+ $errors = $this->get_errors();
387
+ if ( ! empty( $errors ) && current_user_can( 'manage_options' ) ) {
388
+ if ( isset( $errors['api'] ) ) {
389
+ $error .= '<p>' . $errors['api'][1] . '</p>';
390
+ } elseif ( isset( $errors['connection'] ) ) {
391
+ $error .= '<p>' . $errors['connection'][1] . '</p>';
392
+ }
393
+ } else {
394
+ $error .= '<p>' . __( 'There may be an issue with the Instagram access token that you are using. Your server might also be unable to connect to Instagram at this time.', 'instagram-feed' ) . '</p>';
395
+ }
396
 
397
  $this->add_frontend_error( 'api_delay', $error );
398
 
instagram-feed.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Smash Balloon Instagram Feed
4
  Plugin URI: https://smashballoon.com/instagram-feed
5
  Description: Display beautifully clean, customizable, and responsive Instagram feeds.
6
- Version: 2.1.2
7
  Author: Smash Balloon
8
  Author URI: https://smashballoon.com/
9
  License: GPLv2 or later
@@ -23,7 +23,7 @@ along with this program; if not, write to the Free Software
23
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24
  */
25
  if ( ! defined( 'SBIVER' ) ) {
26
- define( 'SBIVER', '2.1.2' );
27
  }
28
  // Db version.
29
  if ( ! defined( 'SBI_DBVERSION' ) ) {
@@ -578,4 +578,10 @@ if ( function_exists( 'sb_instagram_feed_init' ) ) {
578
  }
579
 
580
  add_filter( 'wpmu_drop_tables', 'sbi_on_delete_blog' );
 
 
 
 
 
 
581
  }
3
  Plugin Name: Smash Balloon Instagram Feed
4
  Plugin URI: https://smashballoon.com/instagram-feed
5
  Description: Display beautifully clean, customizable, and responsive Instagram feeds.
6
+ Version: 2.1.3
7
  Author: Smash Balloon
8
  Author URI: https://smashballoon.com/
9
  License: GPLv2 or later
23
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24
  */
25
  if ( ! defined( 'SBIVER' ) ) {
26
+ define( 'SBIVER', '2.1.3' );
27
  }
28
  // Db version.
29
  if ( ! defined( 'SBI_DBVERSION' ) ) {
578
  }
579
 
580
  add_filter( 'wpmu_drop_tables', 'sbi_on_delete_blog' );
581
+
582
+ function sbi_text_domain() {
583
+ load_plugin_textdomain( 'instagram-feed', false, basename( dirname(__FILE__) ) . '/languages' );
584
+ }
585
+
586
+ add_action( 'plugins_loaded', 'sbi_text_domain' );
587
  }
js/sb-instagram-2-0-1.js DELETED
@@ -1,840 +0,0 @@
1
- var sbi_js_exists = (typeof sbi_js_exists !== 'undefined') ? true : false;
2
- if(!sbi_js_exists) {
3
- (function($){
4
-
5
- function sbiAddImgLiquid() {
6
- /*! imgLiquid v0.9.944 / 03-05-2013 https://github.com/karacas/imgLiquid */
7
- var sbi_imgLiquid = sbi_imgLiquid || {VER: "0.9.944"};
8
- sbi_imgLiquid.bgs_Available = !1, sbi_imgLiquid.bgs_CheckRunned = !1, function (i) {
9
- function t() {
10
- if (!sbi_imgLiquid.bgs_CheckRunned) {
11
- sbi_imgLiquid.bgs_CheckRunned = !0;
12
- var t = i('<span style="background-size:cover" />');
13
- i("body").append(t), !function () {
14
- var i = t[0];
15
- if (i && window.getComputedStyle) {
16
- var e = window.getComputedStyle(i, null);
17
- e && e.backgroundSize && (sbi_imgLiquid.bgs_Available = "cover" === e.backgroundSize)
18
- }
19
- }(), t.remove()
20
- }
21
- }
22
-
23
- i.fn.extend({
24
- sbi_imgLiquid: function (e) {
25
- this.defaults = {
26
- fill: !0,
27
- verticalAlign: "center",
28
- horizontalAlign: "center",
29
- useBackgroundSize: !0,
30
- useDataHtmlAttr: !0,
31
- responsive: !0,
32
- delay: 0,
33
- fadeInTime: 0,
34
- removeBoxBackground: !0,
35
- hardPixels: !0,
36
- responsiveCheckTime: 500,
37
- timecheckvisibility: 500,
38
- onStart: null,
39
- onFinish: null,
40
- onItemStart: null,
41
- onItemFinish: null,
42
- onItemError: null
43
- }, t();
44
- var a = this;
45
- return this.options = e, this.settings = i.extend({}, this.defaults, this.options), this.settings.onStart && this.settings.onStart(), this.each(function (t) {
46
- function e() {
47
- -1 === u.css("background-image").indexOf(encodeURI(c.attr("src"))) && u.css({"background-image": 'url("' + encodeURI(c.attr("src")) + '")'}), u.css({
48
- "background-size": g.fill ? "cover" : "contain",
49
- "background-position": (g.horizontalAlign + " " + g.verticalAlign).toLowerCase(),
50
- "background-repeat": "no-repeat"
51
- }), i("a:first", u).css({
52
- display: "block",
53
- width: "100%",
54
- height: "100%"
55
- }), i("img", u).css({display: "none"}), g.onItemFinish && g.onItemFinish(t, u, c), u.addClass("sbi_imgLiquid_bgSize"), u.addClass("sbi_imgLiquid_ready"), l()
56
- }
57
-
58
- function o() {
59
- function e() {
60
- c.data("sbi_imgLiquid_error") || c.data("sbi_imgLiquid_loaded") || c.data("sbi_imgLiquid_oldProcessed") || (u.is(":visible") && c[0].complete && c[0].width > 0 && c[0].height > 0 ? (c.data("sbi_imgLiquid_loaded", !0), setTimeout(r, t * g.delay)) : setTimeout(e, g.timecheckvisibility))
61
- }
62
-
63
- if (c.data("oldSrc") && c.data("oldSrc") !== c.attr("src")) {
64
- var a = c.clone().removeAttr("style");
65
- return a.data("sbi_imgLiquid_settings", c.data("sbi_imgLiquid_settings")), c.parent().prepend(a), c.remove(), c = a, c[0].width = 0, void setTimeout(o, 10)
66
- }
67
- return c.data("sbi_imgLiquid_oldProcessed") ? void r() : (c.data("sbi_imgLiquid_oldProcessed", !1), c.data("oldSrc", c.attr("src")), i("img:not(:first)", u).css("display", "none"), u.css({overflow: "hidden"}), c.fadeTo(0, 0).removeAttr("width").removeAttr("height").css({
68
- visibility: "visible",
69
- "max-width": "none",
70
- "max-height": "none",
71
- width: "auto",
72
- height: "auto",
73
- display: "block"
74
- }), c.on("error", n), c[0].onerror = n, e(), void d())
75
- }
76
-
77
- function d() {
78
- (g.responsive || c.data("sbi_imgLiquid_oldProcessed")) && c.data("sbi_imgLiquid_settings") && (g = c.data("sbi_imgLiquid_settings"), u.actualSize = u.get(0).offsetWidth + u.get(0).offsetHeight / 1e4, u.sizeOld && u.actualSize !== u.sizeOld && r(), u.sizeOld = u.actualSize, setTimeout(d, g.responsiveCheckTime))
79
- }
80
-
81
- function n() {
82
- c.data("sbi_imgLiquid_error", !0), u.addClass("sbi_imgLiquid_error"), g.onItemError && g.onItemError(t, u, c), l()
83
- }
84
-
85
- function s() {
86
- var i = {};
87
- if (a.settings.useDataHtmlAttr) {
88
- var t = u.attr("data-sbi_imgLiquid-fill"),
89
- e = u.attr("data-sbi_imgLiquid-horizontalAlign"),
90
- o = u.attr("data-sbi_imgLiquid-verticalAlign");
91
- ("true" === t || "false" === t) && (i.fill = Boolean("true" === t)), void 0 === e || "left" !== e && "center" !== e && "right" !== e && -1 === e.indexOf("%") || (i.horizontalAlign = e), void 0 === o || "top" !== o && "bottom" !== o && "center" !== o && -1 === o.indexOf("%") || (i.verticalAlign = o)
92
- }
93
- return sbi_imgLiquid.isIE && a.settings.ieFadeInDisabled && (i.fadeInTime = 0), i
94
- }
95
-
96
- function r() {
97
- var i, e, a, o, d, n, s, r, m = 0, h = 0, f = u.width(), v = u.height();
98
- void 0 === c.data("owidth") && c.data("owidth", c[0].width), void 0 === c.data("oheight") && c.data("oheight", c[0].height), g.fill === f / v >= c.data("owidth") / c.data("oheight") ? (i = "100%", e = "auto", a = Math.floor(f), o = Math.floor(f * (c.data("oheight") / c.data("owidth")))) : (i = "auto", e = "100%", a = Math.floor(v * (c.data("owidth") / c.data("oheight"))), o = Math.floor(v)), d = g.horizontalAlign.toLowerCase(), s = f - a, "left" === d && (h = 0), "center" === d && (h = .5 * s), "right" === d && (h = s), -1 !== d.indexOf("%") && (d = parseInt(d.replace("%", ""), 10), d > 0 && (h = s * d * .01)), n = g.verticalAlign.toLowerCase(), r = v - o, "left" === n && (m = 0), "center" === n && (m = .5 * r), "bottom" === n && (m = r), -1 !== n.indexOf("%") && (n = parseInt(n.replace("%", ""), 10), n > 0 && (m = r * n * .01)), g.hardPixels && (i = a, e = o), c.css({
99
- width: i,
100
- height: e,
101
- "margin-left": Math.floor(h),
102
- "margin-top": Math.floor(m)
103
- }), c.data("sbi_imgLiquid_oldProcessed") || (c.fadeTo(g.fadeInTime, 1), c.data("sbi_imgLiquid_oldProcessed", !0), g.removeBoxBackground && u.css("background-image", "none"), u.addClass("sbi_imgLiquid_nobgSize"), u.addClass("sbi_imgLiquid_ready")), g.onItemFinish && g.onItemFinish(t, u, c), l()
104
- }
105
-
106
- function l() {
107
- t === a.length - 1 && a.settings.onFinish && a.settings.onFinish()
108
- }
109
-
110
- var g = a.settings, u = i(this), c = i("img:first", u);
111
- return c.length ? (c.data("sbi_imgLiquid_settings") ? (u.removeClass("sbi_imgLiquid_error").removeClass("sbi_imgLiquid_ready"), g = i.extend({}, c.data("sbi_imgLiquid_settings"), a.options)) : g = i.extend({}, a.settings, s()), c.data("sbi_imgLiquid_settings", g), g.onItemStart && g.onItemStart(t, u, c), void (sbi_imgLiquid.bgs_Available && g.useBackgroundSize ? e() : o())) : void n()
112
- })
113
- }
114
- })
115
- }(jQuery);
116
-
117
- // Use imagefill to set the images as backgrounds so they can be square
118
- !function () {
119
- var css = sbi_imgLiquid.injectCss,
120
- head = document.getElementsByTagName('head')[0],
121
- style = document.createElement('style');
122
- style.type = 'text/css';
123
- if (style.styleSheet) {
124
- style.styleSheet.cssText = css;
125
- } else {
126
- style.appendChild(document.createTextNode(css));
127
- }
128
- head.appendChild(style);
129
- }();
130
- }
131
-
132
- function sbiAddVisibilityListener() {
133
- /* Detect when element becomes visible. Used for when the feed is initially hidden, in a tab for example. https://github.com/shaunbowe/jquery.visibilityChanged */
134
- !function (i) {
135
- var n = {
136
- callback: function () {
137
- }, runOnLoad: !0, frequency: 100, sbiPreviousVisibility: null
138
- }, c = {};
139
- c.sbiCheckVisibility = function (i, n) {
140
- if (jQuery.contains(document, i[0])) {
141
- var e = n.sbiPreviousVisibility, t = i.is(":visible");
142
- n.sbiPreviousVisibility = t, null == e ? n.runOnLoad && n.callback(i, t) : e !== t && n.callback(i, t), setTimeout(function () {
143
- c.sbiCheckVisibility(i, n)
144
- }, n.frequency)
145
- }
146
- }, i.fn.sbiVisibilityChanged = function (e) {
147
- var t = i.extend({}, n, e);
148
- return this.each(function () {
149
- c.sbiCheckVisibility(i(this), t)
150
- })
151
- }
152
- }(jQuery);
153
- }
154
-
155
- function Sbi() {
156
- this.feeds = {};
157
- this.options = sb_instagram_js_options;
158
- }
159
-
160
- Sbi.prototype = {
161
- createPage: function (createFeeds, createFeedsArgs) {
162
- if (typeof window.sbiajaxurl === 'undefined' || window.sbiajaxurl.indexOf(window.location.hostname) === -1) {
163
- window.sbiajaxurl = window.location.hostname + '/wp-admin/admin-ajax.php';
164
- }
165
-
166
- $('.sbi_no_js_error_message').remove();
167
- $('.sbi_no_js').removeClass('sbi_no_js');
168
- createFeeds(createFeedsArgs);
169
- },
170
- createFeeds: function (args) {
171
- args.whenFeedsCreated(
172
- $('.sbi').each(function (index) {
173
- $(this).attr('data-sbi-index', index + 1);
174
- var $self = $(this),
175
- flags = typeof $self.attr('data-sbi-flags') !== 'undefined' ? $self.attr('data-sbi-flags').split(',') : [],
176
- general = typeof $self.attr('data-options') !== 'undefined' ? JSON.parse($self.attr('data-options')) : {};
177
- if (flags.indexOf('testAjax') > -1) {
178
- window.sbi.triggeredTest = true;
179
- var submitData = {
180
- 'action' : 'sbi_on_ajax_test_trigger'
181
- },
182
- onSuccess = function(data) {
183
- console.log('did test');
184
- };
185
- sbiAjax(submitData,onSuccess)
186
- }
187
- var feedOptions = {
188
- cols : $self.attr('data-cols'),
189
- colsmobile : $self.attr('data-colsmobile') !== 'same' ? $self.attr('data-colsmobile') : $self.attr('data-cols'),
190
- num : $self.attr('data-num'),
191
- imgRes : $self.attr('data-res'),
192
- feedID : $self.attr('data-feedid'),
193
- shortCodeAtts : $self.attr('data-shortcode-atts'),
194
- resizingEnabled : (flags.indexOf('resizeDisable') === -1),
195
- imageLoadEnabled : (flags.indexOf('imageLoadDisable') === -1),
196
- debugEnabled : (flags.indexOf('debug') > -1),
197
- favorLocal : (flags.indexOf('favorLocal') > -1),
198
- ajaxPostLoad : (flags.indexOf('ajaxPostLoad') > -1),
199
- autoMinRes : 1,
200
- general : general
201
- };
202
-
203
- window.sbi.feeds[index] = sbiGetNewFeed(this, index, feedOptions);
204
- window.sbi.feeds[index].setResizedImages();
205
- window.sbi.feeds[index].init();
206
-
207
- var evt = jQuery.Event('sbiafterfeedcreate');
208
- evt.feed = window.sbi.feeds[index];
209
- jQuery(window).trigger(evt);
210
-
211
- })
212
- );
213
- },
214
- afterFeedsCreated: function () {
215
- // enable header hover action
216
- $('.sb_instagram_header').each(function () {
217
- var $thisHeader = $(this);
218
- $thisHeader.find('.sbi_header_link').hover(function () {
219
- $thisHeader.find('.sbi_header_img_hover').addClass('sbi_fade_in');
220
- }, function () {
221
- $thisHeader.find('.sbi_header_img_hover').removeClass('sbi_fade_in');
222
- });
223
- });
224
-
225
- },
226
- encodeHTML: function(raw) {
227
- // make sure passed variable is defined
228
- if (typeof raw === 'undefined') {
229
- return '';
230
- }
231
- // replace greater than and less than symbols with html entity to disallow html in comments
232
- var encoded = raw.replace(/(>)/g,'&gt;'),
233
- encoded = encoded.replace(/(<)/g,'&lt;');
234
- encoded = encoded.replace(/(&lt;br\/&gt;)/g,'<br>');
235
- encoded = encoded.replace(/(&lt;br&gt;)/g,'<br>');
236
-
237
- return encoded;
238
- },
239
- urlDetect: function(text) {
240
- var urlRegex = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g;
241
- return text.match(urlRegex);
242
- }
243
- };
244
-
245
- function SbiFeed(el, index, settings) {
246
- this.el = el;
247
- this.index = index;
248
- this.settings = settings;
249
- this.minImageWidth = 0;
250
- this.imageResolution = 150;
251
- this.resizedImages = {};
252
- this.needsResizing = [];
253
- this.outOfPages = false;
254
- this.isInitialized = false;
255
- }
256
-
257
- SbiFeed.prototype = {
258
- init: function() {
259
- var feed = this;
260
- if (this.settings.ajaxPostLoad) {
261
- this.getNewPostSet();
262
- } else {
263
- this.afterInitialImagesLoaded();
264
- //Only check the width once the resize event is over
265
- var sbi_delay = (function () {
266
- var sbi_timer = 0;
267
- return function (sbi_callback, sbi_ms) {
268
- clearTimeout(sbi_timer);
269
- sbi_timer = setTimeout(sbi_callback, sbi_ms);
270
- };
271
- })();
272
- jQuery(window).resize(function () {
273
- sbi_delay(function () {
274
- feed.afterResize();
275
- }, 500);
276
- });
277
- }
278
-
279
- },
280
- initLayout: function() {
281
-
282
- },
283
- afterInitialImagesLoaded: function() {
284
- this.initLayout();
285
- this.loadMoreButtonInit();
286
- this.hideExtraImagesForWidth();
287
- this.beforeNewImagesRevealed();
288
- this.revealNewImages();
289
- this.afterNewImagesRevealed();
290
- },
291
- afterResize: function() {
292
- this.setImageHeight();
293
- this.setImageResolution();
294
- this.maybeRaiseImageResolution();
295
- this.setImageSizeClass();
296
- },
297
- afterLoadMoreClicked: function($button) {
298
- $button.find('.sbi_loader').removeClass('sbi_hidden');
299
- $button.find('.sbi_btn_text').addClass('sbi_hidden');
300
- $button.closest('.sbi').find('.sbi_num_diff_hide').addClass('sbi_transition').removeClass('sbi_num_diff_hide');
301
- },
302
- afterNewImagesLoaded: function() {
303
- var $self = $(this.el),
304
- feed = this;
305
- this.beforeNewImagesRevealed();
306
- this.revealNewImages();
307
- this.afterNewImagesRevealed();
308
- setTimeout(function () {
309
- //Hide the loader in the load more button
310
- $self.find('.sbi_loader').addClass('sbi_hidden');
311
- $self.find('.sbi_btn_text').removeClass('sbi_hidden');
312
- }, 500);
313
- },
314
- beforeNewImagesRevealed: function() {
315
- this.setImageHeight();
316
- this.maybeRaiseImageResolution(true);
317
- this.setImageSizeClass();
318
- },
319
- revealNewImages: function() {
320
- var $self = $(this.el),
321
- feed = this;
322
-
323
- // Call Custom JS if it exists
324
- if (typeof sbi_custom_js == 'function') setTimeout(function(){ sbi_custom_js(); }, 100);
325
-
326
- this.applyImageLiquid();
327
- $self.find('.sbi_item').each(function (index) {
328
- var $self = jQuery(this);
329
-
330
- //Photo links
331
- //If lightbox is disabled
332
- $self.find('.sbi_photo').hover(function () {
333
- jQuery(this).fadeTo(200, 0.85);
334
- }, function () {
335
- jQuery(this).stop().fadeTo(500, 1);
336
- });
337
-
338
- }); //End .sbi_item each
339
-
340
- //Remove the new class after 500ms, once the sorting is done
341
- setTimeout(function () {
342
- jQuery('#sbi_images .sbi_item.sbi_new').removeClass('sbi_new');
343
- //Loop through items and remove class to reveal them
344
- var time = 10;
345
- $self.find('.sbi_transition').each(function() {
346
- var $sbi_item_transition_el = jQuery(this);
347
-
348
- setTimeout( function(){
349
- $sbi_item_transition_el.removeClass('sbi_transition');
350
- }, time);
351
- time += 10;
352
- });
353
- }, 500);
354
- },
355
- afterNewImagesRevealed: function() {
356
- this.listenForVisibilityChange();
357
- this.sendNeedsResizingToServer();
358
-
359
- var evt = $.Event('sbiafterimagesloaded');
360
- evt.el = $(this.el);
361
- $(window).trigger(evt);
362
- },
363
- setResizedImages: function () {
364
- if ($(this.el).find('.sbi_resized_image_data').length
365
- && typeof $(this.el).find('.sbi_resized_image_data').attr('data-resized') !== 'undefined'
366
- && $(this.el).find('.sbi_resized_image_data').attr('data-resized').indexOf('{"') === 0) {
367
- this.resizedImages = JSON.parse($(this.el).find('.sbi_resized_image_data').attr('data-resized'));
368
- $(this.el).find('.sbi_resized_image_data').remove();
369
- }
370
- },
371
- sendNeedsResizingToServer: function() {
372
- var feed = this;
373
- if (feed.needsResizing.length > 0 && feed.settings.resizingEnabled) {
374
- var itemOffset = $(this.el).find('.sbi_item').length;
375
-
376
- var submitData = {
377
- action: 'sbi_resized_images_submit',
378
- needs_resizing: feed.needsResizing,
379
- offset: itemOffset,
380
- feed_id: feed.settings.feedID,
381
- atts: feed.settings.shortCodeAtts,
382
- };
383
- var onSuccess = function(data) {
384
- if (data.trim().indexOf('{') === 0) {
385
- var response = JSON.parse(data);
386
- if (feed.settings.debugEnabled) {
387
- console.log(response);
388
- }
389
- }
390
- };
391
- sbiAjax(submitData,onSuccess);
392
- }
393
- },
394
- loadMoreButtonInit: function () {
395
- var $self = $(this.el),
396
- feed = this;
397
- $self.find('#sbi_load .sbi_load_btn').off().on('click', function () {
398
-
399
- feed.afterLoadMoreClicked(jQuery(this));
400
- feed.getNewPostSet();
401
-
402
- }); //End click event
403
- },
404
- getNewPostSet: function () {
405
- var $self = $(this.el),
406
- feed = this;
407
- var itemOffset = $self.find('.sbi_item').length,
408
- submitData = {
409
- action: 'sbi_load_more_clicked',
410
- offset: itemOffset,
411
- feed_id: feed.settings.feedID,
412
- atts: feed.settings.shortCodeAtts,
413
- current_resolution: feed.imageResolution
414
- };
415
- var onSuccess = function (data) {
416
- if (data.trim().indexOf('{') === 0) {
417
- var response = JSON.parse(data);
418
- if (feed.settings.debugEnabled) {
419
- console.log(response);
420
- }
421
- feed.appendNewPosts(response.html);
422
- feed.addResizedImages(response.resizedImages);
423
- if (feed.settings.ajaxPostLoad) {
424
- feed.settings.ajaxPostLoad = false;
425
- feed.afterInitialImagesLoaded();
426
- } else {
427
- feed.afterNewImagesLoaded();
428
- }
429
-
430
- if (!response.feedStatus.shouldPaginate) {
431
- feed.outOfPages = true;
432
- $self.find('.sbi_load_btn').hide();
433
- } else {
434
- feed.outOfPages = false;
435
- }
436
- }
437
-
438
- };
439
- sbiAjax(submitData, onSuccess);
440
- },
441
- appendNewPosts: function (newPostsHtml) {
442
- var $self = $(this.el),
443
- feed = this;
444
- if ($self.find('#sbi_images .sbi_item').length) {
445
- $self.find('#sbi_images .sbi_item').last().after(newPostsHtml);
446
- } else {
447
- $self.find('#sbi_images').append(newPostsHtml);
448
- }
449
- },
450
- addResizedImages: function (resizedImagesToAdd) {
451
- for (var imageID in resizedImagesToAdd) {
452
- this.resizedImages[imageID] = resizedImagesToAdd[imageID];
453
- }
454
- },
455
- setImageHeight: function() {
456
- var $self = $(this.el);
457
-
458
- var sbi_photo_width = $self.find('.sbi_photo').eq(0).innerWidth();
459
-
460
- //Figure out number of columns for either desktop or mobile
461
- var sbi_num_cols = this.getColumnCount();
462
-
463
- //Figure out what the width should be using the number of cols
464
- //Figure out what the width should be using the number of cols
465
- var imagesPadding = $self.find('#sbi_images').innerWidth() - $self.find('#sbi_images').width(),
466
- imagepadding = imagesPadding / 2;
467
- sbi_photo_width_manual = ( $self.find('#sbi_images').width() / sbi_num_cols ) - imagesPadding;
468
- //If the width is less than it should be then set it manually
469
- //if( sbi_photo_width <= (sbi_photo_width_manual) ) sbi_photo_width = sbi_photo_width_manual;
470
-
471
- $self.find('.sbi_photo').css('height', sbi_photo_width);
472
-
473
- //Set the position of the carousel arrows
474
- if ($self.find('.sbi-owl-nav').length) {
475
- setTimeout(function(){
476
- //If there's 2 rows then adjust position
477
- var sbi_ratio = 2;
478
- if( $self.find('.sbi_owl2row-item').length ) sbi_ratio = 1;
479
-
480
- var sbi_arrows_top = ($self.find('.sbi_photo').eq(0).innerWidth()/sbi_ratio);
481
- sbi_arrows_top += parseInt(imagepadding)*(2+(2-sbi_ratio));
482
- $self.find('.sbi-owl-nav div').css('top', sbi_arrows_top);
483
- }, 100);
484
- }
485
-
486
- },
487
- maybeRaiseSingleImageResolution: function ($item, index, forceChange) {
488
- var feed = this,
489
- imgSrcSet = feed.getImageUrls($item),
490
- currentUrl = $item.find('.sbi_photo img').attr('src'),
491
- currentRes = 150,
492
- imagEl = $item.find('img').get(0),
493
- aspectRatio = currentUrl === window.sbi.options.placeholder ? 1 : imagEl.naturalWidth/imagEl.naturalHeight,
494
- forceChange = typeof forceChange !== 'undefined' ? forceChange : false;
495
-
496
- $.each(imgSrcSet, function (index, value) {
497
- if (value === currentUrl) {
498
- currentRes = parseInt(index);
499
- // If the image has already been changed to an existing real source, don't force the change
500
- forceChange = false;
501
- }
502
- });
503
-
504
- //Image res
505
- var newRes = 640;
506
- switch (feed.settings.imgRes) {
507
- case 'thumb':
508
- newRes = 150;
509
- break;
510
- case 'medium':
511
- newRes = 320;
512
- break;
513
- case 'full':
514
- newRes = 640;
515
- break;
516
- default:
517
- var minImageWidth = Math.max(feed.settings.autoMinRes,$item.find('.sbi_photo').innerWidth()),
518
- thisImageReplace = feed.getBestResolutionForAuto(minImageWidth, aspectRatio, $item);
519
- switch (thisImageReplace) {
520
- case 320:
521
- newRes = 320;
522
- break;
523
- case 150:
524
- newRes = 150;
525
- break;
526
- }
527
- break;
528
- }
529
-
530
- if (newRes > currentRes || currentUrl === window.sbi.options.placeholder || forceChange) {
531
- if (feed.settings.debugEnabled) {
532
- var reason = currentUrl === window.sbi.options.placeholder ? 'was placeholder' : 'too small';
533
- console.log('rais res for ' + currentUrl, reason);
534
- }
535
- var newUrl = imgSrcSet[newRes].split("?ig_cache_key")[0];
536
- $item.find('.sbi_photo img').attr('src', newUrl);
537
- $item.find('.sbi_photo').css('background-image', 'url("' + newUrl + '")');
538
-
539
- var checked = false;
540
- $item.find('.sbi_photo img').on('load', function () {
541
-
542
- var $this_image = $(this);
543
- var newAspectRatio = ($this_image.get(0).naturalWidth / $this_image.get(0).naturalHeight);
544
-
545
- if ($this_image.get(0).naturalWidth !== 1000 && newAspectRatio > aspectRatio && !checked) {
546
- if (feed.settings.debugEnabled) {
547
- console.log('rais res again for aspect ratio change ' + currentUrl);
548
- }
549
- checked = true;
550
- minImageWidth = $item.find('.sbi_photo').innerWidth();
551
- thisImageReplace = feed.getBestResolutionForAuto(minImageWidth, newAspectRatio, $item);
552
- newRes = 640;
553
- switch (thisImageReplace) {
554
- case 320:
555
- newRes = 320;
556
- break;
557
- case 150:
558
- newRes = 150;
559
- break;
560
- }
561
-
562
- if (newRes > currentRes) {
563
- newUrl = imgSrcSet[newRes].split("?ig_cache_key")[0];
564
- $this_image.attr('src', newUrl);
565
- $this_image.closest('.sbi_photo').css('background-image', 'url("' + newUrl + '")');
566
- }
567
- if (feed.layout === 'masonry' || feed.layout === 'highlight') {
568
- $(feed.el).find('#sbi_images').smashotope(feed.isotopeArgs);
569
- setTimeout(function() {
570
- $(feed.el).find('#sbi_images').smashotope(feed.isotopeArgs);
571
- },500)
572
- }
573
- } else {
574
- if (feed.settings.debugEnabled) {
575
- var reason = checked ? 'already checked' : 'no aspect ratio change';
576
- console.log('not raising res for replacement ' + currentUrl, reason);
577
- }
578
- }
579
- });
580
-
581
- }
582
-
583
- $item.find('img').on('error', function () {
584
- if (!$(this).hasClass('sbi_img_error')) {
585
- $(this).addClass('sbi_img_error');
586
- var sourceFromAPI = ($(this).attr('src').indexOf('media?size=') > -1 || $(this).attr('src').indexOf('cdninstagram') > -1 || $(this).attr('src').indexOf('fbcdn') > -1)
587
-
588
- if (!sourceFromAPI) {
589
- if (typeof $(this).closest('.sbi_photo').attr('data-full-res') !== 'undefined') {
590
- $(this).attr('src', $(this).closest('.sbi_photo').attr('data-full-res'));
591
- $(this).closest('.sbi_photo').css('background-image', 'url(' + $(this).closest('.sbi_photo').attr('data-full-res') + ')');
592
- } else if ($(this).closest('.sbi_photo').attr('href') !== 'undefined') {
593
- $(this).attr('src', $(this).closest('.sbi_photo').attr('href') + 'media?size=l');
594
- $(this).closest('.sbi_photo').css('background-image', 'url(' + $(this).closest('.sbi_photo').attr('href') + 'media?size=l)');
595
- }
596
- } else {
597
- feed.settings.favorLocal = true;
598
- var srcSet = feed.getImageUrls($(this).closest('.sbi_item'));
599
- if (typeof srcSet[640] !== 'undefined') {
600
- $(this).attr('src', srcSet[640]);
601
- $(this).closest('.sbi_photo').css('background-image', 'url(' + srcSet[640] + ')');
602
- }
603
- }
604
- setTimeout(function() {
605
- feed.afterResize();
606
- }, 1500)
607
- } else {
608
- console.log('unfixed error ' + $(this).attr('src'));
609
- }
610
- });
611
- },
612
- maybeRaiseImageResolution: function (justNew) {
613
- var feed = this,
614
- itemsSelector = typeof justNew !== 'undefined' && justNew === true ? '.sbi_item.sbi_new' : '.sbi_item',
615
- forceChange = !feed.isInitialized ? true : false;
616
- $(feed.el).find(itemsSelector).each(function (index) {
617
- if (!$(this).hasClass('sbi_num_diff_hide')
618
- && $(this).find('.sbi_photo').length
619
- && typeof $(this).find('.sbi_photo').attr('data-img-src-set') !== 'undefined') {
620
- feed.maybeRaiseSingleImageResolution($(this),index,forceChange);
621
- }
622
- }); //End .sbi_item each
623
- feed.isInitialized = true;
624
- },
625
- getBestResolutionForAuto: function(colWidth, aspectRatio, $item) {
626
- if (isNaN(aspectRatio) || aspectRatio < 1) {
627
- aspectRatio = 1;
628
- }
629
- var bestWidth = colWidth * aspectRatio,
630
- bestWidthRounded = Math.ceil(bestWidth / 10) * 10,
631
- customSizes = [150, 320, 640];
632
-
633
- if ($item.hasClass('sbi_highlighted')) {
634
- bestWidthRounded = bestWidthRounded *2;
635
- }
636
-
637
- if (customSizes.indexOf(parseInt(bestWidthRounded)) === -1) {
638
- var done = false;
639
- $.each(customSizes, function (index, item) {
640
- if (item > parseInt(bestWidthRounded) && !done) {
641
- bestWidthRounded = item;
642
-
643
- done = true;
644
- }
645
- });
646
- }
647
-
648
- return bestWidthRounded;
649
- },
650
- hideExtraImagesForWidth: function() {
651
- if (this.layout === 'carousel') {
652
- return;
653
- }
654
- var $self = $(this.el),
655
- num = typeof $self.attr('data-num') !== 'undefined' && $self.attr('data-num') !== '' ? parseInt($self.attr('data-num')) : 1,
656
- nummobile = typeof $self.attr('data-nummobile') !== 'undefined' && $self.attr('data-nummobile') !== '' ? parseInt($self.attr('data-nummobile')) : num;
657
-
658
- if ($(window).width() < 480) {
659
- if (nummobile < $self.find('.sbi_item').length) {
660
- $self.find('.sbi_item').slice(nummobile - $self.find('.sbi_item').length).addClass('sbi_num_diff_hide');
661
- }
662
- } else {
663
- if (num < $self.find('.sbi_item').length) {
664
- $self.find('.sbi_item').slice(num - $self.find('.sbi_item').length).addClass('sbi_num_diff_hide');
665
- }
666
- }
667
- },
668
- setImageSizeClass: function () {
669
- var $self = $(this.el);
670
- $self.removeClass('sbi_small sbi_medium');
671
- var feedWidth = $self.innerWidth(),
672
- photoPadding = parseInt(($self.find('#sbi_images').outerWidth() - $self.find('#sbi_images').width())) / 2,
673
- cols = this.getColumnCount(),
674
- feedWidthSansPadding = feedWidth - (photoPadding * (cols+2)),
675
- colWidth = (feedWidthSansPadding / cols);
676
- if (colWidth > 120 && colWidth < 240) {
677
- $self.addClass('sbi_medium');
678
- } else if (colWidth <= 120) {
679
- $self.addClass('sbi_small');
680
- }
681
- },
682
- setMinImageWidth: function () {
683
- if ($(this.el).find('.sbi_item .sbi_photo').first().length) {
684
- this.minImageWidth = $(this.el).find('.sbi_item .sbi_photo').first().innerWidth();
685
- } else {
686
- this.minImageWidth = 150;
687
- }
688
- },
689
- setImageResolution: function () {
690
- if (this.settings.imgRes === 'auto') {
691
- this.imageResolution = 'auto';
692
- } else {
693
- switch (this.settings.imgRes) {
694
- case 'thumb':
695
- this.imageResolution = 150;
696
- break;
697
- case 'medium':
698
- this.imageResolution = 320;
699
- break;
700
- default:
701
- this.imageResolution = 640;
702
- }
703
- }
704
- },
705
- getImageUrls: function ($item) {
706
- var srcSet = JSON.parse($item.find('.sbi_photo').attr('data-img-src-set').replace(/\\\//g, '/')),
707
- id = $item.attr('id').replace('sbi_', '');
708
- if (typeof this.resizedImages[id] !== 'undefined'
709
- && this.resizedImages[id] !== 'video'
710
- && this.resizedImages[id] !== 'pending'
711
- && this.resizedImages[id].id !== 'error'
712
- && this.resizedImages[id].id !== 'video'
713
- && this.resizedImages[id].id !== 'pending') {
714
- if (typeof this.resizedImages[id]['sizes'] !== 'undefined') {
715
- var foundSizes = [];
716
- if (typeof this.resizedImages[id]['sizes']['full'] !== 'undefined') {
717
- foundSizes.push(640);
718
- srcSet[640] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg';
719
- $item.find('.sbi_link_area').attr( 'href', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg' );
720
- $item.find('.sbi_photo').attr( 'data-full-res', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg' );
721
- }
722
- if (typeof this.resizedImages[id]['sizes']['low'] !== 'undefined') {
723
- foundSizes.push(320);
724
- srcSet[320] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg';
725
- if (this.settings.favorLocal && typeof this.resizedImages[id]['sizes']['full'] === 'undefined') {
726
- $item.find('.sbi_link_area').attr( 'href', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg' );
727
- $item.find('.sbi_photo').attr( 'data-full-res', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg' );
728
- }
729
- }
730
- if (typeof this.resizedImages[id]['sizes']['thumb'] !== 'undefined') {
731
- foundSizes.push(150);
732
- srcSet[150] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'thumb.jpg';
733
- }
734
- if (this.settings.favorLocal) {
735
- if (foundSizes.indexOf(640) === -1) {
736
- if (foundSizes.indexOf(320) > -1) {
737
- srcSet[640] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg';
738
- }
739
- }
740
- if (foundSizes.indexOf(320) === -1) {
741
- if (foundSizes.indexOf(640) > -1) {
742
- srcSet[320] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg';
743
- } else if (foundSizes.indexOf(150) > -1) {
744
- srcSet[320] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'thumb.jpg';
745
- }
746
- }
747
- if (foundSizes.indexOf(150) === -1) {
748
- if (foundSizes.indexOf(320) > -1) {
749
- srcSet[150] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg';
750
- } else if (foundSizes.indexOf(640) > -1) {
751
- srcSet[150] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg';
752
- }
753
- }
754
- }
755
- }
756
- } else if (typeof this.resizedImages[id] === 'undefined'
757
- || this.resizedImages[id] !== 'pending') {
758
- this.addToNeedsResizing(id);
759
- }
760
-
761
- return srcSet;
762
- },
763
- addToNeedsResizing: function (id) {
764
- if (this.needsResizing.indexOf(id) === -1) {
765
- this.needsResizing.push(id);
766
- }
767
- },
768
- applyImageLiquid: function () {
769
- var $self = $(this.el),
770
- feed = this;
771
- sbiAddImgLiquid();
772
- if (typeof $self.find(".sbi_photo").sbi_imgLiquid == 'function') {
773
- $self.find(".sbi_photo").sbi_imgLiquid({fill: true});
774
- }
775
- },
776
- listenForVisibilityChange: function() {
777
- var feed = this;
778
- sbiAddVisibilityListener();
779
- if (typeof $(this.el).filter(':hidden').sbiVisibilityChanged == 'function') {
780
- //If the feed is initially hidden (in a tab for example) then check for when it becomes visible and set then set the height
781
- $(this.el).filter(':hidden').sbiVisibilityChanged({
782
- callback: function (element, visible) {
783
- feed.afterResize();
784
- },
785
- runOnLoad: false
786
- });
787
- }
788
- },
789
- getColumnCount: function() {
790
- var $self = $(this.el),
791
- cols = this.settings.cols,
792
- colsmobile = this.settings.colsmobile,
793
- returnCols = cols;
794
-
795
- sbiWindowWidth = window.innerWidth;
796
-
797
- if ($self.hasClass('sbi_mob_col_auto')) {
798
- if (sbiWindowWidth < 640 && (parseInt(cols) > 2 && parseInt(cols) < 7)) returnCols = 2;
799
- if (sbiWindowWidth < 640 && (parseInt(cols) > 6 && parseInt(cols) < 11)) returnCols = 4;
800
- if (sbiWindowWidth <= 480 && parseInt(cols) > 2) returnCols = 1;
801
- } else if (sbiWindowWidth <= 480) {
802
- returnCols = colsmobile;
803
- }
804
-
805
- return parseInt(returnCols);
806
- }
807
- };
808
-
809
- window.sbi_init = function() {
810
- window.sbi = new Sbi();
811
- window.sbi.createPage( window.sbi.createFeeds, {whenFeedsCreated: window.sbi.afterFeedsCreated});
812
- };
813
-
814
- function sbiGetNewFeed(feed,index,feedOptions) {
815
- return new SbiFeed(feed,index,feedOptions);
816
- }
817
-
818
- function sbiAjax(submitData,onSuccess) {
819
- $.ajax({
820
- url: sbiajaxurl,
821
- type: 'post',
822
- data: submitData,
823
- success: onSuccess
824
- });
825
- }
826
-
827
- })(jQuery);
828
-
829
- jQuery(document).ready(function($) {
830
- if (typeof window.sb_instagram_js_options.resized_url !== 'undefined' && window.sb_instagram_js_options.resized_url.indexOf(location.protocol) === -1) {
831
- if (location.protocol === 'http:') {
832
- window.sb_instagram_js_options.resized_url = window.sb_instagram_js_options.resized_url.replace('http:','https:');
833
- } else {
834
- window.sb_instagram_js_options.resized_url = window.sb_instagram_js_options.resized_url.replace('https:','http:');
835
- }
836
- }
837
- sbi_init();
838
- });
839
-
840
- } // if sbi_js_exists
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/sb-instagram-2-0-1.min.js DELETED
@@ -1 +0,0 @@
1
- var sbi_js_exists=void 0!==sbi_js_exists;sbi_js_exists||(!function(i){function e(){var i,e,t,s=s||{VER:"0.9.944"};s.bgs_Available=!1,s.bgs_CheckRunned=!1,function(i){i.fn.extend({sbi_imgLiquid:function(e){this.defaults={fill:!0,verticalAlign:"center",horizontalAlign:"center",useBackgroundSize:!0,useDataHtmlAttr:!0,responsive:!0,delay:0,fadeInTime:0,removeBoxBackground:!0,hardPixels:!0,responsiveCheckTime:500,timecheckvisibility:500,onStart:null,onFinish:null,onItemStart:null,onItemFinish:null,onItemError:null},function(){if(!s.bgs_CheckRunned){s.bgs_CheckRunned=!0;var e=i('<span style="background-size:cover" />');i("body").append(e),function(){var i=e[0];if(i&&window.getComputedStyle){var t=window.getComputedStyle(i,null);t&&t.backgroundSize&&(s.bgs_Available="cover"===t.backgroundSize)}}(),e.remove()}}();var t=this;return this.options=e,this.settings=i.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each(function(e){function a(){(r.responsive||h.data("sbi_imgLiquid_oldProcessed"))&&h.data("sbi_imgLiquid_settings")&&(r=h.data("sbi_imgLiquid_settings"),l.actualSize=l.get(0).offsetWidth+l.get(0).offsetHeight/1e4,l.sizeOld&&l.actualSize!==l.sizeOld&&o(),l.sizeOld=l.actualSize,setTimeout(a,r.responsiveCheckTime))}function n(){h.data("sbi_imgLiquid_error",!0),l.addClass("sbi_imgLiquid_error"),r.onItemError&&r.onItemError(e,l,h),d()}function o(){var i,t,s,a,n,o,g,u,f=0,m=0,c=l.width(),_=l.height();void 0===h.data("owidth")&&h.data("owidth",h[0].width),void 0===h.data("oheight")&&h.data("oheight",h[0].height),r.fill===c/_>=h.data("owidth")/h.data("oheight")?(i="100%",t="auto",s=Math.floor(c),a=Math.floor(c*(h.data("oheight")/h.data("owidth")))):(i="auto",t="100%",s=Math.floor(_*(h.data("owidth")/h.data("oheight"))),a=Math.floor(_)),g=c-s,"left"===(n=r.horizontalAlign.toLowerCase())&&(m=0),"center"===n&&(m=.5*g),"right"===n&&(m=g),-1!==n.indexOf("%")&&((n=parseInt(n.replace("%",""),10))>0&&(m=g*n*.01)),u=_-a,"left"===(o=r.verticalAlign.toLowerCase())&&(f=0),"center"===o&&(f=.5*u),"bottom"===o&&(f=u),-1!==o.indexOf("%")&&((o=parseInt(o.replace("%",""),10))>0&&(f=u*o*.01)),r.hardPixels&&(i=s,t=a),h.css({width:i,height:t,"margin-left":Math.floor(m),"margin-top":Math.floor(f)}),h.data("sbi_imgLiquid_oldProcessed")||(h.fadeTo(r.fadeInTime,1),h.data("sbi_imgLiquid_oldProcessed",!0),r.removeBoxBackground&&l.css("background-image","none"),l.addClass("sbi_imgLiquid_nobgSize"),l.addClass("sbi_imgLiquid_ready")),r.onItemFinish&&r.onItemFinish(e,l,h),d()}function d(){e===t.length-1&&t.settings.onFinish&&t.settings.onFinish()}var r=t.settings,l=i(this),h=i("img:first",l);return h.length?(h.data("sbi_imgLiquid_settings")?(l.removeClass("sbi_imgLiquid_error").removeClass("sbi_imgLiquid_ready"),r=i.extend({},h.data("sbi_imgLiquid_settings"),t.options)):r=i.extend({},t.settings,function(){var i={};if(t.settings.useDataHtmlAttr){var e=l.attr("data-sbi_imgLiquid-fill"),a=l.attr("data-sbi_imgLiquid-horizontalAlign"),n=l.attr("data-sbi_imgLiquid-verticalAlign");("true"===e||"false"===e)&&(i.fill=Boolean("true"===e)),void 0===a||"left"!==a&&"center"!==a&&"right"!==a&&-1===a.indexOf("%")||(i.horizontalAlign=a),void 0===n||"top"!==n&&"bottom"!==n&&"center"!==n&&-1===n.indexOf("%")||(i.verticalAlign=n)}return s.isIE&&t.settings.ieFadeInDisabled&&(i.fadeInTime=0),i}()),h.data("sbi_imgLiquid_settings",r),r.onItemStart&&r.onItemStart(e,l,h),void(s.bgs_Available&&r.useBackgroundSize?(-1===l.css("background-image").indexOf(encodeURI(h.attr("src")))&&l.css({"background-image":'url("'+encodeURI(h.attr("src"))+'")'}),l.css({"background-size":r.fill?"cover":"contain","background-position":(r.horizontalAlign+" "+r.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),i("a:first",l).css({display:"block",width:"100%",height:"100%"}),i("img",l).css({display:"none"}),r.onItemFinish&&r.onItemFinish(e,l,h),l.addClass("sbi_imgLiquid_bgSize"),l.addClass("sbi_imgLiquid_ready"),d()):function t(){if(h.data("oldSrc")&&h.data("oldSrc")!==h.attr("src")){var s=h.clone().removeAttr("style");return s.data("sbi_imgLiquid_settings",h.data("sbi_imgLiquid_settings")),h.parent().prepend(s),h.remove(),(h=s)[0].width=0,void setTimeout(t,10)}return h.data("sbi_imgLiquid_oldProcessed")?void o():(h.data("sbi_imgLiquid_oldProcessed",!1),h.data("oldSrc",h.attr("src")),i("img:not(:first)",l).css("display","none"),l.css({overflow:"hidden"}),h.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"}),h.on("error",n),h[0].onerror=n,function i(){h.data("sbi_imgLiquid_error")||h.data("sbi_imgLiquid_loaded")||h.data("sbi_imgLiquid_oldProcessed")||(l.is(":visible")&&h[0].complete&&h[0].width>0&&h[0].height>0?(h.data("sbi_imgLiquid_loaded",!0),setTimeout(o,e*r.delay)):setTimeout(i,r.timecheckvisibility))}(),void a())}())):void n()})}})}(jQuery),i=s.injectCss,e=document.getElementsByTagName("head")[0],(t=document.createElement("style")).type="text/css",t.styleSheet?t.styleSheet.cssText=i:t.appendChild(document.createTextNode(i)),e.appendChild(t)}function t(){this.feeds={},this.options=sb_instagram_js_options}function s(i,e,t){this.el=i,this.index=e,this.settings=t,this.minImageWidth=0,this.imageResolution=150,this.resizedImages={},this.needsResizing=[],this.outOfPages=!1,this.isInitialized=!1}function a(e,t){i.ajax({url:sbiajaxurl,type:"post",data:e,success:t})}t.prototype={createPage:function(e,t){void 0!==window.sbiajaxurl&&-1!==window.sbiajaxurl.indexOf(window.location.hostname)||(window.sbiajaxurl=window.location.hostname+"/wp-admin/admin-ajax.php"),i(".sbi_no_js_error_message").remove(),i(".sbi_no_js").removeClass("sbi_no_js"),e(t)},createFeeds:function(e){e.whenFeedsCreated(i(".sbi").each(function(e){i(this).attr("data-sbi-index",e+1);var t=i(this),n=void 0!==t.attr("data-sbi-flags")?t.attr("data-sbi-flags").split(","):[],o=void 0!==t.attr("data-options")?JSON.parse(t.attr("data-options")):{};if(n.indexOf("testAjax")>-1){window.sbi.triggeredTest=!0;a({action:"sbi_on_ajax_test_trigger"},function(i){console.log("did test")})}var d={cols:t.attr("data-cols"),colsmobile:"same"!==t.attr("data-colsmobile")?t.attr("data-colsmobile"):t.attr("data-cols"),num:t.attr("data-num"),imgRes:t.attr("data-res"),feedID:t.attr("data-feedid"),shortCodeAtts:t.attr("data-shortcode-atts"),resizingEnabled:-1===n.indexOf("resizeDisable"),imageLoadEnabled:-1===n.indexOf("imageLoadDisable"),debugEnabled:n.indexOf("debug")>-1,favorLocal:n.indexOf("favorLocal")>-1,ajaxPostLoad:n.indexOf("ajaxPostLoad")>-1,autoMinRes:1,general:o};window.sbi.feeds[e]=function(i,e,t){return new s(i,e,t)}(this,e,d),window.sbi.feeds[e].setResizedImages(),window.sbi.feeds[e].init();var r=jQuery.Event("sbiafterfeedcreate");r.feed=window.sbi.feeds[e],jQuery(window).trigger(r)}))},afterFeedsCreated:function(){i(".sb_instagram_header").each(function(){var e=i(this);e.find(".sbi_header_link").hover(function(){e.find(".sbi_header_img_hover").addClass("sbi_fade_in")},function(){e.find(".sbi_header_img_hover").removeClass("sbi_fade_in")})})},encodeHTML:function(i){return void 0===i?"":i.replace(/(>)/g,"&gt;").replace(/(<)/g,"&lt;").replace(/(&lt;br\/&gt;)/g,"<br>").replace(/(&lt;br&gt;)/g,"<br>")},urlDetect:function(i){return i.match(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)/g)}},s.prototype={init:function(){var i,e=this;if(this.settings.ajaxPostLoad)this.getNewPostSet();else{this.afterInitialImagesLoaded();var t=(i=0,function(e,t){clearTimeout(i),i=setTimeout(e,t)});jQuery(window).resize(function(){t(function(){e.afterResize()},500)})}},initLayout:function(){},afterInitialImagesLoaded:function(){this.initLayout(),this.loadMoreButtonInit(),this.hideExtraImagesForWidth(),this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed()},afterResize:function(){this.setImageHeight(),this.setImageResolution(),this.maybeRaiseImageResolution(),this.setImageSizeClass()},afterLoadMoreClicked:function(i){i.find(".sbi_loader").removeClass("sbi_hidden"),i.find(".sbi_btn_text").addClass("sbi_hidden"),i.closest(".sbi").find(".sbi_num_diff_hide").addClass("sbi_transition").removeClass("sbi_num_diff_hide")},afterNewImagesLoaded:function(){var e=i(this.el);this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed(),setTimeout(function(){e.find(".sbi_loader").addClass("sbi_hidden"),e.find(".sbi_btn_text").removeClass("sbi_hidden")},500)},beforeNewImagesRevealed:function(){this.setImageHeight(),this.maybeRaiseImageResolution(!0),this.setImageSizeClass()},revealNewImages:function(){var e=i(this.el);"function"==typeof sbi_custom_js&&setTimeout(function(){sbi_custom_js()},100),this.applyImageLiquid(),e.find(".sbi_item").each(function(i){jQuery(this).find(".sbi_photo").hover(function(){jQuery(this).fadeTo(200,.85)},function(){jQuery(this).stop().fadeTo(500,1)})}),setTimeout(function(){jQuery("#sbi_images .sbi_item.sbi_new").removeClass("sbi_new");var i=10;e.find(".sbi_transition").each(function(){var e=jQuery(this);setTimeout(function(){e.removeClass("sbi_transition")},i),i+=10})},500)},afterNewImagesRevealed:function(){this.listenForVisibilityChange(),this.sendNeedsResizingToServer();var e=i.Event("sbiafterimagesloaded");e.el=i(this.el),i(window).trigger(e)},setResizedImages:function(){i(this.el).find(".sbi_resized_image_data").length&&void 0!==i(this.el).find(".sbi_resized_image_data").attr("data-resized")&&0===i(this.el).find(".sbi_resized_image_data").attr("data-resized").indexOf('{"')&&(this.resizedImages=JSON.parse(i(this.el).find(".sbi_resized_image_data").attr("data-resized")),i(this.el).find(".sbi_resized_image_data").remove())},sendNeedsResizingToServer:function(){var e=this;if(e.needsResizing.length>0&&e.settings.resizingEnabled){var t=i(this.el).find(".sbi_item").length;a({action:"sbi_resized_images_submit",needs_resizing:e.needsResizing,offset:t,feed_id:e.settings.feedID,atts:e.settings.shortCodeAtts},function(i){if(0===i.trim().indexOf("{")){var t=JSON.parse(i);e.settings.debugEnabled&&console.log(t)}})}},loadMoreButtonInit:function(){var e=i(this.el),t=this;e.find("#sbi_load .sbi_load_btn").off().on("click",function(){t.afterLoadMoreClicked(jQuery(this)),t.getNewPostSet()})},getNewPostSet:function(){var e=i(this.el),t=this;a({action:"sbi_load_more_clicked",offset:e.find(".sbi_item").length,feed_id:t.settings.feedID,atts:t.settings.shortCodeAtts,current_resolution:t.imageResolution},function(i){if(0===i.trim().indexOf("{")){var s=JSON.parse(i);t.settings.debugEnabled&&console.log(s),t.appendNewPosts(s.html),t.addResizedImages(s.resizedImages),t.settings.ajaxPostLoad?(t.settings.ajaxPostLoad=!1,t.afterInitialImagesLoaded()):t.afterNewImagesLoaded(),s.feedStatus.shouldPaginate?t.outOfPages=!1:(t.outOfPages=!0,e.find(".sbi_load_btn").hide())}})},appendNewPosts:function(e){var t=i(this.el);t.find("#sbi_images .sbi_item").length?t.find("#sbi_images .sbi_item").last().after(e):t.find("#sbi_images").append(e)},addResizedImages:function(i){for(var e in i)this.resizedImages[e]=i[e]},setImageHeight:function(){var e=i(this.el),t=e.find(".sbi_photo").eq(0).innerWidth(),s=this.getColumnCount(),a=e.find("#sbi_images").innerWidth()-e.find("#sbi_images").width(),n=a/2;sbi_photo_width_manual=e.find("#sbi_images").width()/s-a,e.find(".sbi_photo").css("height",t),e.find(".sbi-owl-nav").length&&setTimeout(function(){var i=2;e.find(".sbi_owl2row-item").length&&(i=1);var t=e.find(".sbi_photo").eq(0).innerWidth()/i;t+=parseInt(n)*(2-i+2),e.find(".sbi-owl-nav div").css("top",t)},100)},maybeRaiseSingleImageResolution:function(e,t,s){var a=this,n=a.getImageUrls(e),o=e.find(".sbi_photo img").attr("src"),d=150,r=e.find("img").get(0),l=o===window.sbi.options.placeholder?1:r.naturalWidth/r.naturalHeight;s=void 0!==s&&s;i.each(n,function(i,e){e===o&&(d=parseInt(i),s=!1)});var h=640;switch(a.settings.imgRes){case"thumb":h=150;break;case"medium":h=320;break;case"full":h=640;break;default:var g=Math.max(a.settings.autoMinRes,e.find(".sbi_photo").innerWidth()),u=a.getBestResolutionForAuto(g,l,e);switch(u){case 320:h=320;break;case 150:h=150}}if(h>d||o===window.sbi.options.placeholder||s){if(a.settings.debugEnabled){var f=o===window.sbi.options.placeholder?"was placeholder":"too small";console.log("rais res for "+o,f)}var m=n[h].split("?ig_cache_key")[0];e.find(".sbi_photo img").attr("src",m),e.find(".sbi_photo").css("background-image",'url("'+m+'")');var c=!1;e.find(".sbi_photo img").on("load",function(){var t=i(this),s=t.get(0).naturalWidth/t.get(0).naturalHeight;if(1e3!==t.get(0).naturalWidth&&s>l&&!c){switch(a.settings.debugEnabled&&console.log("rais res again for aspect ratio change "+o),c=!0,g=e.find(".sbi_photo").innerWidth(),u=a.getBestResolutionForAuto(g,s,e),h=640,u){case 320:h=320;break;case 150:h=150}h>d&&(m=n[h].split("?ig_cache_key")[0],t.attr("src",m),t.closest(".sbi_photo").css("background-image",'url("'+m+'")')),"masonry"!==a.layout&&"highlight"!==a.layout||(i(a.el).find("#sbi_images").smashotope(a.isotopeArgs),setTimeout(function(){i(a.el).find("#sbi_images").smashotope(a.isotopeArgs)},500))}else if(a.settings.debugEnabled){var r=c?"already checked":"no aspect ratio change";console.log("not raising res for replacement "+o,r)}})}e.find("img").on("error",function(){if(i(this).hasClass("sbi_img_error"))console.log("unfixed error "+i(this).attr("src"));else{if(i(this).addClass("sbi_img_error"),i(this).attr("src").indexOf("media?size=")>-1||i(this).attr("src").indexOf("cdninstagram")>-1||i(this).attr("src").indexOf("fbcdn")>-1){a.settings.favorLocal=!0;var e=a.getImageUrls(i(this).closest(".sbi_item"));void 0!==e[640]&&(i(this).attr("src",e[640]),i(this).closest(".sbi_photo").css("background-image","url("+e[640]+")"))}else void 0!==i(this).closest(".sbi_photo").attr("data-full-res")?(i(this).attr("src",i(this).closest(".sbi_photo").attr("data-full-res")),i(this).closest(".sbi_photo").css("background-image","url("+i(this).closest(".sbi_photo").attr("data-full-res")+")")):"undefined"!==i(this).closest(".sbi_photo").attr("href")&&(i(this).attr("src",i(this).closest(".sbi_photo").attr("href")+"media?size=l"),i(this).closest(".sbi_photo").css("background-image","url("+i(this).closest(".sbi_photo").attr("href")+"media?size=l)"));setTimeout(function(){a.afterResize()},1500)}})},maybeRaiseImageResolution:function(e){var t=this,s=void 0!==e&&!0===e?".sbi_item.sbi_new":".sbi_item",a=!t.isInitialized;i(t.el).find(s).each(function(e){!i(this).hasClass("sbi_num_diff_hide")&&i(this).find(".sbi_photo").length&&void 0!==i(this).find(".sbi_photo").attr("data-img-src-set")&&t.maybeRaiseSingleImageResolution(i(this),e,a)}),t.isInitialized=!0},getBestResolutionForAuto:function(e,t,s){(isNaN(t)||t<1)&&(t=1);var a=e*t,n=10*Math.ceil(a/10),o=[150,320,640];if(s.hasClass("sbi_highlighted")&&(n*=2),-1===o.indexOf(parseInt(n))){var d=!1;i.each(o,function(i,e){e>parseInt(n)&&!d&&(n=e,d=!0)})}return n},hideExtraImagesForWidth:function(){if("carousel"!==this.layout){var e=i(this.el),t=void 0!==e.attr("data-num")&&""!==e.attr("data-num")?parseInt(e.attr("data-num")):1,s=void 0!==e.attr("data-nummobile")&&""!==e.attr("data-nummobile")?parseInt(e.attr("data-nummobile")):t;i(window).width()<480?s<e.find(".sbi_item").length&&e.find(".sbi_item").slice(s-e.find(".sbi_item").length).addClass("sbi_num_diff_hide"):t<e.find(".sbi_item").length&&e.find(".sbi_item").slice(t-e.find(".sbi_item").length).addClass("sbi_num_diff_hide")}},setImageSizeClass:function(){var e=i(this.el);e.removeClass("sbi_small sbi_medium");var t=e.innerWidth(),s=parseInt(e.find("#sbi_images").outerWidth()-e.find("#sbi_images").width())/2,a=this.getColumnCount(),n=(t-s*(a+2))/a;n>120&&n<240?e.addClass("sbi_medium"):n<=120&&e.addClass("sbi_small")},setMinImageWidth:function(){i(this.el).find(".sbi_item .sbi_photo").first().length?this.minImageWidth=i(this.el).find(".sbi_item .sbi_photo").first().innerWidth():this.minImageWidth=150},setImageResolution:function(){if("auto"===this.settings.imgRes)this.imageResolution="auto";else switch(this.settings.imgRes){case"thumb":this.imageResolution=150;break;case"medium":this.imageResolution=320;break;default:this.imageResolution=640}},getImageUrls:function(i){var e=JSON.parse(i.find(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/")),t=i.attr("id").replace("sbi_","");if(void 0!==this.resizedImages[t]&&"video"!==this.resizedImages[t]&&"pending"!==this.resizedImages[t]&&"error"!==this.resizedImages[t].id&&"video"!==this.resizedImages[t].id&&"pending"!==this.resizedImages[t].id){if(void 0!==this.resizedImages[t].sizes){var s=[];void 0!==this.resizedImages[t].sizes.full&&(s.push(640),e[640]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"full.jpg",i.find(".sbi_link_area").attr("href",sb_instagram_js_options.resized_url+this.resizedImages[t].id+"full.jpg"),i.find(".sbi_photo").attr("data-full-res",sb_instagram_js_options.resized_url+this.resizedImages[t].id+"full.jpg")),void 0!==this.resizedImages[t].sizes.low&&(s.push(320),e[320]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"low.jpg",this.settings.favorLocal&&void 0===this.resizedImages[t].sizes.full&&(i.find(".sbi_link_area").attr("href",sb_instagram_js_options.resized_url+this.resizedImages[t].id+"low.jpg"),i.find(".sbi_photo").attr("data-full-res",sb_instagram_js_options.resized_url+this.resizedImages[t].id+"low.jpg"))),void 0!==this.resizedImages[t].sizes.thumb&&(s.push(150),e[150]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"thumb.jpg"),this.settings.favorLocal&&(-1===s.indexOf(640)&&s.indexOf(320)>-1&&(e[640]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"low.jpg"),-1===s.indexOf(320)&&(s.indexOf(640)>-1?e[320]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"full.jpg":s.indexOf(150)>-1&&(e[320]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"thumb.jpg")),-1===s.indexOf(150)&&(s.indexOf(320)>-1?e[150]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"low.jpg":s.indexOf(640)>-1&&(e[150]=sb_instagram_js_options.resized_url+this.resizedImages[t].id+"full.jpg")))}}else void 0!==this.resizedImages[t]&&"pending"===this.resizedImages[t]||this.addToNeedsResizing(t);return e},addToNeedsResizing:function(i){-1===this.needsResizing.indexOf(i)&&this.needsResizing.push(i)},applyImageLiquid:function(){var t=i(this.el);e(),"function"==typeof t.find(".sbi_photo").sbi_imgLiquid&&t.find(".sbi_photo").sbi_imgLiquid({fill:!0})},listenForVisibilityChange:function(){var e,t,s,a=this;e=jQuery,t={callback:function(){},runOnLoad:!0,frequency:100,sbiPreviousVisibility:null},s={sbiCheckVisibility:function(i,e){if(jQuery.contains(document,i[0])){var t=e.sbiPreviousVisibility,a=i.is(":visible");e.sbiPreviousVisibility=a,null==t?e.runOnLoad&&e.callback(i,a):t!==a&&e.callback(i,a),setTimeout(function(){s.sbiCheckVisibility(i,e)},e.frequency)}}},e.fn.sbiVisibilityChanged=function(i){var a=e.extend({},t,i);return this.each(function(){s.sbiCheckVisibility(e(this),a)})},"function"==typeof i(this.el).filter(":hidden").sbiVisibilityChanged&&i(this.el).filter(":hidden").sbiVisibilityChanged({callback:function(i,e){a.afterResize()},runOnLoad:!1})},getColumnCount:function(){var e=i(this.el),t=this.settings.cols,s=this.settings.colsmobile,a=t;return sbiWindowWidth=window.innerWidth,e.hasClass("sbi_mob_col_auto")?(sbiWindowWidth<640&&parseInt(t)>2&&parseInt(t)<7&&(a=2),sbiWindowWidth<640&&parseInt(t)>6&&parseInt(t)<11&&(a=4),sbiWindowWidth<=480&&parseInt(t)>2&&(a=1)):sbiWindowWidth<=480&&(a=s),parseInt(a)}},window.sbi_init=function(){window.sbi=new t,window.sbi.createPage(window.sbi.createFeeds,{whenFeedsCreated:window.sbi.afterFeedsCreated})}}(jQuery),jQuery(document).ready(function(i){void 0!==window.sb_instagram_js_options.resized_url&&-1===window.sb_instagram_js_options.resized_url.indexOf(location.protocol)&&("http:"===location.protocol?window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("http:","https:"):window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("https:","http:")),sbi_init()}));
 
js/sb-instagram-2-1.js CHANGED
@@ -595,12 +595,14 @@ if(!sbi_js_exists) {
595
  var sourceFromAPI = ($(this).attr('src').indexOf('media?size=') > -1 || $(this).attr('src').indexOf('cdninstagram') > -1 || $(this).attr('src').indexOf('fbcdn') > -1)
596
 
597
  if (!sourceFromAPI) {
598
- if (typeof $(this).closest('.sbi_photo').attr('data-full-res') !== 'undefined') {
599
- $(this).attr('src', $(this).closest('.sbi_photo').attr('data-full-res'));
600
- $(this).closest('.sbi_photo').css('background-image', 'url(' + $(this).closest('.sbi_photo').attr('data-full-res') + ')');
601
- } else if ($(this).closest('.sbi_photo').attr('href') !== 'undefined') {
602
- $(this).attr('src', $(this).closest('.sbi_photo').attr('href') + 'media?size=l');
603
- $(this).closest('.sbi_photo').css('background-image', 'url(' + $(this).closest('.sbi_photo').attr('href') + 'media?size=l)');
 
 
604
  }
605
  } else {
606
  feed.settings.favorLocal = true;
@@ -608,6 +610,7 @@ if(!sbi_js_exists) {
608
  if (typeof srcSet[640] !== 'undefined') {
609
  $(this).attr('src', srcSet[640]);
610
  $(this).closest('.sbi_photo').css('background-image', 'url(' + srcSet[640] + ')');
 
611
  }
612
  }
613
  setTimeout(function() {
@@ -724,17 +727,21 @@ if(!sbi_js_exists) {
724
  if (typeof this.resizedImages[id]['sizes'] !== 'undefined') {
725
  var foundSizes = [];
726
  if (typeof this.resizedImages[id]['sizes']['full'] !== 'undefined') {
727
- foundSizes.push(640);
728
- srcSet[640] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg';
729
- $item.find('.sbi_link_area').attr( 'href', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg' );
730
- $item.find('.sbi_photo').attr( 'data-full-res', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg' );
 
 
731
  }
732
  if (typeof this.resizedImages[id]['sizes']['low'] !== 'undefined') {
733
- foundSizes.push(320);
734
- srcSet[320] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg';
735
  if (this.settings.favorLocal && typeof this.resizedImages[id]['sizes']['full'] === 'undefined') {
736
- $item.find('.sbi_link_area').attr( 'href', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg' );
737
- $item.find('.sbi_photo').attr( 'data-full-res', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg' );
 
 
 
 
738
  }
739
  }
740
  if (typeof this.resizedImages[id]['sizes']['thumb'] !== 'undefined') {
595
  var sourceFromAPI = ($(this).attr('src').indexOf('media?size=') > -1 || $(this).attr('src').indexOf('cdninstagram') > -1 || $(this).attr('src').indexOf('fbcdn') > -1)
596
 
597
  if (!sourceFromAPI) {
598
+
599
+ if ($(this).closest('.sbi_photo').attr('data-img-src-set') !== 'undefined') {
600
+ var srcSet = JSON.parse($(this).closest('.sbi_photo').attr('data-img-src-set').replace(/\\\//g, '/'));
601
+ if (typeof srcSet.d !== 'undefined') {
602
+ $(this).attr('src', srcSet.d);
603
+ $(this).closest('.sbi_photo').css('background-image', 'url(' + srcSet.d + ')');
604
+ $(this).closest('.sbi_item').addClass('sbi_had_error').find('.sbi_link_area').attr('href', srcSet[640]).addClass('sbi_had_error');
605
+ }
606
  }
607
  } else {
608
  feed.settings.favorLocal = true;
610
  if (typeof srcSet[640] !== 'undefined') {
611
  $(this).attr('src', srcSet[640]);
612
  $(this).closest('.sbi_photo').css('background-image', 'url(' + srcSet[640] + ')');
613
+ $(this).closest('.sbi_item').addClass('sbi_had_error').find('.sbi_link_area').attr('href', srcSet[640]).addClass('sbi_had_error');
614
  }
615
  }
616
  setTimeout(function() {
727
  if (typeof this.resizedImages[id]['sizes'] !== 'undefined') {
728
  var foundSizes = [];
729
  if (typeof this.resizedImages[id]['sizes']['full'] !== 'undefined') {
730
+ if (! $item.find('.sbi_link_area').hasClass('sbi_had_error') && ! $item.hasClass('sbi_had_error')) {
731
+ foundSizes.push(640);
732
+ srcSet[640] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg';
733
+ $item.find('.sbi_link_area').attr('href', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg');
734
+ $item.find('.sbi_photo').attr('data-full-res', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg');
735
+ }
736
  }
737
  if (typeof this.resizedImages[id]['sizes']['low'] !== 'undefined') {
 
 
738
  if (this.settings.favorLocal && typeof this.resizedImages[id]['sizes']['full'] === 'undefined') {
739
+ if (! $item.find('.sbi_link_area').hasClass('sbi_had_error') && ! $item.hasClass('sbi_had_error')) {
740
+ foundSizes.push(320);
741
+ srcSet[320] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg';
742
+ $item.find('.sbi_link_area').attr( 'href', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg' );
743
+ $item.find('.sbi_photo').attr( 'data-full-res', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg' );
744
+ }
745
  }
746
  }
747
  if (typeof this.resizedImages[id]['sizes']['thumb'] !== 'undefined') {
js/sb-instagram-2-1.min.js CHANGED
@@ -1 +1 @@
1
- var sbi_js_exists=void 0!==sbi_js_exists;sbi_js_exists||(!function(i){function e(){var i,e,s,t=t||{VER:"0.9.944"};t.bgs_Available=!1,t.bgs_CheckRunned=!1,function(i){i.fn.extend({sbi_imgLiquid:function(e){this.defaults={fill:!0,verticalAlign:"center",horizontalAlign:"center",useBackgroundSize:!0,useDataHtmlAttr:!0,responsive:!0,delay:0,fadeInTime:0,removeBoxBackground:!0,hardPixels:!0,responsiveCheckTime:500,timecheckvisibility:500,onStart:null,onFinish:null,onItemStart:null,onItemFinish:null,onItemError:null},function(){if(!t.bgs_CheckRunned){t.bgs_CheckRunned=!0;var e=i('<span style="background-size:cover" />');i("body").append(e),function(){var i=e[0];if(i&&window.getComputedStyle){var s=window.getComputedStyle(i,null);s&&s.backgroundSize&&(t.bgs_Available="cover"===s.backgroundSize)}}(),e.remove()}}();var s=this;return this.options=e,this.settings=i.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each(function(e){function a(){(r.responsive||h.data("sbi_imgLiquid_oldProcessed"))&&h.data("sbi_imgLiquid_settings")&&(r=h.data("sbi_imgLiquid_settings"),l.actualSize=l.get(0).offsetWidth+l.get(0).offsetHeight/1e4,l.sizeOld&&l.actualSize!==l.sizeOld&&o(),l.sizeOld=l.actualSize,setTimeout(a,r.responsiveCheckTime))}function n(){h.data("sbi_imgLiquid_error",!0),l.addClass("sbi_imgLiquid_error"),r.onItemError&&r.onItemError(e,l,h),d()}function o(){var i,s,t,a,n,o,g,u,m=0,f=0,_=l.width(),c=l.height();void 0===h.data("owidth")&&h.data("owidth",h[0].width),void 0===h.data("oheight")&&h.data("oheight",h[0].height),r.fill===_/c>=h.data("owidth")/h.data("oheight")?(i="100%",s="auto",t=Math.floor(_),a=Math.floor(_*(h.data("oheight")/h.data("owidth")))):(i="auto",s="100%",t=Math.floor(c*(h.data("owidth")/h.data("oheight"))),a=Math.floor(c)),g=_-t,"left"===(n=r.horizontalAlign.toLowerCase())&&(f=0),"center"===n&&(f=.5*g),"right"===n&&(f=g),-1!==n.indexOf("%")&&((n=parseInt(n.replace("%",""),10))>0&&(f=g*n*.01)),u=c-a,"left"===(o=r.verticalAlign.toLowerCase())&&(m=0),"center"===o&&(m=.5*u),"bottom"===o&&(m=u),-1!==o.indexOf("%")&&((o=parseInt(o.replace("%",""),10))>0&&(m=u*o*.01)),r.hardPixels&&(i=t,s=a),h.css({width:i,height:s,"margin-left":Math.floor(f),"margin-top":Math.floor(m)}),h.data("sbi_imgLiquid_oldProcessed")||(h.fadeTo(r.fadeInTime,1),h.data("sbi_imgLiquid_oldProcessed",!0),r.removeBoxBackground&&l.css("background-image","none"),l.addClass("sbi_imgLiquid_nobgSize"),l.addClass("sbi_imgLiquid_ready")),r.onItemFinish&&r.onItemFinish(e,l,h),d()}function d(){e===s.length-1&&s.settings.onFinish&&s.settings.onFinish()}var r=s.settings,l=i(this),h=i("img:first",l);return h.length?(h.data("sbi_imgLiquid_settings")?(l.removeClass("sbi_imgLiquid_error").removeClass("sbi_imgLiquid_ready"),r=i.extend({},h.data("sbi_imgLiquid_settings"),s.options)):r=i.extend({},s.settings,function(){var i={};if(s.settings.useDataHtmlAttr){var e=l.attr("data-sbi_imgLiquid-fill"),a=l.attr("data-sbi_imgLiquid-horizontalAlign"),n=l.attr("data-sbi_imgLiquid-verticalAlign");("true"===e||"false"===e)&&(i.fill=Boolean("true"===e)),void 0===a||"left"!==a&&"center"!==a&&"right"!==a&&-1===a.indexOf("%")||(i.horizontalAlign=a),void 0===n||"top"!==n&&"bottom"!==n&&"center"!==n&&-1===n.indexOf("%")||(i.verticalAlign=n)}return t.isIE&&s.settings.ieFadeInDisabled&&(i.fadeInTime=0),i}()),h.data("sbi_imgLiquid_settings",r),r.onItemStart&&r.onItemStart(e,l,h),void(t.bgs_Available&&r.useBackgroundSize?(-1===l.css("background-image").indexOf(encodeURI(h.attr("src")))&&l.css({"background-image":'url("'+encodeURI(h.attr("src"))+'")'}),l.css({"background-size":r.fill?"cover":"contain","background-position":(r.horizontalAlign+" "+r.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),i("a:first",l).css({display:"block",width:"100%",height:"100%"}),i("img",l).css({display:"none"}),r.onItemFinish&&r.onItemFinish(e,l,h),l.addClass("sbi_imgLiquid_bgSize"),l.addClass("sbi_imgLiquid_ready"),d()):function s(){if(h.data("oldSrc")&&h.data("oldSrc")!==h.attr("src")){var t=h.clone().removeAttr("style");return t.data("sbi_imgLiquid_settings",h.data("sbi_imgLiquid_settings")),h.parent().prepend(t),h.remove(),(h=t)[0].width=0,void setTimeout(s,10)}return h.data("sbi_imgLiquid_oldProcessed")?void o():(h.data("sbi_imgLiquid_oldProcessed",!1),h.data("oldSrc",h.attr("src")),i("img:not(:first)",l).css("display","none"),l.css({overflow:"hidden"}),h.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"}),h.on("error",n),h[0].onerror=n,function i(){h.data("sbi_imgLiquid_error")||h.data("sbi_imgLiquid_loaded")||h.data("sbi_imgLiquid_oldProcessed")||(l.is(":visible")&&h[0].complete&&h[0].width>0&&h[0].height>0?(h.data("sbi_imgLiquid_loaded",!0),setTimeout(o,e*r.delay)):setTimeout(i,r.timecheckvisibility))}(),void a())}())):void n()})}})}(jQuery),i=t.injectCss,e=document.getElementsByTagName("head")[0],(s=document.createElement("style")).type="text/css",s.styleSheet?s.styleSheet.cssText=i:s.appendChild(document.createTextNode(i)),e.appendChild(s)}function s(){this.feeds={},this.options=sb_instagram_js_options}function t(i,e,s){this.el=i,this.index=e,this.settings=s,this.minImageWidth=0,this.imageResolution=150,this.resizedImages={},this.needsResizing=[],this.outOfPages=!1,this.isInitialized=!1}function a(e,s){i.ajax({url:sbiajaxurl,type:"post",data:e,success:s})}s.prototype={createPage:function(e,s){void 0!==window.sbiajaxurl&&-1!==window.sbiajaxurl.indexOf(window.location.hostname)||(window.sbiajaxurl=window.location.hostname+"/wp-admin/admin-ajax.php"),i(".sbi_no_js_error_message").remove(),i(".sbi_no_js").removeClass("sbi_no_js"),e(s)},createFeeds:function(e){e.whenFeedsCreated(i(".sbi").each(function(e){i(this).attr("data-sbi-index",e+1);var s=i(this),n=void 0!==s.attr("data-sbi-flags")?s.attr("data-sbi-flags").split(","):[],o=void 0!==s.attr("data-options")?JSON.parse(s.attr("data-options")):{};if(n.indexOf("testAjax")>-1){window.sbi.triggeredTest=!0;a({action:"sbi_on_ajax_test_trigger"},function(i){console.log("did test")})}var d={cols:s.attr("data-cols"),colsmobile:"same"!==s.attr("data-colsmobile")?s.attr("data-colsmobile"):s.attr("data-cols"),num:s.attr("data-num"),imgRes:s.attr("data-res"),feedID:s.attr("data-feedid"),shortCodeAtts:s.attr("data-shortcode-atts"),resizingEnabled:-1===n.indexOf("resizeDisable"),imageLoadEnabled:-1===n.indexOf("imageLoadDisable"),debugEnabled:n.indexOf("debug")>-1,favorLocal:n.indexOf("favorLocal")>-1,ajaxPostLoad:n.indexOf("ajaxPostLoad")>-1,autoMinRes:1,general:o};window.sbi.feeds[e]=function(i,e,s){return new t(i,e,s)}(this,e,d),window.sbi.feeds[e].setResizedImages(),window.sbi.feeds[e].init();var r=jQuery.Event("sbiafterfeedcreate");r.feed=window.sbi.feeds[e],jQuery(window).trigger(r)}))},afterFeedsCreated:function(){i(".sb_instagram_header").each(function(){var e=i(this);e.find(".sbi_header_link").hover(function(){e.find(".sbi_header_img_hover").addClass("sbi_fade_in")},function(){e.find(".sbi_header_img_hover").removeClass("sbi_fade_in")})})},encodeHTML:function(i){return void 0===i?"":i.replace(/(>)/g,"&gt;").replace(/(<)/g,"&lt;").replace(/(&lt;br\/&gt;)/g,"<br>").replace(/(&lt;br&gt;)/g,"<br>")},urlDetect:function(i){return i.match(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)/g)}},t.prototype={init:function(){var i=this;this.settings.ajaxPostLoad?this.getNewPostSet():this.afterInitialImagesLoaded();var e,s=(e=0,function(i,s){clearTimeout(e),e=setTimeout(i,s)});jQuery(window).resize(function(){s(function(){i.afterResize()},500)})},initLayout:function(){},afterInitialImagesLoaded:function(){this.initLayout(),this.loadMoreButtonInit(),this.hideExtraImagesForWidth(),this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed()},afterResize:function(){this.setImageHeight(),this.setImageResolution(),this.maybeRaiseImageResolution(),this.setImageSizeClass()},afterLoadMoreClicked:function(i){i.find(".sbi_loader").removeClass("sbi_hidden"),i.find(".sbi_btn_text").addClass("sbi_hidden"),i.closest(".sbi").find(".sbi_num_diff_hide").addClass("sbi_transition").removeClass("sbi_num_diff_hide")},afterNewImagesLoaded:function(){var e=i(this.el),s=this;this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed(),setTimeout(function(){e.find(".sbi_loader").addClass("sbi_hidden"),e.find(".sbi_btn_text").removeClass("sbi_hidden"),s.maybeRaiseImageResolution()},500)},beforeNewImagesRevealed:function(){this.setImageHeight(),this.maybeRaiseImageResolution(!0),this.setImageSizeClass()},revealNewImages:function(){var e=i(this.el);"function"==typeof sbi_custom_js&&setTimeout(function(){sbi_custom_js()},100),this.applyImageLiquid(),e.find(".sbi_item").each(function(i){jQuery(this).find(".sbi_photo").hover(function(){jQuery(this).fadeTo(200,.85)},function(){jQuery(this).stop().fadeTo(500,1)})}),setTimeout(function(){jQuery("#sbi_images .sbi_item.sbi_new").removeClass("sbi_new");var i=10;e.find(".sbi_transition").each(function(){var e=jQuery(this);setTimeout(function(){e.removeClass("sbi_transition")},i),i+=10})},500)},afterNewImagesRevealed:function(){this.listenForVisibilityChange(),this.sendNeedsResizingToServer(),this.settings.imageLoadEnabled||i(".sbi_no_resraise").removeClass("sbi_no_resraise");var e=i.Event("sbiafterimagesloaded");e.el=i(this.el),i(window).trigger(e)},setResizedImages:function(){i(this.el).find(".sbi_resized_image_data").length&&void 0!==i(this.el).find(".sbi_resized_image_data").attr("data-resized")&&0===i(this.el).find(".sbi_resized_image_data").attr("data-resized").indexOf('{"')&&(this.resizedImages=JSON.parse(i(this.el).find(".sbi_resized_image_data").attr("data-resized")),i(this.el).find(".sbi_resized_image_data").remove())},sendNeedsResizingToServer:function(){var e=this;if(e.needsResizing.length>0&&e.settings.resizingEnabled){var s=i(this.el).find(".sbi_item").length;a({action:"sbi_resized_images_submit",needs_resizing:e.needsResizing,offset:s,feed_id:e.settings.feedID,atts:e.settings.shortCodeAtts},function(i){if(0===i.trim().indexOf("{")){var s=JSON.parse(i);e.settings.debugEnabled&&console.log(s)}})}},loadMoreButtonInit:function(){var e=i(this.el),s=this;e.find("#sbi_load .sbi_load_btn").off().on("click",function(){s.afterLoadMoreClicked(jQuery(this)),s.getNewPostSet()})},getNewPostSet:function(){var e=i(this.el),s=this;a({action:"sbi_load_more_clicked",offset:e.find(".sbi_item").length,feed_id:s.settings.feedID,atts:s.settings.shortCodeAtts,current_resolution:s.imageResolution},function(t){if(0===t.trim().indexOf("{")){var a=JSON.parse(t);s.settings.debugEnabled&&console.log(a),s.appendNewPosts(a.html),s.addResizedImages(a.resizedImages),s.settings.ajaxPostLoad?(s.settings.ajaxPostLoad=!1,s.afterInitialImagesLoaded()):s.afterNewImagesLoaded(),a.feedStatus.shouldPaginate?s.outOfPages=!1:(s.outOfPages=!0,e.find(".sbi_load_btn").hide()),i(".sbi_no_js").removeClass("sbi_no_js")}})},appendNewPosts:function(e){var s=i(this.el);s.find("#sbi_images .sbi_item").length?s.find("#sbi_images .sbi_item").last().after(e):s.find("#sbi_images").append(e)},addResizedImages:function(i){for(var e in i)this.resizedImages[e]=i[e]},setImageHeight:function(){var e=i(this.el),s=e.find(".sbi_photo").eq(0).innerWidth(),t=this.getColumnCount(),a=e.find("#sbi_images").innerWidth()-e.find("#sbi_images").width(),n=a/2;sbi_photo_width_manual=e.find("#sbi_images").width()/t-a,e.find(".sbi_photo").css("height",s),e.find(".sbi-owl-nav").length&&setTimeout(function(){var i=2;e.find(".sbi_owl2row-item").length&&(i=1);var s=e.find(".sbi_photo").eq(0).innerWidth()/i;s+=parseInt(n)*(2-i+2),e.find(".sbi-owl-nav div").css("top",s)},100)},maybeRaiseSingleImageResolution:function(e,s,t){var a=this,n=a.getImageUrls(e),o=e.find(".sbi_photo img").attr("src"),d=150,r=e.find("img").get(0),l=o===window.sbi.options.placeholder?1:r.naturalWidth/r.naturalHeight;t=void 0!==t&&t;if(!e.hasClass("sbi_no_resraise")){i.each(n,function(i,e){e===o&&(d=parseInt(i),t=!1)});var h=640;switch(a.settings.imgRes){case"thumb":h=150;break;case"medium":h=320;break;case"full":h=640;break;default:var g=Math.max(a.settings.autoMinRes,e.find(".sbi_photo").innerWidth()),u=a.getBestResolutionForAuto(g,l,e);switch(u){case 320:h=320;break;case 150:h=150}}if(h>d||o===window.sbi.options.placeholder||t){if(a.settings.debugEnabled){var m=o===window.sbi.options.placeholder?"was placeholder":"too small";console.log("rais res for "+o,m)}var f=n[h].split("?ig_cache_key")[0];e.find(".sbi_photo img").attr("src",f),e.find(".sbi_photo").css("background-image",'url("'+f+'")');var _=!1;e.find(".sbi_photo img").on("load",function(){var s=i(this),t=s.get(0).naturalWidth/s.get(0).naturalHeight;if(1e3!==s.get(0).naturalWidth&&t>l&&!_){switch(a.settings.debugEnabled&&console.log("rais res again for aspect ratio change "+o),_=!0,g=e.find(".sbi_photo").innerWidth(),u=a.getBestResolutionForAuto(g,t,e),h=640,u){case 320:h=320;break;case 150:h=150}h>d&&(f=n[h].split("?ig_cache_key")[0],s.attr("src",f),s.closest(".sbi_photo").css("background-image",'url("'+f+'")')),"masonry"!==a.layout&&"highlight"!==a.layout||(i(a.el).find("#sbi_images").smashotope(a.isotopeArgs),setTimeout(function(){i(a.el).find("#sbi_images").smashotope(a.isotopeArgs)},500))}else if(a.settings.debugEnabled){var r=_?"already checked":"no aspect ratio change";console.log("not raising res for replacement "+o,r)}})}e.find("img").on("error",function(){if(i(this).hasClass("sbi_img_error"))console.log("unfixed error "+i(this).attr("src"));else{if(i(this).addClass("sbi_img_error"),i(this).attr("src").indexOf("media?size=")>-1||i(this).attr("src").indexOf("cdninstagram")>-1||i(this).attr("src").indexOf("fbcdn")>-1){a.settings.favorLocal=!0;var e=a.getImageUrls(i(this).closest(".sbi_item"));void 0!==e[640]&&(i(this).attr("src",e[640]),i(this).closest(".sbi_photo").css("background-image","url("+e[640]+")"))}else void 0!==i(this).closest(".sbi_photo").attr("data-full-res")?(i(this).attr("src",i(this).closest(".sbi_photo").attr("data-full-res")),i(this).closest(".sbi_photo").css("background-image","url("+i(this).closest(".sbi_photo").attr("data-full-res")+")")):"undefined"!==i(this).closest(".sbi_photo").attr("href")&&(i(this).attr("src",i(this).closest(".sbi_photo").attr("href")+"media?size=l"),i(this).closest(".sbi_photo").css("background-image","url("+i(this).closest(".sbi_photo").attr("href")+"media?size=l)"));setTimeout(function(){a.afterResize()},1500)}})}},maybeRaiseImageResolution:function(e){var s=this,t=void 0!==e&&!0===e?".sbi_item.sbi_new":".sbi_item",a=!s.isInitialized;i(s.el).find(t).each(function(e){!i(this).hasClass("sbi_num_diff_hide")&&i(this).find(".sbi_photo").length&&void 0!==i(this).find(".sbi_photo").attr("data-img-src-set")&&s.maybeRaiseSingleImageResolution(i(this),e,a)}),s.isInitialized=!0},getBestResolutionForAuto:function(e,s,t){(isNaN(s)||s<1)&&(s=1);var a=e*s,n=10*Math.ceil(a/10),o=[150,320,640];if(t.hasClass("sbi_highlighted")&&(n*=2),-1===o.indexOf(parseInt(n))){var d=!1;i.each(o,function(i,e){e>parseInt(n)&&!d&&(n=e,d=!0)})}return n},hideExtraImagesForWidth:function(){if("carousel"!==this.layout){var e=i(this.el),s=void 0!==e.attr("data-num")&&""!==e.attr("data-num")?parseInt(e.attr("data-num")):1,t=void 0!==e.attr("data-nummobile")&&""!==e.attr("data-nummobile")?parseInt(e.attr("data-nummobile")):s;i(window).width()<480?t<e.find(".sbi_item").length&&e.find(".sbi_item").slice(t-e.find(".sbi_item").length).addClass("sbi_num_diff_hide"):s<e.find(".sbi_item").length&&e.find(".sbi_item").slice(s-e.find(".sbi_item").length).addClass("sbi_num_diff_hide")}},setImageSizeClass:function(){var e=i(this.el);e.removeClass("sbi_small sbi_medium");var s=e.innerWidth(),t=parseInt(e.find("#sbi_images").outerWidth()-e.find("#sbi_images").width())/2,a=this.getColumnCount(),n=(s-t*(a+2))/a;n>120&&n<240?e.addClass("sbi_medium"):n<=120&&e.addClass("sbi_small")},setMinImageWidth:function(){i(this.el).find(".sbi_item .sbi_photo").first().length?this.minImageWidth=i(this.el).find(".sbi_item .sbi_photo").first().innerWidth():this.minImageWidth=150},setImageResolution:function(){if("auto"===this.settings.imgRes)this.imageResolution="auto";else switch(this.settings.imgRes){case"thumb":this.imageResolution=150;break;case"medium":this.imageResolution=320;break;default:this.imageResolution=640}},getImageUrls:function(i){var e=JSON.parse(i.find(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/")),s=i.attr("id").replace("sbi_","");if(void 0!==this.resizedImages[s]&&"video"!==this.resizedImages[s]&&"pending"!==this.resizedImages[s]&&"error"!==this.resizedImages[s].id&&"video"!==this.resizedImages[s].id&&"pending"!==this.resizedImages[s].id){if(void 0!==this.resizedImages[s].sizes){var t=[];void 0!==this.resizedImages[s].sizes.full&&(t.push(640),e[640]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg",i.find(".sbi_link_area").attr("href",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg"),i.find(".sbi_photo").attr("data-full-res",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg")),void 0!==this.resizedImages[s].sizes.low&&(t.push(320),e[320]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg",this.settings.favorLocal&&void 0===this.resizedImages[s].sizes.full&&(i.find(".sbi_link_area").attr("href",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg"),i.find(".sbi_photo").attr("data-full-res",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg"))),void 0!==this.resizedImages[s].sizes.thumb&&(t.push(150),e[150]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"thumb.jpg"),this.settings.favorLocal&&(-1===t.indexOf(640)&&t.indexOf(320)>-1&&(e[640]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg"),-1===t.indexOf(320)&&(t.indexOf(640)>-1?e[320]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg":t.indexOf(150)>-1&&(e[320]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"thumb.jpg")),-1===t.indexOf(150)&&(t.indexOf(320)>-1?e[150]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg":t.indexOf(640)>-1&&(e[150]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg")))}}else(void 0===this.resizedImages[s]||void 0!==this.resizedImages[s].id&&"pending"!==this.resizedImages[s].id&&"error"!==this.resizedImages[s].id)&&this.addToNeedsResizing(s);return e},getAvatarUrl:function(i,e){if(""===i)return"";var s=this.settings.general.avatars;return"local"===(e=void 0!==e?e:"local")?void 0!==s["LCL"+i]&&1===parseInt(s["LCL"+i])?sb_instagram_js_options.resized_url+i+".jpg":void 0!==s[i]?s[i]:"":void 0!==s[i]?s[i]:void 0!==s["LCL"+i]&&1===parseInt(s["LCL"+i])?sb_instagram_js_options.resized_url+i+".jpg":""},addToNeedsResizing:function(i){-1===this.needsResizing.indexOf(i)&&this.needsResizing.push(i)},applyImageLiquid:function(){var s=i(this.el);e(),"function"==typeof s.find(".sbi_photo").sbi_imgLiquid&&s.find(".sbi_photo").sbi_imgLiquid({fill:!0})},listenForVisibilityChange:function(){var e,s,t,a=this;e=jQuery,s={callback:function(){},runOnLoad:!0,frequency:100,sbiPreviousVisibility:null},t={sbiCheckVisibility:function(i,e){if(jQuery.contains(document,i[0])){var s=e.sbiPreviousVisibility,a=i.is(":visible");e.sbiPreviousVisibility=a,null==s?e.runOnLoad&&e.callback(i,a):s!==a&&e.callback(i,a),setTimeout(function(){t.sbiCheckVisibility(i,e)},e.frequency)}}},e.fn.sbiVisibilityChanged=function(i){var a=e.extend({},s,i);return this.each(function(){t.sbiCheckVisibility(e(this),a)})},"function"==typeof i(this.el).filter(":hidden").sbiVisibilityChanged&&i(this.el).filter(":hidden").sbiVisibilityChanged({callback:function(i,e){a.afterResize()},runOnLoad:!1})},getColumnCount:function(){var e=i(this.el),s=this.settings.cols,t=this.settings.colsmobile,a=s;return sbiWindowWidth=window.innerWidth,e.hasClass("sbi_mob_col_auto")?(sbiWindowWidth<640&&parseInt(s)>2&&parseInt(s)<7&&(a=2),sbiWindowWidth<640&&parseInt(s)>6&&parseInt(s)<11&&(a=4),sbiWindowWidth<=480&&parseInt(s)>2&&(a=1)):sbiWindowWidth<=480&&(a=t),parseInt(a)}},window.sbi_init=function(){window.sbi=new s,window.sbi.createPage(window.sbi.createFeeds,{whenFeedsCreated:window.sbi.afterFeedsCreated})}}(jQuery),jQuery(document).ready(function(i){void 0!==window.sb_instagram_js_options.resized_url&&-1===window.sb_instagram_js_options.resized_url.indexOf(location.protocol)&&("http:"===location.protocol?window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("http:","https:"):window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("https:","http:")),sbi_init()}));
1
+ var sbi_js_exists=void 0!==sbi_js_exists;sbi_js_exists||(!function(i){function e(){var i,e,s,t=t||{VER:"0.9.944"};t.bgs_Available=!1,t.bgs_CheckRunned=!1,function(i){i.fn.extend({sbi_imgLiquid:function(e){this.defaults={fill:!0,verticalAlign:"center",horizontalAlign:"center",useBackgroundSize:!0,useDataHtmlAttr:!0,responsive:!0,delay:0,fadeInTime:0,removeBoxBackground:!0,hardPixels:!0,responsiveCheckTime:500,timecheckvisibility:500,onStart:null,onFinish:null,onItemStart:null,onItemFinish:null,onItemError:null},function(){if(!t.bgs_CheckRunned){t.bgs_CheckRunned=!0;var e=i('<span style="background-size:cover" />');i("body").append(e),function(){var i=e[0];if(i&&window.getComputedStyle){var s=window.getComputedStyle(i,null);s&&s.backgroundSize&&(t.bgs_Available="cover"===s.backgroundSize)}}(),e.remove()}}();var s=this;return this.options=e,this.settings=i.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each(function(e){function a(){(r.responsive||h.data("sbi_imgLiquid_oldProcessed"))&&h.data("sbi_imgLiquid_settings")&&(r=h.data("sbi_imgLiquid_settings"),l.actualSize=l.get(0).offsetWidth+l.get(0).offsetHeight/1e4,l.sizeOld&&l.actualSize!==l.sizeOld&&o(),l.sizeOld=l.actualSize,setTimeout(a,r.responsiveCheckTime))}function n(){h.data("sbi_imgLiquid_error",!0),l.addClass("sbi_imgLiquid_error"),r.onItemError&&r.onItemError(e,l,h),d()}function o(){var i,s,t,a,n,o,g,u,_=0,m=0,f=l.width(),b=l.height();void 0===h.data("owidth")&&h.data("owidth",h[0].width),void 0===h.data("oheight")&&h.data("oheight",h[0].height),r.fill===f/b>=h.data("owidth")/h.data("oheight")?(i="100%",s="auto",t=Math.floor(f),a=Math.floor(f*(h.data("oheight")/h.data("owidth")))):(i="auto",s="100%",t=Math.floor(b*(h.data("owidth")/h.data("oheight"))),a=Math.floor(b)),g=f-t,"left"===(n=r.horizontalAlign.toLowerCase())&&(m=0),"center"===n&&(m=.5*g),"right"===n&&(m=g),-1!==n.indexOf("%")&&((n=parseInt(n.replace("%",""),10))>0&&(m=g*n*.01)),u=b-a,"left"===(o=r.verticalAlign.toLowerCase())&&(_=0),"center"===o&&(_=.5*u),"bottom"===o&&(_=u),-1!==o.indexOf("%")&&((o=parseInt(o.replace("%",""),10))>0&&(_=u*o*.01)),r.hardPixels&&(i=t,s=a),h.css({width:i,height:s,"margin-left":Math.floor(m),"margin-top":Math.floor(_)}),h.data("sbi_imgLiquid_oldProcessed")||(h.fadeTo(r.fadeInTime,1),h.data("sbi_imgLiquid_oldProcessed",!0),r.removeBoxBackground&&l.css("background-image","none"),l.addClass("sbi_imgLiquid_nobgSize"),l.addClass("sbi_imgLiquid_ready")),r.onItemFinish&&r.onItemFinish(e,l,h),d()}function d(){e===s.length-1&&s.settings.onFinish&&s.settings.onFinish()}var r=s.settings,l=i(this),h=i("img:first",l);return h.length?(h.data("sbi_imgLiquid_settings")?(l.removeClass("sbi_imgLiquid_error").removeClass("sbi_imgLiquid_ready"),r=i.extend({},h.data("sbi_imgLiquid_settings"),s.options)):r=i.extend({},s.settings,function(){var i={};if(s.settings.useDataHtmlAttr){var e=l.attr("data-sbi_imgLiquid-fill"),a=l.attr("data-sbi_imgLiquid-horizontalAlign"),n=l.attr("data-sbi_imgLiquid-verticalAlign");("true"===e||"false"===e)&&(i.fill=Boolean("true"===e)),void 0===a||"left"!==a&&"center"!==a&&"right"!==a&&-1===a.indexOf("%")||(i.horizontalAlign=a),void 0===n||"top"!==n&&"bottom"!==n&&"center"!==n&&-1===n.indexOf("%")||(i.verticalAlign=n)}return t.isIE&&s.settings.ieFadeInDisabled&&(i.fadeInTime=0),i}()),h.data("sbi_imgLiquid_settings",r),r.onItemStart&&r.onItemStart(e,l,h),void(t.bgs_Available&&r.useBackgroundSize?(-1===l.css("background-image").indexOf(encodeURI(h.attr("src")))&&l.css({"background-image":'url("'+encodeURI(h.attr("src"))+'")'}),l.css({"background-size":r.fill?"cover":"contain","background-position":(r.horizontalAlign+" "+r.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),i("a:first",l).css({display:"block",width:"100%",height:"100%"}),i("img",l).css({display:"none"}),r.onItemFinish&&r.onItemFinish(e,l,h),l.addClass("sbi_imgLiquid_bgSize"),l.addClass("sbi_imgLiquid_ready"),d()):function s(){if(h.data("oldSrc")&&h.data("oldSrc")!==h.attr("src")){var t=h.clone().removeAttr("style");return t.data("sbi_imgLiquid_settings",h.data("sbi_imgLiquid_settings")),h.parent().prepend(t),h.remove(),(h=t)[0].width=0,void setTimeout(s,10)}return h.data("sbi_imgLiquid_oldProcessed")?void o():(h.data("sbi_imgLiquid_oldProcessed",!1),h.data("oldSrc",h.attr("src")),i("img:not(:first)",l).css("display","none"),l.css({overflow:"hidden"}),h.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"}),h.on("error",n),h[0].onerror=n,function i(){h.data("sbi_imgLiquid_error")||h.data("sbi_imgLiquid_loaded")||h.data("sbi_imgLiquid_oldProcessed")||(l.is(":visible")&&h[0].complete&&h[0].width>0&&h[0].height>0?(h.data("sbi_imgLiquid_loaded",!0),setTimeout(o,e*r.delay)):setTimeout(i,r.timecheckvisibility))}(),void a())}())):void n()})}})}(jQuery),i=t.injectCss,e=document.getElementsByTagName("head")[0],(s=document.createElement("style")).type="text/css",s.styleSheet?s.styleSheet.cssText=i:s.appendChild(document.createTextNode(i)),e.appendChild(s)}function s(){this.feeds={},this.options=sb_instagram_js_options}function t(i,e,s){this.el=i,this.index=e,this.settings=s,this.minImageWidth=0,this.imageResolution=150,this.resizedImages={},this.needsResizing=[],this.outOfPages=!1,this.isInitialized=!1}function a(e,s){i.ajax({url:sbiajaxurl,type:"post",data:e,success:s})}s.prototype={createPage:function(e,s){void 0!==window.sbiajaxurl&&-1!==window.sbiajaxurl.indexOf(window.location.hostname)||(window.sbiajaxurl=window.location.hostname+"/wp-admin/admin-ajax.php"),i(".sbi_no_js_error_message").remove(),i(".sbi_no_js").removeClass("sbi_no_js"),e(s)},createFeeds:function(e){e.whenFeedsCreated(i(".sbi").each(function(e){i(this).attr("data-sbi-index",e+1);var s=i(this),n=void 0!==s.attr("data-sbi-flags")?s.attr("data-sbi-flags").split(","):[],o=void 0!==s.attr("data-options")?JSON.parse(s.attr("data-options")):{};if(n.indexOf("testAjax")>-1){window.sbi.triggeredTest=!0;a({action:"sbi_on_ajax_test_trigger"},function(i){console.log("did test")})}var d={cols:s.attr("data-cols"),colsmobile:"same"!==s.attr("data-colsmobile")?s.attr("data-colsmobile"):s.attr("data-cols"),num:s.attr("data-num"),imgRes:s.attr("data-res"),feedID:s.attr("data-feedid"),shortCodeAtts:s.attr("data-shortcode-atts"),resizingEnabled:-1===n.indexOf("resizeDisable"),imageLoadEnabled:-1===n.indexOf("imageLoadDisable"),debugEnabled:n.indexOf("debug")>-1,favorLocal:n.indexOf("favorLocal")>-1,ajaxPostLoad:n.indexOf("ajaxPostLoad")>-1,autoMinRes:1,general:o};window.sbi.feeds[e]=function(i,e,s){return new t(i,e,s)}(this,e,d),window.sbi.feeds[e].setResizedImages(),window.sbi.feeds[e].init();var r=jQuery.Event("sbiafterfeedcreate");r.feed=window.sbi.feeds[e],jQuery(window).trigger(r)}))},afterFeedsCreated:function(){i(".sb_instagram_header").each(function(){var e=i(this);e.find(".sbi_header_link").hover(function(){e.find(".sbi_header_img_hover").addClass("sbi_fade_in")},function(){e.find(".sbi_header_img_hover").removeClass("sbi_fade_in")})})},encodeHTML:function(i){return void 0===i?"":i.replace(/(>)/g,"&gt;").replace(/(<)/g,"&lt;").replace(/(&lt;br\/&gt;)/g,"<br>").replace(/(&lt;br&gt;)/g,"<br>")},urlDetect:function(i){return i.match(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)/g)}},t.prototype={init:function(){var i=this;this.settings.ajaxPostLoad?this.getNewPostSet():this.afterInitialImagesLoaded();var e,s=(e=0,function(i,s){clearTimeout(e),e=setTimeout(i,s)});jQuery(window).resize(function(){s(function(){i.afterResize()},500)})},initLayout:function(){},afterInitialImagesLoaded:function(){this.initLayout(),this.loadMoreButtonInit(),this.hideExtraImagesForWidth(),this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed()},afterResize:function(){this.setImageHeight(),this.setImageResolution(),this.maybeRaiseImageResolution(),this.setImageSizeClass()},afterLoadMoreClicked:function(i){i.find(".sbi_loader").removeClass("sbi_hidden"),i.find(".sbi_btn_text").addClass("sbi_hidden"),i.closest(".sbi").find(".sbi_num_diff_hide").addClass("sbi_transition").removeClass("sbi_num_diff_hide")},afterNewImagesLoaded:function(){var e=i(this.el),s=this;this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed(),setTimeout(function(){e.find(".sbi_loader").addClass("sbi_hidden"),e.find(".sbi_btn_text").removeClass("sbi_hidden"),s.maybeRaiseImageResolution()},500)},beforeNewImagesRevealed:function(){this.setImageHeight(),this.maybeRaiseImageResolution(!0),this.setImageSizeClass()},revealNewImages:function(){var e=i(this.el);"function"==typeof sbi_custom_js&&setTimeout(function(){sbi_custom_js()},100),this.applyImageLiquid(),e.find(".sbi_item").each(function(i){jQuery(this).find(".sbi_photo").hover(function(){jQuery(this).fadeTo(200,.85)},function(){jQuery(this).stop().fadeTo(500,1)})}),setTimeout(function(){jQuery("#sbi_images .sbi_item.sbi_new").removeClass("sbi_new");var i=10;e.find(".sbi_transition").each(function(){var e=jQuery(this);setTimeout(function(){e.removeClass("sbi_transition")},i),i+=10})},500)},afterNewImagesRevealed:function(){this.listenForVisibilityChange(),this.sendNeedsResizingToServer(),this.settings.imageLoadEnabled||i(".sbi_no_resraise").removeClass("sbi_no_resraise");var e=i.Event("sbiafterimagesloaded");e.el=i(this.el),i(window).trigger(e)},setResizedImages:function(){i(this.el).find(".sbi_resized_image_data").length&&void 0!==i(this.el).find(".sbi_resized_image_data").attr("data-resized")&&0===i(this.el).find(".sbi_resized_image_data").attr("data-resized").indexOf('{"')&&(this.resizedImages=JSON.parse(i(this.el).find(".sbi_resized_image_data").attr("data-resized")),i(this.el).find(".sbi_resized_image_data").remove())},sendNeedsResizingToServer:function(){var e=this;if(e.needsResizing.length>0&&e.settings.resizingEnabled){var s=i(this.el).find(".sbi_item").length;a({action:"sbi_resized_images_submit",needs_resizing:e.needsResizing,offset:s,feed_id:e.settings.feedID,atts:e.settings.shortCodeAtts},function(i){if(0===i.trim().indexOf("{")){var s=JSON.parse(i);e.settings.debugEnabled&&console.log(s)}})}},loadMoreButtonInit:function(){var e=i(this.el),s=this;e.find("#sbi_load .sbi_load_btn").off().on("click",function(){s.afterLoadMoreClicked(jQuery(this)),s.getNewPostSet()})},getNewPostSet:function(){var e=i(this.el),s=this;a({action:"sbi_load_more_clicked",offset:e.find(".sbi_item").length,feed_id:s.settings.feedID,atts:s.settings.shortCodeAtts,current_resolution:s.imageResolution},function(t){if(0===t.trim().indexOf("{")){var a=JSON.parse(t);s.settings.debugEnabled&&console.log(a),s.appendNewPosts(a.html),s.addResizedImages(a.resizedImages),s.settings.ajaxPostLoad?(s.settings.ajaxPostLoad=!1,s.afterInitialImagesLoaded()):s.afterNewImagesLoaded(),a.feedStatus.shouldPaginate?s.outOfPages=!1:(s.outOfPages=!0,e.find(".sbi_load_btn").hide()),i(".sbi_no_js").removeClass("sbi_no_js")}})},appendNewPosts:function(e){var s=i(this.el);s.find("#sbi_images .sbi_item").length?s.find("#sbi_images .sbi_item").last().after(e):s.find("#sbi_images").append(e)},addResizedImages:function(i){for(var e in i)this.resizedImages[e]=i[e]},setImageHeight:function(){var e=i(this.el),s=e.find(".sbi_photo").eq(0).innerWidth(),t=this.getColumnCount(),a=e.find("#sbi_images").innerWidth()-e.find("#sbi_images").width(),n=a/2;sbi_photo_width_manual=e.find("#sbi_images").width()/t-a,e.find(".sbi_photo").css("height",s),e.find(".sbi-owl-nav").length&&setTimeout(function(){var i=2;e.find(".sbi_owl2row-item").length&&(i=1);var s=e.find(".sbi_photo").eq(0).innerWidth()/i;s+=parseInt(n)*(2-i+2),e.find(".sbi-owl-nav div").css("top",s)},100)},maybeRaiseSingleImageResolution:function(e,s,t){var a=this,n=a.getImageUrls(e),o=e.find(".sbi_photo img").attr("src"),d=150,r=e.find("img").get(0),l=o===window.sbi.options.placeholder?1:r.naturalWidth/r.naturalHeight;t=void 0!==t&&t;if(!e.hasClass("sbi_no_resraise")){i.each(n,function(i,e){e===o&&(d=parseInt(i),t=!1)});var h=640;switch(a.settings.imgRes){case"thumb":h=150;break;case"medium":h=320;break;case"full":h=640;break;default:var g=Math.max(a.settings.autoMinRes,e.find(".sbi_photo").innerWidth()),u=a.getBestResolutionForAuto(g,l,e);switch(u){case 320:h=320;break;case 150:h=150}}if(h>d||o===window.sbi.options.placeholder||t){if(a.settings.debugEnabled){var _=o===window.sbi.options.placeholder?"was placeholder":"too small";console.log("rais res for "+o,_)}var m=n[h].split("?ig_cache_key")[0];e.find(".sbi_photo img").attr("src",m),e.find(".sbi_photo").css("background-image",'url("'+m+'")');var f=!1;e.find(".sbi_photo img").on("load",function(){var s=i(this),t=s.get(0).naturalWidth/s.get(0).naturalHeight;if(1e3!==s.get(0).naturalWidth&&t>l&&!f){switch(a.settings.debugEnabled&&console.log("rais res again for aspect ratio change "+o),f=!0,g=e.find(".sbi_photo").innerWidth(),u=a.getBestResolutionForAuto(g,t,e),h=640,u){case 320:h=320;break;case 150:h=150}h>d&&(m=n[h].split("?ig_cache_key")[0],s.attr("src",m),s.closest(".sbi_photo").css("background-image",'url("'+m+'")')),"masonry"!==a.layout&&"highlight"!==a.layout||(i(a.el).find("#sbi_images").smashotope(a.isotopeArgs),setTimeout(function(){i(a.el).find("#sbi_images").smashotope(a.isotopeArgs)},500))}else if(a.settings.debugEnabled){var r=f?"already checked":"no aspect ratio change";console.log("not raising res for replacement "+o,r)}})}e.find("img").on("error",function(){if(i(this).hasClass("sbi_img_error"))console.log("unfixed error "+i(this).attr("src"));else{var e;if(i(this).addClass("sbi_img_error"),i(this).attr("src").indexOf("media?size=")>-1||i(this).attr("src").indexOf("cdninstagram")>-1||i(this).attr("src").indexOf("fbcdn")>-1)a.settings.favorLocal=!0,void 0!==(e=a.getImageUrls(i(this).closest(".sbi_item")))[640]&&(i(this).attr("src",e[640]),i(this).closest(".sbi_photo").css("background-image","url("+e[640]+")"),i(this).closest(".sbi_item").addClass("sbi_had_error").find(".sbi_link_area").attr("href",e[640]).addClass("sbi_had_error"));else if("undefined"!==i(this).closest(".sbi_photo").attr("data-img-src-set"))void 0!==(e=JSON.parse(i(this).closest(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/"))).d&&(i(this).attr("src",e.d),i(this).closest(".sbi_photo").css("background-image","url("+e.d+")"),i(this).closest(".sbi_item").addClass("sbi_had_error").find(".sbi_link_area").attr("href",e[640]).addClass("sbi_had_error"));setTimeout(function(){a.afterResize()},1500)}})}},maybeRaiseImageResolution:function(e){var s=this,t=void 0!==e&&!0===e?".sbi_item.sbi_new":".sbi_item",a=!s.isInitialized;i(s.el).find(t).each(function(e){!i(this).hasClass("sbi_num_diff_hide")&&i(this).find(".sbi_photo").length&&void 0!==i(this).find(".sbi_photo").attr("data-img-src-set")&&s.maybeRaiseSingleImageResolution(i(this),e,a)}),s.isInitialized=!0},getBestResolutionForAuto:function(e,s,t){(isNaN(s)||s<1)&&(s=1);var a=e*s,n=10*Math.ceil(a/10),o=[150,320,640];if(t.hasClass("sbi_highlighted")&&(n*=2),-1===o.indexOf(parseInt(n))){var d=!1;i.each(o,function(i,e){e>parseInt(n)&&!d&&(n=e,d=!0)})}return n},hideExtraImagesForWidth:function(){if("carousel"!==this.layout){var e=i(this.el),s=void 0!==e.attr("data-num")&&""!==e.attr("data-num")?parseInt(e.attr("data-num")):1,t=void 0!==e.attr("data-nummobile")&&""!==e.attr("data-nummobile")?parseInt(e.attr("data-nummobile")):s;i(window).width()<480?t<e.find(".sbi_item").length&&e.find(".sbi_item").slice(t-e.find(".sbi_item").length).addClass("sbi_num_diff_hide"):s<e.find(".sbi_item").length&&e.find(".sbi_item").slice(s-e.find(".sbi_item").length).addClass("sbi_num_diff_hide")}},setImageSizeClass:function(){var e=i(this.el);e.removeClass("sbi_small sbi_medium");var s=e.innerWidth(),t=parseInt(e.find("#sbi_images").outerWidth()-e.find("#sbi_images").width())/2,a=this.getColumnCount(),n=(s-t*(a+2))/a;n>120&&n<240?e.addClass("sbi_medium"):n<=120&&e.addClass("sbi_small")},setMinImageWidth:function(){i(this.el).find(".sbi_item .sbi_photo").first().length?this.minImageWidth=i(this.el).find(".sbi_item .sbi_photo").first().innerWidth():this.minImageWidth=150},setImageResolution:function(){if("auto"===this.settings.imgRes)this.imageResolution="auto";else switch(this.settings.imgRes){case"thumb":this.imageResolution=150;break;case"medium":this.imageResolution=320;break;default:this.imageResolution=640}},getImageUrls:function(i){var e=JSON.parse(i.find(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/")),s=i.attr("id").replace("sbi_","");if(void 0!==this.resizedImages[s]&&"video"!==this.resizedImages[s]&&"pending"!==this.resizedImages[s]&&"error"!==this.resizedImages[s].id&&"video"!==this.resizedImages[s].id&&"pending"!==this.resizedImages[s].id){if(void 0!==this.resizedImages[s].sizes){var t=[];void 0!==this.resizedImages[s].sizes.full&&(i.find(".sbi_link_area").hasClass("sbi_had_error")||i.hasClass("sbi_had_error")||(t.push(640),e[640]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg",i.find(".sbi_link_area").attr("href",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg"),i.find(".sbi_photo").attr("data-full-res",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg"))),void 0!==this.resizedImages[s].sizes.low&&this.settings.favorLocal&&void 0===this.resizedImages[s].sizes.full&&(i.find(".sbi_link_area").hasClass("sbi_had_error")||i.hasClass("sbi_had_error")||(t.push(320),e[320]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg",i.find(".sbi_link_area").attr("href",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg"),i.find(".sbi_photo").attr("data-full-res",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg"))),void 0!==this.resizedImages[s].sizes.thumb&&(t.push(150),e[150]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"thumb.jpg"),this.settings.favorLocal&&(-1===t.indexOf(640)&&t.indexOf(320)>-1&&(e[640]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg"),-1===t.indexOf(320)&&(t.indexOf(640)>-1?e[320]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg":t.indexOf(150)>-1&&(e[320]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"thumb.jpg")),-1===t.indexOf(150)&&(t.indexOf(320)>-1?e[150]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg":t.indexOf(640)>-1&&(e[150]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg")))}}else(void 0===this.resizedImages[s]||void 0!==this.resizedImages[s].id&&"pending"!==this.resizedImages[s].id&&"error"!==this.resizedImages[s].id)&&this.addToNeedsResizing(s);return e},getAvatarUrl:function(i,e){if(""===i)return"";var s=this.settings.general.avatars;return"local"===(e=void 0!==e?e:"local")?void 0!==s["LCL"+i]&&1===parseInt(s["LCL"+i])?sb_instagram_js_options.resized_url+i+".jpg":void 0!==s[i]?s[i]:"":void 0!==s[i]?s[i]:void 0!==s["LCL"+i]&&1===parseInt(s["LCL"+i])?sb_instagram_js_options.resized_url+i+".jpg":""},addToNeedsResizing:function(i){-1===this.needsResizing.indexOf(i)&&this.needsResizing.push(i)},applyImageLiquid:function(){var s=i(this.el);e(),"function"==typeof s.find(".sbi_photo").sbi_imgLiquid&&s.find(".sbi_photo").sbi_imgLiquid({fill:!0})},listenForVisibilityChange:function(){var e,s,t,a=this;e=jQuery,s={callback:function(){},runOnLoad:!0,frequency:100,sbiPreviousVisibility:null},t={sbiCheckVisibility:function(i,e){if(jQuery.contains(document,i[0])){var s=e.sbiPreviousVisibility,a=i.is(":visible");e.sbiPreviousVisibility=a,null==s?e.runOnLoad&&e.callback(i,a):s!==a&&e.callback(i,a),setTimeout(function(){t.sbiCheckVisibility(i,e)},e.frequency)}}},e.fn.sbiVisibilityChanged=function(i){var a=e.extend({},s,i);return this.each(function(){t.sbiCheckVisibility(e(this),a)})},"function"==typeof i(this.el).filter(":hidden").sbiVisibilityChanged&&i(this.el).filter(":hidden").sbiVisibilityChanged({callback:function(i,e){a.afterResize()},runOnLoad:!1})},getColumnCount:function(){var e=i(this.el),s=this.settings.cols,t=this.settings.colsmobile,a=s;return sbiWindowWidth=window.innerWidth,e.hasClass("sbi_mob_col_auto")?(sbiWindowWidth<640&&parseInt(s)>2&&parseInt(s)<7&&(a=2),sbiWindowWidth<640&&parseInt(s)>6&&parseInt(s)<11&&(a=4),sbiWindowWidth<=480&&parseInt(s)>2&&(a=1)):sbiWindowWidth<=480&&(a=t),parseInt(a)}},window.sbi_init=function(){window.sbi=new s,window.sbi.createPage(window.sbi.createFeeds,{whenFeedsCreated:window.sbi.afterFeedsCreated})}}(jQuery),jQuery(document).ready(function(i){void 0!==window.sb_instagram_js_options.resized_url&&-1===window.sb_instagram_js_options.resized_url.indexOf(location.protocol)&&("http:"===location.protocol?window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("http:","https:"):window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("https:","http:")),sbi_init()}));
js/sb-instagram.js CHANGED
@@ -595,12 +595,14 @@ if(!sbi_js_exists) {
595
  var sourceFromAPI = ($(this).attr('src').indexOf('media?size=') > -1 || $(this).attr('src').indexOf('cdninstagram') > -1 || $(this).attr('src').indexOf('fbcdn') > -1)
596
 
597
  if (!sourceFromAPI) {
598
- if (typeof $(this).closest('.sbi_photo').attr('data-full-res') !== 'undefined') {
599
- $(this).attr('src', $(this).closest('.sbi_photo').attr('data-full-res'));
600
- $(this).closest('.sbi_photo').css('background-image', 'url(' + $(this).closest('.sbi_photo').attr('data-full-res') + ')');
601
- } else if ($(this).closest('.sbi_photo').attr('href') !== 'undefined') {
602
- $(this).attr('src', $(this).closest('.sbi_photo').attr('href') + 'media?size=l');
603
- $(this).closest('.sbi_photo').css('background-image', 'url(' + $(this).closest('.sbi_photo').attr('href') + 'media?size=l)');
 
 
604
  }
605
  } else {
606
  feed.settings.favorLocal = true;
@@ -608,6 +610,7 @@ if(!sbi_js_exists) {
608
  if (typeof srcSet[640] !== 'undefined') {
609
  $(this).attr('src', srcSet[640]);
610
  $(this).closest('.sbi_photo').css('background-image', 'url(' + srcSet[640] + ')');
 
611
  }
612
  }
613
  setTimeout(function() {
@@ -724,17 +727,21 @@ if(!sbi_js_exists) {
724
  if (typeof this.resizedImages[id]['sizes'] !== 'undefined') {
725
  var foundSizes = [];
726
  if (typeof this.resizedImages[id]['sizes']['full'] !== 'undefined') {
727
- foundSizes.push(640);
728
- srcSet[640] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg';
729
- $item.find('.sbi_link_area').attr( 'href', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg' );
730
- $item.find('.sbi_photo').attr( 'data-full-res', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg' );
 
 
731
  }
732
  if (typeof this.resizedImages[id]['sizes']['low'] !== 'undefined') {
733
- foundSizes.push(320);
734
- srcSet[320] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg';
735
  if (this.settings.favorLocal && typeof this.resizedImages[id]['sizes']['full'] === 'undefined') {
736
- $item.find('.sbi_link_area').attr( 'href', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg' );
737
- $item.find('.sbi_photo').attr( 'data-full-res', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg' );
 
 
 
 
738
  }
739
  }
740
  if (typeof this.resizedImages[id]['sizes']['thumb'] !== 'undefined') {
595
  var sourceFromAPI = ($(this).attr('src').indexOf('media?size=') > -1 || $(this).attr('src').indexOf('cdninstagram') > -1 || $(this).attr('src').indexOf('fbcdn') > -1)
596
 
597
  if (!sourceFromAPI) {
598
+
599
+ if ($(this).closest('.sbi_photo').attr('data-img-src-set') !== 'undefined') {
600
+ var srcSet = JSON.parse($(this).closest('.sbi_photo').attr('data-img-src-set').replace(/\\\//g, '/'));
601
+ if (typeof srcSet.d !== 'undefined') {
602
+ $(this).attr('src', srcSet.d);
603
+ $(this).closest('.sbi_photo').css('background-image', 'url(' + srcSet.d + ')');
604
+ $(this).closest('.sbi_item').addClass('sbi_had_error').find('.sbi_link_area').attr('href', srcSet[640]).addClass('sbi_had_error');
605
+ }
606
  }
607
  } else {
608
  feed.settings.favorLocal = true;
610
  if (typeof srcSet[640] !== 'undefined') {
611
  $(this).attr('src', srcSet[640]);
612
  $(this).closest('.sbi_photo').css('background-image', 'url(' + srcSet[640] + ')');
613
+ $(this).closest('.sbi_item').addClass('sbi_had_error').find('.sbi_link_area').attr('href', srcSet[640]).addClass('sbi_had_error');
614
  }
615
  }
616
  setTimeout(function() {
727
  if (typeof this.resizedImages[id]['sizes'] !== 'undefined') {
728
  var foundSizes = [];
729
  if (typeof this.resizedImages[id]['sizes']['full'] !== 'undefined') {
730
+ if (! $item.find('.sbi_link_area').hasClass('sbi_had_error') && ! $item.hasClass('sbi_had_error')) {
731
+ foundSizes.push(640);
732
+ srcSet[640] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg';
733
+ $item.find('.sbi_link_area').attr('href', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg');
734
+ $item.find('.sbi_photo').attr('data-full-res', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'full.jpg');
735
+ }
736
  }
737
  if (typeof this.resizedImages[id]['sizes']['low'] !== 'undefined') {
 
 
738
  if (this.settings.favorLocal && typeof this.resizedImages[id]['sizes']['full'] === 'undefined') {
739
+ if (! $item.find('.sbi_link_area').hasClass('sbi_had_error') && ! $item.hasClass('sbi_had_error')) {
740
+ foundSizes.push(320);
741
+ srcSet[320] = sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg';
742
+ $item.find('.sbi_link_area').attr( 'href', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg' );
743
+ $item.find('.sbi_photo').attr( 'data-full-res', sb_instagram_js_options.resized_url + this.resizedImages[id].id + 'low.jpg' );
744
+ }
745
  }
746
  }
747
  if (typeof this.resizedImages[id]['sizes']['thumb'] !== 'undefined') {
js/sb-instagram.min.js CHANGED
@@ -1 +1 @@
1
- var sbi_js_exists=void 0!==sbi_js_exists;sbi_js_exists||(!function(i){function e(){var i,e,s,t=t||{VER:"0.9.944"};t.bgs_Available=!1,t.bgs_CheckRunned=!1,function(i){i.fn.extend({sbi_imgLiquid:function(e){this.defaults={fill:!0,verticalAlign:"center",horizontalAlign:"center",useBackgroundSize:!0,useDataHtmlAttr:!0,responsive:!0,delay:0,fadeInTime:0,removeBoxBackground:!0,hardPixels:!0,responsiveCheckTime:500,timecheckvisibility:500,onStart:null,onFinish:null,onItemStart:null,onItemFinish:null,onItemError:null},function(){if(!t.bgs_CheckRunned){t.bgs_CheckRunned=!0;var e=i('<span style="background-size:cover" />');i("body").append(e),function(){var i=e[0];if(i&&window.getComputedStyle){var s=window.getComputedStyle(i,null);s&&s.backgroundSize&&(t.bgs_Available="cover"===s.backgroundSize)}}(),e.remove()}}();var s=this;return this.options=e,this.settings=i.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each(function(e){function a(){(r.responsive||h.data("sbi_imgLiquid_oldProcessed"))&&h.data("sbi_imgLiquid_settings")&&(r=h.data("sbi_imgLiquid_settings"),l.actualSize=l.get(0).offsetWidth+l.get(0).offsetHeight/1e4,l.sizeOld&&l.actualSize!==l.sizeOld&&o(),l.sizeOld=l.actualSize,setTimeout(a,r.responsiveCheckTime))}function n(){h.data("sbi_imgLiquid_error",!0),l.addClass("sbi_imgLiquid_error"),r.onItemError&&r.onItemError(e,l,h),d()}function o(){var i,s,t,a,n,o,g,u,m=0,f=0,_=l.width(),c=l.height();void 0===h.data("owidth")&&h.data("owidth",h[0].width),void 0===h.data("oheight")&&h.data("oheight",h[0].height),r.fill===_/c>=h.data("owidth")/h.data("oheight")?(i="100%",s="auto",t=Math.floor(_),a=Math.floor(_*(h.data("oheight")/h.data("owidth")))):(i="auto",s="100%",t=Math.floor(c*(h.data("owidth")/h.data("oheight"))),a=Math.floor(c)),g=_-t,"left"===(n=r.horizontalAlign.toLowerCase())&&(f=0),"center"===n&&(f=.5*g),"right"===n&&(f=g),-1!==n.indexOf("%")&&((n=parseInt(n.replace("%",""),10))>0&&(f=g*n*.01)),u=c-a,"left"===(o=r.verticalAlign.toLowerCase())&&(m=0),"center"===o&&(m=.5*u),"bottom"===o&&(m=u),-1!==o.indexOf("%")&&((o=parseInt(o.replace("%",""),10))>0&&(m=u*o*.01)),r.hardPixels&&(i=t,s=a),h.css({width:i,height:s,"margin-left":Math.floor(f),"margin-top":Math.floor(m)}),h.data("sbi_imgLiquid_oldProcessed")||(h.fadeTo(r.fadeInTime,1),h.data("sbi_imgLiquid_oldProcessed",!0),r.removeBoxBackground&&l.css("background-image","none"),l.addClass("sbi_imgLiquid_nobgSize"),l.addClass("sbi_imgLiquid_ready")),r.onItemFinish&&r.onItemFinish(e,l,h),d()}function d(){e===s.length-1&&s.settings.onFinish&&s.settings.onFinish()}var r=s.settings,l=i(this),h=i("img:first",l);return h.length?(h.data("sbi_imgLiquid_settings")?(l.removeClass("sbi_imgLiquid_error").removeClass("sbi_imgLiquid_ready"),r=i.extend({},h.data("sbi_imgLiquid_settings"),s.options)):r=i.extend({},s.settings,function(){var i={};if(s.settings.useDataHtmlAttr){var e=l.attr("data-sbi_imgLiquid-fill"),a=l.attr("data-sbi_imgLiquid-horizontalAlign"),n=l.attr("data-sbi_imgLiquid-verticalAlign");("true"===e||"false"===e)&&(i.fill=Boolean("true"===e)),void 0===a||"left"!==a&&"center"!==a&&"right"!==a&&-1===a.indexOf("%")||(i.horizontalAlign=a),void 0===n||"top"!==n&&"bottom"!==n&&"center"!==n&&-1===n.indexOf("%")||(i.verticalAlign=n)}return t.isIE&&s.settings.ieFadeInDisabled&&(i.fadeInTime=0),i}()),h.data("sbi_imgLiquid_settings",r),r.onItemStart&&r.onItemStart(e,l,h),void(t.bgs_Available&&r.useBackgroundSize?(-1===l.css("background-image").indexOf(encodeURI(h.attr("src")))&&l.css({"background-image":'url("'+encodeURI(h.attr("src"))+'")'}),l.css({"background-size":r.fill?"cover":"contain","background-position":(r.horizontalAlign+" "+r.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),i("a:first",l).css({display:"block",width:"100%",height:"100%"}),i("img",l).css({display:"none"}),r.onItemFinish&&r.onItemFinish(e,l,h),l.addClass("sbi_imgLiquid_bgSize"),l.addClass("sbi_imgLiquid_ready"),d()):function s(){if(h.data("oldSrc")&&h.data("oldSrc")!==h.attr("src")){var t=h.clone().removeAttr("style");return t.data("sbi_imgLiquid_settings",h.data("sbi_imgLiquid_settings")),h.parent().prepend(t),h.remove(),(h=t)[0].width=0,void setTimeout(s,10)}return h.data("sbi_imgLiquid_oldProcessed")?void o():(h.data("sbi_imgLiquid_oldProcessed",!1),h.data("oldSrc",h.attr("src")),i("img:not(:first)",l).css("display","none"),l.css({overflow:"hidden"}),h.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"}),h.on("error",n),h[0].onerror=n,function i(){h.data("sbi_imgLiquid_error")||h.data("sbi_imgLiquid_loaded")||h.data("sbi_imgLiquid_oldProcessed")||(l.is(":visible")&&h[0].complete&&h[0].width>0&&h[0].height>0?(h.data("sbi_imgLiquid_loaded",!0),setTimeout(o,e*r.delay)):setTimeout(i,r.timecheckvisibility))}(),void a())}())):void n()})}})}(jQuery),i=t.injectCss,e=document.getElementsByTagName("head")[0],(s=document.createElement("style")).type="text/css",s.styleSheet?s.styleSheet.cssText=i:s.appendChild(document.createTextNode(i)),e.appendChild(s)}function s(){this.feeds={},this.options=sb_instagram_js_options}function t(i,e,s){this.el=i,this.index=e,this.settings=s,this.minImageWidth=0,this.imageResolution=150,this.resizedImages={},this.needsResizing=[],this.outOfPages=!1,this.isInitialized=!1}function a(e,s){i.ajax({url:sbiajaxurl,type:"post",data:e,success:s})}s.prototype={createPage:function(e,s){void 0!==window.sbiajaxurl&&-1!==window.sbiajaxurl.indexOf(window.location.hostname)||(window.sbiajaxurl=window.location.hostname+"/wp-admin/admin-ajax.php"),i(".sbi_no_js_error_message").remove(),i(".sbi_no_js").removeClass("sbi_no_js"),e(s)},createFeeds:function(e){e.whenFeedsCreated(i(".sbi").each(function(e){i(this).attr("data-sbi-index",e+1);var s=i(this),n=void 0!==s.attr("data-sbi-flags")?s.attr("data-sbi-flags").split(","):[],o=void 0!==s.attr("data-options")?JSON.parse(s.attr("data-options")):{};if(n.indexOf("testAjax")>-1){window.sbi.triggeredTest=!0;a({action:"sbi_on_ajax_test_trigger"},function(i){console.log("did test")})}var d={cols:s.attr("data-cols"),colsmobile:"same"!==s.attr("data-colsmobile")?s.attr("data-colsmobile"):s.attr("data-cols"),num:s.attr("data-num"),imgRes:s.attr("data-res"),feedID:s.attr("data-feedid"),shortCodeAtts:s.attr("data-shortcode-atts"),resizingEnabled:-1===n.indexOf("resizeDisable"),imageLoadEnabled:-1===n.indexOf("imageLoadDisable"),debugEnabled:n.indexOf("debug")>-1,favorLocal:n.indexOf("favorLocal")>-1,ajaxPostLoad:n.indexOf("ajaxPostLoad")>-1,autoMinRes:1,general:o};window.sbi.feeds[e]=function(i,e,s){return new t(i,e,s)}(this,e,d),window.sbi.feeds[e].setResizedImages(),window.sbi.feeds[e].init();var r=jQuery.Event("sbiafterfeedcreate");r.feed=window.sbi.feeds[e],jQuery(window).trigger(r)}))},afterFeedsCreated:function(){i(".sb_instagram_header").each(function(){var e=i(this);e.find(".sbi_header_link").hover(function(){e.find(".sbi_header_img_hover").addClass("sbi_fade_in")},function(){e.find(".sbi_header_img_hover").removeClass("sbi_fade_in")})})},encodeHTML:function(i){return void 0===i?"":i.replace(/(>)/g,"&gt;").replace(/(<)/g,"&lt;").replace(/(&lt;br\/&gt;)/g,"<br>").replace(/(&lt;br&gt;)/g,"<br>")},urlDetect:function(i){return i.match(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)/g)}},t.prototype={init:function(){var i=this;this.settings.ajaxPostLoad?this.getNewPostSet():this.afterInitialImagesLoaded();var e,s=(e=0,function(i,s){clearTimeout(e),e=setTimeout(i,s)});jQuery(window).resize(function(){s(function(){i.afterResize()},500)})},initLayout:function(){},afterInitialImagesLoaded:function(){this.initLayout(),this.loadMoreButtonInit(),this.hideExtraImagesForWidth(),this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed()},afterResize:function(){this.setImageHeight(),this.setImageResolution(),this.maybeRaiseImageResolution(),this.setImageSizeClass()},afterLoadMoreClicked:function(i){i.find(".sbi_loader").removeClass("sbi_hidden"),i.find(".sbi_btn_text").addClass("sbi_hidden"),i.closest(".sbi").find(".sbi_num_diff_hide").addClass("sbi_transition").removeClass("sbi_num_diff_hide")},afterNewImagesLoaded:function(){var e=i(this.el),s=this;this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed(),setTimeout(function(){e.find(".sbi_loader").addClass("sbi_hidden"),e.find(".sbi_btn_text").removeClass("sbi_hidden"),s.maybeRaiseImageResolution()},500)},beforeNewImagesRevealed:function(){this.setImageHeight(),this.maybeRaiseImageResolution(!0),this.setImageSizeClass()},revealNewImages:function(){var e=i(this.el);"function"==typeof sbi_custom_js&&setTimeout(function(){sbi_custom_js()},100),this.applyImageLiquid(),e.find(".sbi_item").each(function(i){jQuery(this).find(".sbi_photo").hover(function(){jQuery(this).fadeTo(200,.85)},function(){jQuery(this).stop().fadeTo(500,1)})}),setTimeout(function(){jQuery("#sbi_images .sbi_item.sbi_new").removeClass("sbi_new");var i=10;e.find(".sbi_transition").each(function(){var e=jQuery(this);setTimeout(function(){e.removeClass("sbi_transition")},i),i+=10})},500)},afterNewImagesRevealed:function(){this.listenForVisibilityChange(),this.sendNeedsResizingToServer(),this.settings.imageLoadEnabled||i(".sbi_no_resraise").removeClass("sbi_no_resraise");var e=i.Event("sbiafterimagesloaded");e.el=i(this.el),i(window).trigger(e)},setResizedImages:function(){i(this.el).find(".sbi_resized_image_data").length&&void 0!==i(this.el).find(".sbi_resized_image_data").attr("data-resized")&&0===i(this.el).find(".sbi_resized_image_data").attr("data-resized").indexOf('{"')&&(this.resizedImages=JSON.parse(i(this.el).find(".sbi_resized_image_data").attr("data-resized")),i(this.el).find(".sbi_resized_image_data").remove())},sendNeedsResizingToServer:function(){var e=this;if(e.needsResizing.length>0&&e.settings.resizingEnabled){var s=i(this.el).find(".sbi_item").length;a({action:"sbi_resized_images_submit",needs_resizing:e.needsResizing,offset:s,feed_id:e.settings.feedID,atts:e.settings.shortCodeAtts},function(i){if(0===i.trim().indexOf("{")){var s=JSON.parse(i);e.settings.debugEnabled&&console.log(s)}})}},loadMoreButtonInit:function(){var e=i(this.el),s=this;e.find("#sbi_load .sbi_load_btn").off().on("click",function(){s.afterLoadMoreClicked(jQuery(this)),s.getNewPostSet()})},getNewPostSet:function(){var e=i(this.el),s=this;a({action:"sbi_load_more_clicked",offset:e.find(".sbi_item").length,feed_id:s.settings.feedID,atts:s.settings.shortCodeAtts,current_resolution:s.imageResolution},function(t){if(0===t.trim().indexOf("{")){var a=JSON.parse(t);s.settings.debugEnabled&&console.log(a),s.appendNewPosts(a.html),s.addResizedImages(a.resizedImages),s.settings.ajaxPostLoad?(s.settings.ajaxPostLoad=!1,s.afterInitialImagesLoaded()):s.afterNewImagesLoaded(),a.feedStatus.shouldPaginate?s.outOfPages=!1:(s.outOfPages=!0,e.find(".sbi_load_btn").hide()),i(".sbi_no_js").removeClass("sbi_no_js")}})},appendNewPosts:function(e){var s=i(this.el);s.find("#sbi_images .sbi_item").length?s.find("#sbi_images .sbi_item").last().after(e):s.find("#sbi_images").append(e)},addResizedImages:function(i){for(var e in i)this.resizedImages[e]=i[e]},setImageHeight:function(){var e=i(this.el),s=e.find(".sbi_photo").eq(0).innerWidth(),t=this.getColumnCount(),a=e.find("#sbi_images").innerWidth()-e.find("#sbi_images").width(),n=a/2;sbi_photo_width_manual=e.find("#sbi_images").width()/t-a,e.find(".sbi_photo").css("height",s),e.find(".sbi-owl-nav").length&&setTimeout(function(){var i=2;e.find(".sbi_owl2row-item").length&&(i=1);var s=e.find(".sbi_photo").eq(0).innerWidth()/i;s+=parseInt(n)*(2-i+2),e.find(".sbi-owl-nav div").css("top",s)},100)},maybeRaiseSingleImageResolution:function(e,s,t){var a=this,n=a.getImageUrls(e),o=e.find(".sbi_photo img").attr("src"),d=150,r=e.find("img").get(0),l=o===window.sbi.options.placeholder?1:r.naturalWidth/r.naturalHeight;t=void 0!==t&&t;if(!e.hasClass("sbi_no_resraise")){i.each(n,function(i,e){e===o&&(d=parseInt(i),t=!1)});var h=640;switch(a.settings.imgRes){case"thumb":h=150;break;case"medium":h=320;break;case"full":h=640;break;default:var g=Math.max(a.settings.autoMinRes,e.find(".sbi_photo").innerWidth()),u=a.getBestResolutionForAuto(g,l,e);switch(u){case 320:h=320;break;case 150:h=150}}if(h>d||o===window.sbi.options.placeholder||t){if(a.settings.debugEnabled){var m=o===window.sbi.options.placeholder?"was placeholder":"too small";console.log("rais res for "+o,m)}var f=n[h].split("?ig_cache_key")[0];e.find(".sbi_photo img").attr("src",f),e.find(".sbi_photo").css("background-image",'url("'+f+'")');var _=!1;e.find(".sbi_photo img").on("load",function(){var s=i(this),t=s.get(0).naturalWidth/s.get(0).naturalHeight;if(1e3!==s.get(0).naturalWidth&&t>l&&!_){switch(a.settings.debugEnabled&&console.log("rais res again for aspect ratio change "+o),_=!0,g=e.find(".sbi_photo").innerWidth(),u=a.getBestResolutionForAuto(g,t,e),h=640,u){case 320:h=320;break;case 150:h=150}h>d&&(f=n[h].split("?ig_cache_key")[0],s.attr("src",f),s.closest(".sbi_photo").css("background-image",'url("'+f+'")')),"masonry"!==a.layout&&"highlight"!==a.layout||(i(a.el).find("#sbi_images").smashotope(a.isotopeArgs),setTimeout(function(){i(a.el).find("#sbi_images").smashotope(a.isotopeArgs)},500))}else if(a.settings.debugEnabled){var r=_?"already checked":"no aspect ratio change";console.log("not raising res for replacement "+o,r)}})}e.find("img").on("error",function(){if(i(this).hasClass("sbi_img_error"))console.log("unfixed error "+i(this).attr("src"));else{if(i(this).addClass("sbi_img_error"),i(this).attr("src").indexOf("media?size=")>-1||i(this).attr("src").indexOf("cdninstagram")>-1||i(this).attr("src").indexOf("fbcdn")>-1){a.settings.favorLocal=!0;var e=a.getImageUrls(i(this).closest(".sbi_item"));void 0!==e[640]&&(i(this).attr("src",e[640]),i(this).closest(".sbi_photo").css("background-image","url("+e[640]+")"))}else void 0!==i(this).closest(".sbi_photo").attr("data-full-res")?(i(this).attr("src",i(this).closest(".sbi_photo").attr("data-full-res")),i(this).closest(".sbi_photo").css("background-image","url("+i(this).closest(".sbi_photo").attr("data-full-res")+")")):"undefined"!==i(this).closest(".sbi_photo").attr("href")&&(i(this).attr("src",i(this).closest(".sbi_photo").attr("href")+"media?size=l"),i(this).closest(".sbi_photo").css("background-image","url("+i(this).closest(".sbi_photo").attr("href")+"media?size=l)"));setTimeout(function(){a.afterResize()},1500)}})}},maybeRaiseImageResolution:function(e){var s=this,t=void 0!==e&&!0===e?".sbi_item.sbi_new":".sbi_item",a=!s.isInitialized;i(s.el).find(t).each(function(e){!i(this).hasClass("sbi_num_diff_hide")&&i(this).find(".sbi_photo").length&&void 0!==i(this).find(".sbi_photo").attr("data-img-src-set")&&s.maybeRaiseSingleImageResolution(i(this),e,a)}),s.isInitialized=!0},getBestResolutionForAuto:function(e,s,t){(isNaN(s)||s<1)&&(s=1);var a=e*s,n=10*Math.ceil(a/10),o=[150,320,640];if(t.hasClass("sbi_highlighted")&&(n*=2),-1===o.indexOf(parseInt(n))){var d=!1;i.each(o,function(i,e){e>parseInt(n)&&!d&&(n=e,d=!0)})}return n},hideExtraImagesForWidth:function(){if("carousel"!==this.layout){var e=i(this.el),s=void 0!==e.attr("data-num")&&""!==e.attr("data-num")?parseInt(e.attr("data-num")):1,t=void 0!==e.attr("data-nummobile")&&""!==e.attr("data-nummobile")?parseInt(e.attr("data-nummobile")):s;i(window).width()<480?t<e.find(".sbi_item").length&&e.find(".sbi_item").slice(t-e.find(".sbi_item").length).addClass("sbi_num_diff_hide"):s<e.find(".sbi_item").length&&e.find(".sbi_item").slice(s-e.find(".sbi_item").length).addClass("sbi_num_diff_hide")}},setImageSizeClass:function(){var e=i(this.el);e.removeClass("sbi_small sbi_medium");var s=e.innerWidth(),t=parseInt(e.find("#sbi_images").outerWidth()-e.find("#sbi_images").width())/2,a=this.getColumnCount(),n=(s-t*(a+2))/a;n>120&&n<240?e.addClass("sbi_medium"):n<=120&&e.addClass("sbi_small")},setMinImageWidth:function(){i(this.el).find(".sbi_item .sbi_photo").first().length?this.minImageWidth=i(this.el).find(".sbi_item .sbi_photo").first().innerWidth():this.minImageWidth=150},setImageResolution:function(){if("auto"===this.settings.imgRes)this.imageResolution="auto";else switch(this.settings.imgRes){case"thumb":this.imageResolution=150;break;case"medium":this.imageResolution=320;break;default:this.imageResolution=640}},getImageUrls:function(i){var e=JSON.parse(i.find(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/")),s=i.attr("id").replace("sbi_","");if(void 0!==this.resizedImages[s]&&"video"!==this.resizedImages[s]&&"pending"!==this.resizedImages[s]&&"error"!==this.resizedImages[s].id&&"video"!==this.resizedImages[s].id&&"pending"!==this.resizedImages[s].id){if(void 0!==this.resizedImages[s].sizes){var t=[];void 0!==this.resizedImages[s].sizes.full&&(t.push(640),e[640]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg",i.find(".sbi_link_area").attr("href",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg"),i.find(".sbi_photo").attr("data-full-res",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg")),void 0!==this.resizedImages[s].sizes.low&&(t.push(320),e[320]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg",this.settings.favorLocal&&void 0===this.resizedImages[s].sizes.full&&(i.find(".sbi_link_area").attr("href",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg"),i.find(".sbi_photo").attr("data-full-res",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg"))),void 0!==this.resizedImages[s].sizes.thumb&&(t.push(150),e[150]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"thumb.jpg"),this.settings.favorLocal&&(-1===t.indexOf(640)&&t.indexOf(320)>-1&&(e[640]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg"),-1===t.indexOf(320)&&(t.indexOf(640)>-1?e[320]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg":t.indexOf(150)>-1&&(e[320]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"thumb.jpg")),-1===t.indexOf(150)&&(t.indexOf(320)>-1?e[150]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg":t.indexOf(640)>-1&&(e[150]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg")))}}else(void 0===this.resizedImages[s]||void 0!==this.resizedImages[s].id&&"pending"!==this.resizedImages[s].id&&"error"!==this.resizedImages[s].id)&&this.addToNeedsResizing(s);return e},getAvatarUrl:function(i,e){if(""===i)return"";var s=this.settings.general.avatars;return"local"===(e=void 0!==e?e:"local")?void 0!==s["LCL"+i]&&1===parseInt(s["LCL"+i])?sb_instagram_js_options.resized_url+i+".jpg":void 0!==s[i]?s[i]:"":void 0!==s[i]?s[i]:void 0!==s["LCL"+i]&&1===parseInt(s["LCL"+i])?sb_instagram_js_options.resized_url+i+".jpg":""},addToNeedsResizing:function(i){-1===this.needsResizing.indexOf(i)&&this.needsResizing.push(i)},applyImageLiquid:function(){var s=i(this.el);e(),"function"==typeof s.find(".sbi_photo").sbi_imgLiquid&&s.find(".sbi_photo").sbi_imgLiquid({fill:!0})},listenForVisibilityChange:function(){var e,s,t,a=this;e=jQuery,s={callback:function(){},runOnLoad:!0,frequency:100,sbiPreviousVisibility:null},t={sbiCheckVisibility:function(i,e){if(jQuery.contains(document,i[0])){var s=e.sbiPreviousVisibility,a=i.is(":visible");e.sbiPreviousVisibility=a,null==s?e.runOnLoad&&e.callback(i,a):s!==a&&e.callback(i,a),setTimeout(function(){t.sbiCheckVisibility(i,e)},e.frequency)}}},e.fn.sbiVisibilityChanged=function(i){var a=e.extend({},s,i);return this.each(function(){t.sbiCheckVisibility(e(this),a)})},"function"==typeof i(this.el).filter(":hidden").sbiVisibilityChanged&&i(this.el).filter(":hidden").sbiVisibilityChanged({callback:function(i,e){a.afterResize()},runOnLoad:!1})},getColumnCount:function(){var e=i(this.el),s=this.settings.cols,t=this.settings.colsmobile,a=s;return sbiWindowWidth=window.innerWidth,e.hasClass("sbi_mob_col_auto")?(sbiWindowWidth<640&&parseInt(s)>2&&parseInt(s)<7&&(a=2),sbiWindowWidth<640&&parseInt(s)>6&&parseInt(s)<11&&(a=4),sbiWindowWidth<=480&&parseInt(s)>2&&(a=1)):sbiWindowWidth<=480&&(a=t),parseInt(a)}},window.sbi_init=function(){window.sbi=new s,window.sbi.createPage(window.sbi.createFeeds,{whenFeedsCreated:window.sbi.afterFeedsCreated})}}(jQuery),jQuery(document).ready(function(i){void 0!==window.sb_instagram_js_options.resized_url&&-1===window.sb_instagram_js_options.resized_url.indexOf(location.protocol)&&("http:"===location.protocol?window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("http:","https:"):window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("https:","http:")),sbi_init()}));
1
+ var sbi_js_exists=void 0!==sbi_js_exists;sbi_js_exists||(!function(i){function e(){var i,e,s,t=t||{VER:"0.9.944"};t.bgs_Available=!1,t.bgs_CheckRunned=!1,function(i){i.fn.extend({sbi_imgLiquid:function(e){this.defaults={fill:!0,verticalAlign:"center",horizontalAlign:"center",useBackgroundSize:!0,useDataHtmlAttr:!0,responsive:!0,delay:0,fadeInTime:0,removeBoxBackground:!0,hardPixels:!0,responsiveCheckTime:500,timecheckvisibility:500,onStart:null,onFinish:null,onItemStart:null,onItemFinish:null,onItemError:null},function(){if(!t.bgs_CheckRunned){t.bgs_CheckRunned=!0;var e=i('<span style="background-size:cover" />');i("body").append(e),function(){var i=e[0];if(i&&window.getComputedStyle){var s=window.getComputedStyle(i,null);s&&s.backgroundSize&&(t.bgs_Available="cover"===s.backgroundSize)}}(),e.remove()}}();var s=this;return this.options=e,this.settings=i.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each(function(e){function a(){(r.responsive||h.data("sbi_imgLiquid_oldProcessed"))&&h.data("sbi_imgLiquid_settings")&&(r=h.data("sbi_imgLiquid_settings"),l.actualSize=l.get(0).offsetWidth+l.get(0).offsetHeight/1e4,l.sizeOld&&l.actualSize!==l.sizeOld&&o(),l.sizeOld=l.actualSize,setTimeout(a,r.responsiveCheckTime))}function n(){h.data("sbi_imgLiquid_error",!0),l.addClass("sbi_imgLiquid_error"),r.onItemError&&r.onItemError(e,l,h),d()}function o(){var i,s,t,a,n,o,g,u,_=0,m=0,f=l.width(),b=l.height();void 0===h.data("owidth")&&h.data("owidth",h[0].width),void 0===h.data("oheight")&&h.data("oheight",h[0].height),r.fill===f/b>=h.data("owidth")/h.data("oheight")?(i="100%",s="auto",t=Math.floor(f),a=Math.floor(f*(h.data("oheight")/h.data("owidth")))):(i="auto",s="100%",t=Math.floor(b*(h.data("owidth")/h.data("oheight"))),a=Math.floor(b)),g=f-t,"left"===(n=r.horizontalAlign.toLowerCase())&&(m=0),"center"===n&&(m=.5*g),"right"===n&&(m=g),-1!==n.indexOf("%")&&((n=parseInt(n.replace("%",""),10))>0&&(m=g*n*.01)),u=b-a,"left"===(o=r.verticalAlign.toLowerCase())&&(_=0),"center"===o&&(_=.5*u),"bottom"===o&&(_=u),-1!==o.indexOf("%")&&((o=parseInt(o.replace("%",""),10))>0&&(_=u*o*.01)),r.hardPixels&&(i=t,s=a),h.css({width:i,height:s,"margin-left":Math.floor(m),"margin-top":Math.floor(_)}),h.data("sbi_imgLiquid_oldProcessed")||(h.fadeTo(r.fadeInTime,1),h.data("sbi_imgLiquid_oldProcessed",!0),r.removeBoxBackground&&l.css("background-image","none"),l.addClass("sbi_imgLiquid_nobgSize"),l.addClass("sbi_imgLiquid_ready")),r.onItemFinish&&r.onItemFinish(e,l,h),d()}function d(){e===s.length-1&&s.settings.onFinish&&s.settings.onFinish()}var r=s.settings,l=i(this),h=i("img:first",l);return h.length?(h.data("sbi_imgLiquid_settings")?(l.removeClass("sbi_imgLiquid_error").removeClass("sbi_imgLiquid_ready"),r=i.extend({},h.data("sbi_imgLiquid_settings"),s.options)):r=i.extend({},s.settings,function(){var i={};if(s.settings.useDataHtmlAttr){var e=l.attr("data-sbi_imgLiquid-fill"),a=l.attr("data-sbi_imgLiquid-horizontalAlign"),n=l.attr("data-sbi_imgLiquid-verticalAlign");("true"===e||"false"===e)&&(i.fill=Boolean("true"===e)),void 0===a||"left"!==a&&"center"!==a&&"right"!==a&&-1===a.indexOf("%")||(i.horizontalAlign=a),void 0===n||"top"!==n&&"bottom"!==n&&"center"!==n&&-1===n.indexOf("%")||(i.verticalAlign=n)}return t.isIE&&s.settings.ieFadeInDisabled&&(i.fadeInTime=0),i}()),h.data("sbi_imgLiquid_settings",r),r.onItemStart&&r.onItemStart(e,l,h),void(t.bgs_Available&&r.useBackgroundSize?(-1===l.css("background-image").indexOf(encodeURI(h.attr("src")))&&l.css({"background-image":'url("'+encodeURI(h.attr("src"))+'")'}),l.css({"background-size":r.fill?"cover":"contain","background-position":(r.horizontalAlign+" "+r.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),i("a:first",l).css({display:"block",width:"100%",height:"100%"}),i("img",l).css({display:"none"}),r.onItemFinish&&r.onItemFinish(e,l,h),l.addClass("sbi_imgLiquid_bgSize"),l.addClass("sbi_imgLiquid_ready"),d()):function s(){if(h.data("oldSrc")&&h.data("oldSrc")!==h.attr("src")){var t=h.clone().removeAttr("style");return t.data("sbi_imgLiquid_settings",h.data("sbi_imgLiquid_settings")),h.parent().prepend(t),h.remove(),(h=t)[0].width=0,void setTimeout(s,10)}return h.data("sbi_imgLiquid_oldProcessed")?void o():(h.data("sbi_imgLiquid_oldProcessed",!1),h.data("oldSrc",h.attr("src")),i("img:not(:first)",l).css("display","none"),l.css({overflow:"hidden"}),h.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"}),h.on("error",n),h[0].onerror=n,function i(){h.data("sbi_imgLiquid_error")||h.data("sbi_imgLiquid_loaded")||h.data("sbi_imgLiquid_oldProcessed")||(l.is(":visible")&&h[0].complete&&h[0].width>0&&h[0].height>0?(h.data("sbi_imgLiquid_loaded",!0),setTimeout(o,e*r.delay)):setTimeout(i,r.timecheckvisibility))}(),void a())}())):void n()})}})}(jQuery),i=t.injectCss,e=document.getElementsByTagName("head")[0],(s=document.createElement("style")).type="text/css",s.styleSheet?s.styleSheet.cssText=i:s.appendChild(document.createTextNode(i)),e.appendChild(s)}function s(){this.feeds={},this.options=sb_instagram_js_options}function t(i,e,s){this.el=i,this.index=e,this.settings=s,this.minImageWidth=0,this.imageResolution=150,this.resizedImages={},this.needsResizing=[],this.outOfPages=!1,this.isInitialized=!1}function a(e,s){i.ajax({url:sbiajaxurl,type:"post",data:e,success:s})}s.prototype={createPage:function(e,s){void 0!==window.sbiajaxurl&&-1!==window.sbiajaxurl.indexOf(window.location.hostname)||(window.sbiajaxurl=window.location.hostname+"/wp-admin/admin-ajax.php"),i(".sbi_no_js_error_message").remove(),i(".sbi_no_js").removeClass("sbi_no_js"),e(s)},createFeeds:function(e){e.whenFeedsCreated(i(".sbi").each(function(e){i(this).attr("data-sbi-index",e+1);var s=i(this),n=void 0!==s.attr("data-sbi-flags")?s.attr("data-sbi-flags").split(","):[],o=void 0!==s.attr("data-options")?JSON.parse(s.attr("data-options")):{};if(n.indexOf("testAjax")>-1){window.sbi.triggeredTest=!0;a({action:"sbi_on_ajax_test_trigger"},function(i){console.log("did test")})}var d={cols:s.attr("data-cols"),colsmobile:"same"!==s.attr("data-colsmobile")?s.attr("data-colsmobile"):s.attr("data-cols"),num:s.attr("data-num"),imgRes:s.attr("data-res"),feedID:s.attr("data-feedid"),shortCodeAtts:s.attr("data-shortcode-atts"),resizingEnabled:-1===n.indexOf("resizeDisable"),imageLoadEnabled:-1===n.indexOf("imageLoadDisable"),debugEnabled:n.indexOf("debug")>-1,favorLocal:n.indexOf("favorLocal")>-1,ajaxPostLoad:n.indexOf("ajaxPostLoad")>-1,autoMinRes:1,general:o};window.sbi.feeds[e]=function(i,e,s){return new t(i,e,s)}(this,e,d),window.sbi.feeds[e].setResizedImages(),window.sbi.feeds[e].init();var r=jQuery.Event("sbiafterfeedcreate");r.feed=window.sbi.feeds[e],jQuery(window).trigger(r)}))},afterFeedsCreated:function(){i(".sb_instagram_header").each(function(){var e=i(this);e.find(".sbi_header_link").hover(function(){e.find(".sbi_header_img_hover").addClass("sbi_fade_in")},function(){e.find(".sbi_header_img_hover").removeClass("sbi_fade_in")})})},encodeHTML:function(i){return void 0===i?"":i.replace(/(>)/g,"&gt;").replace(/(<)/g,"&lt;").replace(/(&lt;br\/&gt;)/g,"<br>").replace(/(&lt;br&gt;)/g,"<br>")},urlDetect:function(i){return i.match(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)/g)}},t.prototype={init:function(){var i=this;this.settings.ajaxPostLoad?this.getNewPostSet():this.afterInitialImagesLoaded();var e,s=(e=0,function(i,s){clearTimeout(e),e=setTimeout(i,s)});jQuery(window).resize(function(){s(function(){i.afterResize()},500)})},initLayout:function(){},afterInitialImagesLoaded:function(){this.initLayout(),this.loadMoreButtonInit(),this.hideExtraImagesForWidth(),this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed()},afterResize:function(){this.setImageHeight(),this.setImageResolution(),this.maybeRaiseImageResolution(),this.setImageSizeClass()},afterLoadMoreClicked:function(i){i.find(".sbi_loader").removeClass("sbi_hidden"),i.find(".sbi_btn_text").addClass("sbi_hidden"),i.closest(".sbi").find(".sbi_num_diff_hide").addClass("sbi_transition").removeClass("sbi_num_diff_hide")},afterNewImagesLoaded:function(){var e=i(this.el),s=this;this.beforeNewImagesRevealed(),this.revealNewImages(),this.afterNewImagesRevealed(),setTimeout(function(){e.find(".sbi_loader").addClass("sbi_hidden"),e.find(".sbi_btn_text").removeClass("sbi_hidden"),s.maybeRaiseImageResolution()},500)},beforeNewImagesRevealed:function(){this.setImageHeight(),this.maybeRaiseImageResolution(!0),this.setImageSizeClass()},revealNewImages:function(){var e=i(this.el);"function"==typeof sbi_custom_js&&setTimeout(function(){sbi_custom_js()},100),this.applyImageLiquid(),e.find(".sbi_item").each(function(i){jQuery(this).find(".sbi_photo").hover(function(){jQuery(this).fadeTo(200,.85)},function(){jQuery(this).stop().fadeTo(500,1)})}),setTimeout(function(){jQuery("#sbi_images .sbi_item.sbi_new").removeClass("sbi_new");var i=10;e.find(".sbi_transition").each(function(){var e=jQuery(this);setTimeout(function(){e.removeClass("sbi_transition")},i),i+=10})},500)},afterNewImagesRevealed:function(){this.listenForVisibilityChange(),this.sendNeedsResizingToServer(),this.settings.imageLoadEnabled||i(".sbi_no_resraise").removeClass("sbi_no_resraise");var e=i.Event("sbiafterimagesloaded");e.el=i(this.el),i(window).trigger(e)},setResizedImages:function(){i(this.el).find(".sbi_resized_image_data").length&&void 0!==i(this.el).find(".sbi_resized_image_data").attr("data-resized")&&0===i(this.el).find(".sbi_resized_image_data").attr("data-resized").indexOf('{"')&&(this.resizedImages=JSON.parse(i(this.el).find(".sbi_resized_image_data").attr("data-resized")),i(this.el).find(".sbi_resized_image_data").remove())},sendNeedsResizingToServer:function(){var e=this;if(e.needsResizing.length>0&&e.settings.resizingEnabled){var s=i(this.el).find(".sbi_item").length;a({action:"sbi_resized_images_submit",needs_resizing:e.needsResizing,offset:s,feed_id:e.settings.feedID,atts:e.settings.shortCodeAtts},function(i){if(0===i.trim().indexOf("{")){var s=JSON.parse(i);e.settings.debugEnabled&&console.log(s)}})}},loadMoreButtonInit:function(){var e=i(this.el),s=this;e.find("#sbi_load .sbi_load_btn").off().on("click",function(){s.afterLoadMoreClicked(jQuery(this)),s.getNewPostSet()})},getNewPostSet:function(){var e=i(this.el),s=this;a({action:"sbi_load_more_clicked",offset:e.find(".sbi_item").length,feed_id:s.settings.feedID,atts:s.settings.shortCodeAtts,current_resolution:s.imageResolution},function(t){if(0===t.trim().indexOf("{")){var a=JSON.parse(t);s.settings.debugEnabled&&console.log(a),s.appendNewPosts(a.html),s.addResizedImages(a.resizedImages),s.settings.ajaxPostLoad?(s.settings.ajaxPostLoad=!1,s.afterInitialImagesLoaded()):s.afterNewImagesLoaded(),a.feedStatus.shouldPaginate?s.outOfPages=!1:(s.outOfPages=!0,e.find(".sbi_load_btn").hide()),i(".sbi_no_js").removeClass("sbi_no_js")}})},appendNewPosts:function(e){var s=i(this.el);s.find("#sbi_images .sbi_item").length?s.find("#sbi_images .sbi_item").last().after(e):s.find("#sbi_images").append(e)},addResizedImages:function(i){for(var e in i)this.resizedImages[e]=i[e]},setImageHeight:function(){var e=i(this.el),s=e.find(".sbi_photo").eq(0).innerWidth(),t=this.getColumnCount(),a=e.find("#sbi_images").innerWidth()-e.find("#sbi_images").width(),n=a/2;sbi_photo_width_manual=e.find("#sbi_images").width()/t-a,e.find(".sbi_photo").css("height",s),e.find(".sbi-owl-nav").length&&setTimeout(function(){var i=2;e.find(".sbi_owl2row-item").length&&(i=1);var s=e.find(".sbi_photo").eq(0).innerWidth()/i;s+=parseInt(n)*(2-i+2),e.find(".sbi-owl-nav div").css("top",s)},100)},maybeRaiseSingleImageResolution:function(e,s,t){var a=this,n=a.getImageUrls(e),o=e.find(".sbi_photo img").attr("src"),d=150,r=e.find("img").get(0),l=o===window.sbi.options.placeholder?1:r.naturalWidth/r.naturalHeight;t=void 0!==t&&t;if(!e.hasClass("sbi_no_resraise")){i.each(n,function(i,e){e===o&&(d=parseInt(i),t=!1)});var h=640;switch(a.settings.imgRes){case"thumb":h=150;break;case"medium":h=320;break;case"full":h=640;break;default:var g=Math.max(a.settings.autoMinRes,e.find(".sbi_photo").innerWidth()),u=a.getBestResolutionForAuto(g,l,e);switch(u){case 320:h=320;break;case 150:h=150}}if(h>d||o===window.sbi.options.placeholder||t){if(a.settings.debugEnabled){var _=o===window.sbi.options.placeholder?"was placeholder":"too small";console.log("rais res for "+o,_)}var m=n[h].split("?ig_cache_key")[0];e.find(".sbi_photo img").attr("src",m),e.find(".sbi_photo").css("background-image",'url("'+m+'")');var f=!1;e.find(".sbi_photo img").on("load",function(){var s=i(this),t=s.get(0).naturalWidth/s.get(0).naturalHeight;if(1e3!==s.get(0).naturalWidth&&t>l&&!f){switch(a.settings.debugEnabled&&console.log("rais res again for aspect ratio change "+o),f=!0,g=e.find(".sbi_photo").innerWidth(),u=a.getBestResolutionForAuto(g,t,e),h=640,u){case 320:h=320;break;case 150:h=150}h>d&&(m=n[h].split("?ig_cache_key")[0],s.attr("src",m),s.closest(".sbi_photo").css("background-image",'url("'+m+'")')),"masonry"!==a.layout&&"highlight"!==a.layout||(i(a.el).find("#sbi_images").smashotope(a.isotopeArgs),setTimeout(function(){i(a.el).find("#sbi_images").smashotope(a.isotopeArgs)},500))}else if(a.settings.debugEnabled){var r=f?"already checked":"no aspect ratio change";console.log("not raising res for replacement "+o,r)}})}e.find("img").on("error",function(){if(i(this).hasClass("sbi_img_error"))console.log("unfixed error "+i(this).attr("src"));else{var e;if(i(this).addClass("sbi_img_error"),i(this).attr("src").indexOf("media?size=")>-1||i(this).attr("src").indexOf("cdninstagram")>-1||i(this).attr("src").indexOf("fbcdn")>-1)a.settings.favorLocal=!0,void 0!==(e=a.getImageUrls(i(this).closest(".sbi_item")))[640]&&(i(this).attr("src",e[640]),i(this).closest(".sbi_photo").css("background-image","url("+e[640]+")"),i(this).closest(".sbi_item").addClass("sbi_had_error").find(".sbi_link_area").attr("href",e[640]).addClass("sbi_had_error"));else if("undefined"!==i(this).closest(".sbi_photo").attr("data-img-src-set"))void 0!==(e=JSON.parse(i(this).closest(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/"))).d&&(i(this).attr("src",e.d),i(this).closest(".sbi_photo").css("background-image","url("+e.d+")"),i(this).closest(".sbi_item").addClass("sbi_had_error").find(".sbi_link_area").attr("href",e[640]).addClass("sbi_had_error"));setTimeout(function(){a.afterResize()},1500)}})}},maybeRaiseImageResolution:function(e){var s=this,t=void 0!==e&&!0===e?".sbi_item.sbi_new":".sbi_item",a=!s.isInitialized;i(s.el).find(t).each(function(e){!i(this).hasClass("sbi_num_diff_hide")&&i(this).find(".sbi_photo").length&&void 0!==i(this).find(".sbi_photo").attr("data-img-src-set")&&s.maybeRaiseSingleImageResolution(i(this),e,a)}),s.isInitialized=!0},getBestResolutionForAuto:function(e,s,t){(isNaN(s)||s<1)&&(s=1);var a=e*s,n=10*Math.ceil(a/10),o=[150,320,640];if(t.hasClass("sbi_highlighted")&&(n*=2),-1===o.indexOf(parseInt(n))){var d=!1;i.each(o,function(i,e){e>parseInt(n)&&!d&&(n=e,d=!0)})}return n},hideExtraImagesForWidth:function(){if("carousel"!==this.layout){var e=i(this.el),s=void 0!==e.attr("data-num")&&""!==e.attr("data-num")?parseInt(e.attr("data-num")):1,t=void 0!==e.attr("data-nummobile")&&""!==e.attr("data-nummobile")?parseInt(e.attr("data-nummobile")):s;i(window).width()<480?t<e.find(".sbi_item").length&&e.find(".sbi_item").slice(t-e.find(".sbi_item").length).addClass("sbi_num_diff_hide"):s<e.find(".sbi_item").length&&e.find(".sbi_item").slice(s-e.find(".sbi_item").length).addClass("sbi_num_diff_hide")}},setImageSizeClass:function(){var e=i(this.el);e.removeClass("sbi_small sbi_medium");var s=e.innerWidth(),t=parseInt(e.find("#sbi_images").outerWidth()-e.find("#sbi_images").width())/2,a=this.getColumnCount(),n=(s-t*(a+2))/a;n>120&&n<240?e.addClass("sbi_medium"):n<=120&&e.addClass("sbi_small")},setMinImageWidth:function(){i(this.el).find(".sbi_item .sbi_photo").first().length?this.minImageWidth=i(this.el).find(".sbi_item .sbi_photo").first().innerWidth():this.minImageWidth=150},setImageResolution:function(){if("auto"===this.settings.imgRes)this.imageResolution="auto";else switch(this.settings.imgRes){case"thumb":this.imageResolution=150;break;case"medium":this.imageResolution=320;break;default:this.imageResolution=640}},getImageUrls:function(i){var e=JSON.parse(i.find(".sbi_photo").attr("data-img-src-set").replace(/\\\//g,"/")),s=i.attr("id").replace("sbi_","");if(void 0!==this.resizedImages[s]&&"video"!==this.resizedImages[s]&&"pending"!==this.resizedImages[s]&&"error"!==this.resizedImages[s].id&&"video"!==this.resizedImages[s].id&&"pending"!==this.resizedImages[s].id){if(void 0!==this.resizedImages[s].sizes){var t=[];void 0!==this.resizedImages[s].sizes.full&&(i.find(".sbi_link_area").hasClass("sbi_had_error")||i.hasClass("sbi_had_error")||(t.push(640),e[640]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg",i.find(".sbi_link_area").attr("href",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg"),i.find(".sbi_photo").attr("data-full-res",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg"))),void 0!==this.resizedImages[s].sizes.low&&this.settings.favorLocal&&void 0===this.resizedImages[s].sizes.full&&(i.find(".sbi_link_area").hasClass("sbi_had_error")||i.hasClass("sbi_had_error")||(t.push(320),e[320]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg",i.find(".sbi_link_area").attr("href",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg"),i.find(".sbi_photo").attr("data-full-res",sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg"))),void 0!==this.resizedImages[s].sizes.thumb&&(t.push(150),e[150]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"thumb.jpg"),this.settings.favorLocal&&(-1===t.indexOf(640)&&t.indexOf(320)>-1&&(e[640]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg"),-1===t.indexOf(320)&&(t.indexOf(640)>-1?e[320]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg":t.indexOf(150)>-1&&(e[320]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"thumb.jpg")),-1===t.indexOf(150)&&(t.indexOf(320)>-1?e[150]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"low.jpg":t.indexOf(640)>-1&&(e[150]=sb_instagram_js_options.resized_url+this.resizedImages[s].id+"full.jpg")))}}else(void 0===this.resizedImages[s]||void 0!==this.resizedImages[s].id&&"pending"!==this.resizedImages[s].id&&"error"!==this.resizedImages[s].id)&&this.addToNeedsResizing(s);return e},getAvatarUrl:function(i,e){if(""===i)return"";var s=this.settings.general.avatars;return"local"===(e=void 0!==e?e:"local")?void 0!==s["LCL"+i]&&1===parseInt(s["LCL"+i])?sb_instagram_js_options.resized_url+i+".jpg":void 0!==s[i]?s[i]:"":void 0!==s[i]?s[i]:void 0!==s["LCL"+i]&&1===parseInt(s["LCL"+i])?sb_instagram_js_options.resized_url+i+".jpg":""},addToNeedsResizing:function(i){-1===this.needsResizing.indexOf(i)&&this.needsResizing.push(i)},applyImageLiquid:function(){var s=i(this.el);e(),"function"==typeof s.find(".sbi_photo").sbi_imgLiquid&&s.find(".sbi_photo").sbi_imgLiquid({fill:!0})},listenForVisibilityChange:function(){var e,s,t,a=this;e=jQuery,s={callback:function(){},runOnLoad:!0,frequency:100,sbiPreviousVisibility:null},t={sbiCheckVisibility:function(i,e){if(jQuery.contains(document,i[0])){var s=e.sbiPreviousVisibility,a=i.is(":visible");e.sbiPreviousVisibility=a,null==s?e.runOnLoad&&e.callback(i,a):s!==a&&e.callback(i,a),setTimeout(function(){t.sbiCheckVisibility(i,e)},e.frequency)}}},e.fn.sbiVisibilityChanged=function(i){var a=e.extend({},s,i);return this.each(function(){t.sbiCheckVisibility(e(this),a)})},"function"==typeof i(this.el).filter(":hidden").sbiVisibilityChanged&&i(this.el).filter(":hidden").sbiVisibilityChanged({callback:function(i,e){a.afterResize()},runOnLoad:!1})},getColumnCount:function(){var e=i(this.el),s=this.settings.cols,t=this.settings.colsmobile,a=s;return sbiWindowWidth=window.innerWidth,e.hasClass("sbi_mob_col_auto")?(sbiWindowWidth<640&&parseInt(s)>2&&parseInt(s)<7&&(a=2),sbiWindowWidth<640&&parseInt(s)>6&&parseInt(s)<11&&(a=4),sbiWindowWidth<=480&&parseInt(s)>2&&(a=1)):sbiWindowWidth<=480&&(a=t),parseInt(a)}},window.sbi_init=function(){window.sbi=new s,window.sbi.createPage(window.sbi.createFeeds,{whenFeedsCreated:window.sbi.afterFeedsCreated})}}(jQuery),jQuery(document).ready(function(i){void 0!==window.sb_instagram_js_options.resized_url&&-1===window.sb_instagram_js_options.resized_url.indexOf(location.protocol)&&("http:"===location.protocol?window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("http:","https:"):window.sb_instagram_js_options.resized_url=window.sb_instagram_js_options.resized_url.replace("https:","http:")),sbi_init()}));
languages/instagram-feed-da_DK.mo CHANGED
Binary file
languages/instagram-feed-de_DE.mo CHANGED
Binary file
languages/instagram-feed-es_ES.mo CHANGED
Binary file
languages/instagram-feed-fi_FI.mo CHANGED
Binary file
languages/instagram-feed-fr_FR.mo CHANGED
Binary file
languages/instagram-feed-it_IT.mo CHANGED
Binary file
languages/instagram-feed-ja_JP.mo CHANGED
Binary file
languages/instagram-feed-nl_NL.mo CHANGED
Binary file
languages/instagram-feed-nn_NO.mo CHANGED
Binary file
languages/instagram-feed-pt_PT.mo CHANGED
Binary file
languages/instagram-feed-ru_RU.mo CHANGED
Binary file
languages/instagram-feed-sv_SE.mo CHANGED
Binary file
languages/instagram-feed.pot CHANGED
@@ -1,254 +1,250 @@
1
- #, fuzzy
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: \n"
5
- "POT-Creation-Date: 2019-10-15 06:53-0500\n"
6
- "PO-Revision-Date: 2017-11-27 11:57-0600\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
- "Language: en\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Generator: Poedit 2.2.4\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Poedit-KeywordsList: __;_e;esc_attr_e\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: inc/admin/actions.php:54 inc/admin/main.php:21 inc/admin/main.php:22
20
  msgid "Settings"
21
  msgstr ""
22
 
23
- #: inc/admin/actions.php:135 inc/class-sb-instagram-post.php:243
24
  msgid "Error saving edited image."
25
  msgstr ""
26
 
27
- #: inc/admin/actions.php:144 inc/class-sb-instagram-post.php:252
28
  msgid "Error editing image."
29
  msgstr ""
30
 
31
- #: inc/admin/actions.php:514
32
  msgid "Note for support"
33
  msgstr ""
34
 
35
- #: inc/admin/actions.php:540
36
  msgid ""
37
  "Unable to use admin-ajax.php when displaying feeds. Some features of the "
38
  "plugin will be unavailable."
39
  msgstr ""
40
 
41
- #: inc/admin/actions.php:540 inc/class-sb-instagram-feed.php:924
42
  msgid "this page"
43
  msgstr ""
44
 
45
- #: inc/admin/actions.php:678
46
- #, php-format
47
  msgid ""
48
- "PS. We currently have a Black Friday/Cyber Monday deal going on for "
49
- "<b>20% off</b> the Pro version of the plugin."
50
- msgstr ""
51
-
52
- #: inc/admin/actions.php:678
53
- msgid "Get this deal!"
54
  msgstr ""
55
 
56
- #: inc/admin/actions.php:694 inc/admin/main.php:13 inc/admin/main.php:14
57
- #: inc/admin/main.php:399
58
  msgid "Instagram Feed"
59
  msgstr ""
60
 
61
- #: inc/admin/actions.php:696
62
  msgid ""
63
- "It's great to see that you've been using the <strong>Smash Balloon Instagram "
64
- "Feed</strong> plugin for a while now. Hopefully you're happy with it!&nbsp; "
65
- "If so, would you consider leaving a positive review? It really helps to "
66
- "support the plugin and helps others to discover it too!"
67
  msgstr ""
68
 
69
- #: inc/admin/actions.php:698
70
  msgid "Sure, I'd love to!"
71
  msgstr ""
72
 
73
- #: inc/admin/actions.php:700
74
  msgid "No thanks"
75
  msgstr ""
76
 
77
- #: inc/admin/actions.php:702
78
  msgid "I've already given a review"
79
  msgstr ""
80
 
81
- #: inc/admin/actions.php:704
82
  msgid "Ask Me Later"
83
  msgstr ""
84
 
85
- #: inc/admin/actions.php:721
86
  #, php-format
87
  msgid ""
88
- "<b style=\"font-weight: 700;\">Thank you!</b> We appreciate you using the "
89
- "Smash Balloon Instagram Feed plugin and wanted to say thank you by offering "
90
- "you a limited time <b>20% discount</b> on the Pro version."
 
91
  msgstr ""
92
 
93
- #: inc/admin/actions.php:723
94
- msgid "Yes please!"
95
  msgstr ""
96
 
97
- #: inc/admin/actions.php:724 inc/admin/actions.php:742
98
  msgid "I'm not interested"
99
  msgstr ""
100
 
101
- #: inc/admin/actions.php:739
102
  #, php-format
103
  msgid ""
104
  "<b style=\"font-weight: 700;\">Black Friday/Cyber Monday Deal!</b> Thank you "
105
  "for using our free Instagram Feed plugin. For a limited time, we're offering "
106
- "<b>20% off</b> the Pro version for all of our users."
 
107
  msgstr ""
108
 
109
- #: inc/admin/actions.php:741
110
  msgid "Get this offer!"
111
  msgstr ""
112
 
113
- #: inc/admin/main.php:63 inc/if-functions.php:526
114
  msgid "Load More..."
115
  msgstr ""
116
 
117
- #: inc/admin/main.php:73 inc/if-functions.php:536
118
  msgid "Follow on Instagram"
119
  msgstr ""
120
 
121
- #: inc/admin/main.php:390
122
  msgid "Settings saved."
123
  msgstr ""
124
 
125
- #: inc/admin/main.php:408
126
  msgid "1. Configure"
127
  msgstr ""
128
 
129
- #: inc/admin/main.php:409
130
  msgid "2. Customize"
131
  msgstr ""
132
 
133
- #: inc/admin/main.php:410
134
  msgid "3. Display Your Feed"
135
  msgstr ""
136
 
137
- #: inc/admin/main.php:411
138
  msgid "Support"
139
  msgstr ""
140
 
141
- #: inc/admin/main.php:419
142
  msgid "Configure"
143
  msgstr ""
144
 
145
- #: inc/admin/main.php:424 inc/admin/main.php:426
146
  msgid "Connect an Instagram Account"
147
  msgstr ""
148
 
149
- #: inc/admin/main.php:428
150
  msgid "Button not working?"
151
  msgstr ""
152
 
153
- #: inc/admin/main.php:447
154
  msgid "Instagram Accounts"
155
  msgstr ""
156
 
157
- #: inc/admin/main.php:447
158
  msgid "Use the button above to connect an Instagram account"
159
  msgstr ""
160
 
161
- #: inc/admin/main.php:450
162
  msgid ""
163
  "No Instagram accounts connected. Click the button above to connect an "
164
  "account."
165
  msgstr ""
166
 
167
- #: inc/admin/main.php:470
168
  msgid ""
169
  "The Access Token for this account is expired or invalid. Click the button "
170
  "above to attempt to renew it."
171
  msgstr ""
172
 
173
- #: inc/admin/main.php:475
174
  msgid "Remove"
175
  msgstr ""
176
 
177
- #: inc/admin/main.php:485
178
  msgid "Add to Primary Feed"
179
  msgstr ""
180
 
181
- #: inc/admin/main.php:487
182
  msgid "Remove from Primary Feed"
183
  msgstr ""
184
 
185
- #: inc/admin/main.php:489
186
  msgid "Add to another Feed"
187
  msgstr ""
188
 
189
- #: inc/admin/main.php:490
190
  msgid "Show Access Token"
191
  msgstr ""
192
 
193
- #: inc/admin/main.php:496
194
  msgid "Copy and paste this shortcode into your page or widget area"
195
  msgstr ""
196
 
197
- #: inc/admin/main.php:504
198
  msgid ""
199
  "To add multiple users in the same feed, simply separate them using commas"
200
  msgstr ""
201
 
202
- #: inc/admin/main.php:511
203
  #, php-format
204
  msgid "Click on the %s tab to learn more about shortcodes"
205
  msgstr ""
206
 
207
- #: inc/admin/main.php:511
208
  msgid "Display Your Feed"
209
  msgstr ""
210
 
211
- #: inc/admin/main.php:515
212
  msgid "Access Token"
213
  msgstr ""
214
 
215
- #: inc/admin/main.php:515 inc/admin/main.php:1819
216
  msgid "To copy, click the field then press Ctrl + C (PC) or Cmd + C (Mac)."
217
  msgstr ""
218
 
219
- #: inc/admin/main.php:524
220
  msgid "Manually Connect an Account"
221
  msgstr ""
222
 
223
- #: inc/admin/main.php:526
224
  msgid "Business Profile"
225
  msgstr ""
226
 
227
- #: inc/admin/main.php:528
228
  msgid "Please enter the User ID for this Business Profile:"
229
  msgstr ""
230
 
231
- #: inc/admin/main.php:531
232
  msgid "Connect This Account"
233
  msgstr ""
234
 
235
- #: inc/admin/main.php:668
236
  msgid "Show Photos From:"
237
  msgstr ""
238
 
239
- #: inc/admin/main.php:675
240
  msgid "User Account:"
241
  msgstr ""
242
 
243
- #: inc/admin/main.php:695
244
  msgid "Connect a user account above"
245
  msgstr ""
246
 
247
- #: inc/admin/main.php:698
248
  msgid "How to display User feeds"
249
  msgstr ""
250
 
251
- #: inc/admin/main.php:699
252
  msgid ""
253
  "<p><b>Displaying Posts from Your User Account</b><br />Simply connect an "
254
  "account using the button above.</p><p style='padding-top:8px;'><b>Displaying "
@@ -265,41 +261,49 @@ msgid ""
265
  "another feed on your site.</p>"
266
  msgstr ""
267
 
268
- #: inc/admin/main.php:707
269
  msgid "Hashtag:"
270
  msgstr ""
271
 
272
- #: inc/admin/main.php:711
273
- msgid "Upgrade to the Pro version to display hashtag feeds"
274
  msgstr ""
275
 
276
- #: inc/admin/main.php:712 inc/admin/main.php:931
277
  msgid "Pro"
278
  msgstr ""
279
 
280
- #: inc/admin/main.php:715 inc/admin/main.php:1019 inc/admin/main.php:1032
281
- #: inc/admin/main.php:1240 inc/admin/main.php:1367 inc/admin/main.php:1468
282
- #: inc/admin/main.php:1477 inc/admin/main.php:1584 inc/admin/main.php:1601
283
- #: inc/admin/main.php:1638 inc/admin/main.php:1650
284
  msgid "What is this?"
285
  msgstr ""
286
 
287
- #: inc/admin/main.php:717
288
  msgid "Display posts from a specific hashtag instead of from a user"
289
  msgstr ""
290
 
291
- #: inc/admin/main.php:723
 
 
 
 
 
 
 
 
292
  msgid "Combine multiple feed types into a single feed"
293
  msgstr ""
294
 
295
- #: inc/admin/main.php:725
296
  msgid ""
297
  "Please note: this is only available in the <a href=\"https://smashballoon."
298
  "com/instagram-feed/?utm_source=plugin-free&utm_campaign=sbi\" target=\"_blank"
299
  "\">Pro version</a>"
300
  msgstr ""
301
 
302
- #: inc/admin/main.php:726
303
  #, php-format
304
  msgid ""
305
  "To display multiple feed types in a single feed, use %s in your shortcode "
@@ -307,46 +311,46 @@ msgid ""
307
  "so: %s. This will combine a user feed and a hashtag feed into the same feed."
308
  msgstr ""
309
 
310
- #: inc/admin/main.php:734
311
  msgid "Preserve settings when plugin is removed"
312
  msgstr ""
313
 
314
- #: inc/admin/main.php:737 inc/admin/main.php:1695 inc/admin/main.php:1761
315
- #: inc/admin/main.php:1776 inc/admin/main.php:1794
316
  msgid "Yes"
317
  msgstr ""
318
 
319
- #: inc/admin/main.php:738 inc/admin/main.php:765 inc/admin/main.php:874
320
- #: inc/admin/main.php:1081 inc/admin/main.php:1696 inc/admin/main.php:1710
321
- #: inc/admin/main.php:1719 inc/admin/main.php:1728 inc/admin/main.php:1738
322
- #: inc/admin/main.php:1749 inc/admin/main.php:1765 inc/admin/main.php:1786
323
- #: inc/admin/main.php:1795
324
  msgid "What does this mean?"
325
  msgstr ""
326
 
327
- #: inc/admin/main.php:739
328
  msgid ""
329
  "When removing the plugin your settings are automatically erased. Checking "
330
  "this box will prevent any settings from being deleted. This means that you "
331
  "can uninstall and reinstall the plugin without losing your settings."
332
  msgstr ""
333
 
334
- #: inc/admin/main.php:745
335
  msgid "Check for new posts"
336
  msgstr ""
337
 
338
- #: inc/admin/main.php:750
339
  msgid "When the page loads"
340
  msgstr ""
341
 
342
- #: inc/admin/main.php:752
343
  msgid ""
344
  "Your Instagram post data is temporarily cached by the plugin in your "
345
  "WordPress database. There are two ways that you can set the plugin to check "
346
  "for new data"
347
  msgstr ""
348
 
349
- #: inc/admin/main.php:753
350
  msgid ""
351
  "<b>1. When the page loads</b><br>Selecting this option means that when the "
352
  "cache expires then the plugin will check Facebook for new posts the next "
@@ -359,7 +363,7 @@ msgid ""
359
  "'Customize' tab."
360
  msgstr ""
361
 
362
- #: inc/admin/main.php:755
363
  msgid ""
364
  "<b>2. In the background</b><br>Selecting this option means that the plugin "
365
  "will check for new data in the background so that the feed is updated behind "
@@ -370,23 +374,23 @@ msgid ""
370
  "selected - unless the cache is cleared.</p>"
371
  msgstr ""
372
 
373
- #: inc/admin/main.php:758
374
  msgid "Every"
375
  msgstr ""
376
 
377
- #: inc/admin/main.php:761
378
  msgid "Minutes"
379
  msgstr ""
380
 
381
- #: inc/admin/main.php:762
382
  msgid "Hours"
383
  msgstr ""
384
 
385
- #: inc/admin/main.php:763
386
  msgid "Days"
387
  msgstr ""
388
 
389
- #: inc/admin/main.php:766
390
  msgid ""
391
  "Your Instagram posts are temporarily cached by the plugin in your WordPress "
392
  "database. You can choose how long the posts should be cached for. If you set "
@@ -394,118 +398,118 @@ msgid ""
394
  "time and check Instagram for posts again."
395
  msgstr ""
396
 
397
- #: inc/admin/main.php:771
398
  msgid "In the background"
399
  msgstr ""
400
 
401
- #: inc/admin/main.php:776 instagram-feed.php:123
402
  msgid "Every 30 minutes"
403
  msgstr ""
404
 
405
- #: inc/admin/main.php:777
406
  msgid "Every hour"
407
  msgstr ""
408
 
409
- #: inc/admin/main.php:778
410
  msgid "Every 12 hours"
411
  msgstr ""
412
 
413
- #: inc/admin/main.php:779
414
  msgid "Every 24 hours"
415
  msgstr ""
416
 
417
- #: inc/admin/main.php:783
418
  msgid "at"
419
  msgstr ""
420
 
421
- #: inc/admin/main.php:814
422
  msgid "every 30 minutes"
423
  msgstr ""
424
 
425
- #: inc/admin/main.php:815
426
  msgid "every 12 hours"
427
  msgstr ""
428
 
429
- #: inc/admin/main.php:817
430
  msgid "Next check"
431
  msgstr ""
432
 
433
- #: inc/admin/main.php:817
434
  msgid ""
435
  "Note: Saving the settings on this page will clear the cache and reset this "
436
  "schedule"
437
  msgstr ""
438
 
439
- #: inc/admin/main.php:819
440
  msgid "Nothing currently scheduled"
441
  msgstr ""
442
 
443
- #: inc/admin/main.php:834
444
  msgid ""
445
  "Next Step: <a href=\"?page=sb-instagram-feed&tab=customize\">Customize your "
446
  "Feed</a>"
447
  msgstr ""
448
 
449
- #: inc/admin/main.php:836 inc/admin/main.php:1808 inc/admin/main.php:2178
450
  msgid ""
451
  "Need help setting up the plugin? Check out our <a href=\"https://"
452
  "smashballoon.com/instagram-feed/free/?utm_source=plugin-free&utm_campaign=sbi"
453
  "\" target=\"_blank\">setup directions</a>"
454
  msgstr ""
455
 
456
- #: inc/admin/main.php:846
457
  msgid "Quick links:"
458
  msgstr ""
459
 
460
- #: inc/admin/main.php:847 inc/admin/main.php:859
461
  msgid "General"
462
  msgstr ""
463
 
464
- #: inc/admin/main.php:848 inc/admin/main.php:901
465
  msgid "Layout"
466
  msgstr ""
467
 
468
- #: inc/admin/main.php:849 inc/admin/main.php:1091
469
  msgid "Photos"
470
  msgstr ""
471
 
472
- #: inc/admin/main.php:850 inc/admin/main.php:1275
473
  msgid "Header"
474
  msgstr ""
475
 
476
- #: inc/admin/main.php:851 inc/admin/main.php:1488
477
  msgid "'Load More' Button"
478
  msgstr ""
479
 
480
- #: inc/admin/main.php:852 inc/admin/main.php:1525
481
  msgid "'Follow' Button"
482
  msgstr ""
483
 
484
- #: inc/admin/main.php:853
485
  msgid "Custom CSS"
486
  msgstr ""
487
 
488
- #: inc/admin/main.php:854
489
  msgid "Custom JavaScript"
490
  msgstr ""
491
 
492
- #: inc/admin/main.php:864
493
  msgid "Width of Feed"
494
  msgstr ""
495
 
496
- #: inc/admin/main.php:869 inc/admin/main.php:885 inc/admin/main.php:1071
497
  msgid "px"
498
  msgstr ""
499
 
500
- #: inc/admin/main.php:870 inc/admin/main.php:886 inc/admin/main.php:1072
501
  msgid "%"
502
  msgstr ""
503
 
504
- #: inc/admin/main.php:873
505
  msgid "Set to be 100% width on mobile?"
506
  msgstr ""
507
 
508
- #: inc/admin/main.php:875
509
  #, php-format
510
  msgid ""
511
  "If you set a width on the feed then this will be used on mobile as well as "
@@ -513,308 +517,308 @@ msgid ""
513
  "that it is responsive."
514
  msgstr ""
515
 
516
- #: inc/admin/main.php:880
517
  msgid "Height of Feed"
518
  msgstr ""
519
 
520
- #: inc/admin/main.php:891
521
  msgid "Background Color"
522
  msgstr ""
523
 
524
- #: inc/admin/main.php:908
525
  msgid "Grid"
526
  msgstr ""
527
 
528
- #: inc/admin/main.php:909 inc/admin/main.php:1227
529
  msgid "Carousel"
530
  msgstr ""
531
 
532
- #: inc/admin/main.php:910
533
  msgid "Masonry"
534
  msgstr ""
535
 
536
- #: inc/admin/main.php:911
537
  msgid "Highlight"
538
  msgstr ""
539
 
540
- #: inc/admin/main.php:921
541
  msgid "Click for shortcode option"
542
  msgstr ""
543
 
544
- #: inc/admin/main.php:921
545
  msgid "Layout Type"
546
  msgstr ""
547
 
548
- #: inc/admin/main.php:921
549
  msgid "Select a layout to see associated<br />options"
550
  msgstr ""
551
 
552
- #: inc/admin/main.php:930
553
  msgid "Upgrade to the Pro version to unlock these layouts"
554
  msgstr ""
555
 
556
- #: inc/admin/main.php:937
557
  msgid "A uniform grid of square-cropped images."
558
  msgstr ""
559
 
560
- #: inc/admin/main.php:940
561
  msgid ""
562
  "Images in their original aspect ratios with no vertical space between posts."
563
  msgstr ""
564
 
565
- #: inc/admin/main.php:944
566
  msgid "Posts are displayed in a slideshow carousel."
567
  msgstr ""
568
 
569
- #: inc/admin/main.php:948
570
  msgid "Number of Rows"
571
  msgstr ""
572
 
573
- #: inc/admin/main.php:951
574
  msgid ""
575
  "Use the \"Number of Columns\" setting below this section to set how many "
576
  "posts are visible in the carousel at a given time."
577
  msgstr ""
578
 
579
- #: inc/admin/main.php:959
580
  msgid "Loop Type"
581
  msgstr ""
582
 
583
- #: inc/admin/main.php:964
584
  msgid "Rewind"
585
  msgstr ""
586
 
587
- #: inc/admin/main.php:965
588
  msgid "Infinity"
589
  msgstr ""
590
 
591
- #: inc/admin/main.php:970 inc/admin/main.php:1245
592
  msgid "Show Navigation Arrows"
593
  msgstr ""
594
 
595
- #: inc/admin/main.php:975 inc/admin/main.php:1251
596
  msgid "Show Pagination"
597
  msgstr ""
598
 
599
- #: inc/admin/main.php:980 inc/admin/main.php:1257
600
  msgid "Enable Autoplay"
601
  msgstr ""
602
 
603
- #: inc/admin/main.php:984 inc/admin/main.php:1263
604
  msgid "Interval Time"
605
  msgstr ""
606
 
607
- #: inc/admin/main.php:987
608
  msgid "miliseconds"
609
  msgstr ""
610
 
611
- #: inc/admin/main.php:993
612
  msgid ""
613
  "Masonry style, square-cropped, image only (no captions or likes/comments "
614
  "below image). \"Highlighted\" posts are twice as large."
615
  msgstr ""
616
 
617
- #: inc/admin/main.php:996
618
  msgid "Highlighting Type"
619
  msgstr ""
620
 
621
- #: inc/admin/main.php:1000 inc/admin/main.php:1012
622
  msgid "Pattern"
623
  msgstr ""
624
 
625
- #: inc/admin/main.php:1001
626
  msgid "Post ID"
627
  msgstr ""
628
 
629
- #: inc/admin/main.php:1002
630
  msgid "Hashtag"
631
  msgstr ""
632
 
633
- #: inc/admin/main.php:1015
634
  msgid "Highlight every"
635
  msgstr ""
636
 
637
- #: inc/admin/main.php:1015
638
  msgid "posts"
639
  msgstr ""
640
 
641
- #: inc/admin/main.php:1018
642
  msgid "Highlight Posts with these Hashtags"
643
  msgstr ""
644
 
645
- #: inc/admin/main.php:1021
646
  msgid "Separate multiple hashtags using commas"
647
  msgstr ""
648
 
649
- #: inc/admin/main.php:1024
650
  msgid ""
651
  "You can use this setting to highlight posts by a hashtag. Use a specified "
652
  "hashtag in your posts and they will be automatically highlighted in your "
653
  "feed."
654
  msgstr ""
655
 
656
- #: inc/admin/main.php:1027
657
  msgid "Highlight Posts by ID"
658
  msgstr ""
659
 
660
- #: inc/admin/main.php:1030
661
  msgid "Separate IDs using commas"
662
  msgstr ""
663
 
664
- #: inc/admin/main.php:1033
665
  msgid ""
666
  "You can use this setting to highlight posts by their ID. Enable and use "
667
  "\"moderation mode\", check the box to show post IDs underneath posts, then "
668
  "copy and paste IDs into this text box."
669
  msgstr ""
670
 
671
- #: inc/admin/main.php:1041
672
  msgid "Number of Photos"
673
  msgstr ""
674
 
675
- #: inc/admin/main.php:1045
676
  msgid "Number of photos to show initially."
677
  msgstr ""
678
 
679
- #: inc/admin/main.php:1049
680
  msgid "Number of Columns"
681
  msgstr ""
682
 
683
- #: inc/admin/main.php:1053
684
  msgid "1"
685
  msgstr ""
686
 
687
- #: inc/admin/main.php:1054
688
  msgid "2"
689
  msgstr ""
690
 
691
- #: inc/admin/main.php:1055
692
  msgid "3"
693
  msgstr ""
694
 
695
- #: inc/admin/main.php:1056
696
  msgid "4"
697
  msgstr ""
698
 
699
- #: inc/admin/main.php:1057
700
  msgid "5"
701
  msgstr ""
702
 
703
- #: inc/admin/main.php:1058
704
  msgid "6"
705
  msgstr ""
706
 
707
- #: inc/admin/main.php:1059
708
  msgid "7"
709
  msgstr ""
710
 
711
- #: inc/admin/main.php:1060
712
  msgid "8"
713
  msgstr ""
714
 
715
- #: inc/admin/main.php:1061
716
  msgid "9"
717
  msgstr ""
718
 
719
- #: inc/admin/main.php:1062
720
  msgid "10"
721
  msgstr ""
722
 
723
- #: inc/admin/main.php:1067
724
  msgid "Padding around Images"
725
  msgstr ""
726
 
727
- #: inc/admin/main.php:1077
728
  msgid "Disable mobile layout"
729
  msgstr ""
730
 
731
- #: inc/admin/main.php:1082
732
  msgid ""
733
  "By default on mobile devices the layout automatically changes to use fewer "
734
  "columns. Checking this setting disables the mobile layout."
735
  msgstr ""
736
 
737
- #: inc/admin/main.php:1096
738
  msgid "Sort Photos By"
739
  msgstr ""
740
 
741
- #: inc/admin/main.php:1100
742
  msgid "Newest to oldest"
743
  msgstr ""
744
 
745
- #: inc/admin/main.php:1101
746
  msgid "Random"
747
  msgstr ""
748
 
749
- #: inc/admin/main.php:1106
750
  msgid "Image Resolution"
751
  msgstr ""
752
 
753
- #: inc/admin/main.php:1111
754
  msgid "Auto-detect (recommended)"
755
  msgstr ""
756
 
757
- #: inc/admin/main.php:1112
758
  msgid "Thumbnail (150x150)"
759
  msgstr ""
760
 
761
- #: inc/admin/main.php:1113
762
  msgid "Medium (306x306)"
763
  msgstr ""
764
 
765
- #: inc/admin/main.php:1114
766
  msgid "Full size (640x640)"
767
  msgstr ""
768
 
769
- #: inc/admin/main.php:1117
770
  msgid "What does Auto-detect mean?"
771
  msgstr ""
772
 
773
- #: inc/admin/main.php:1118
774
  msgid ""
775
  "Auto-detect means that the plugin automatically sets the image resolution "
776
  "based on the size of your feed."
777
  msgstr ""
778
 
779
- #: inc/admin/main.php:1125 inc/admin/main.php:1169 inc/admin/main.php:1230
780
- #: inc/admin/main.php:1315 inc/admin/main.php:1351 inc/admin/main.php:1407
781
- #: inc/admin/main.php:1456 inc/admin/main.php:1565 inc/admin/main.php:1615
782
  msgid "Show Pro Options"
783
  msgstr ""
784
 
785
- #: inc/admin/main.php:1129 inc/admin/main.php:1319
786
  msgid "Upgrade to Pro to enable these settings"
787
  msgstr ""
788
 
789
- #: inc/admin/main.php:1134
790
  msgid "Media Type to Display"
791
  msgstr ""
792
 
793
- #: inc/admin/main.php:1137
794
  msgid "All"
795
  msgstr ""
796
 
797
- #: inc/admin/main.php:1138
798
  msgid "Photos only"
799
  msgstr ""
800
 
801
- #: inc/admin/main.php:1139
802
  msgid "Videos only"
803
  msgstr ""
804
 
805
- #: inc/admin/main.php:1145
806
  msgid "Enable Pop-up Lightbox"
807
  msgstr ""
808
 
809
- #: inc/admin/main.php:1152
810
  msgid "Link Posts to URL in Caption (Shoppable feed)"
811
  msgstr ""
812
 
813
- #: inc/admin/main.php:1155
814
  msgid "What will this do?"
815
  msgstr ""
816
 
817
- #: inc/admin/main.php:1156
818
  msgid ""
819
  "Checking this box will change the link for each post to any url included in "
820
  "the caption for that Instagram post. The lightbox will be disabled. Visit <a "
@@ -822,266 +826,266 @@ msgid ""
822
  "free&utm_campaign=sbi'>this link</a> to learn how this works."
823
  msgstr ""
824
 
825
- #: inc/admin/main.php:1165
826
  msgid "Photo Hover Style"
827
  msgstr ""
828
 
829
- #: inc/admin/main.php:1168
830
  msgid "Upgrade to Pro to enable Photo Hover styles"
831
  msgstr ""
832
 
833
- #: inc/admin/main.php:1176
834
  msgid "Hover Background Color"
835
  msgstr ""
836
 
837
- #: inc/admin/main.php:1182
838
  msgid "Hover Text Color"
839
  msgstr ""
840
 
841
- #: inc/admin/main.php:1188
842
  msgid "Information to display"
843
  msgstr ""
844
 
845
- #: inc/admin/main.php:1192
846
  msgid "Username"
847
  msgstr ""
848
 
849
- #: inc/admin/main.php:1196
850
  msgid "Expand Icon"
851
  msgstr ""
852
 
853
- #: inc/admin/main.php:1200
854
  msgid "Date"
855
  msgstr ""
856
 
857
- #: inc/admin/main.php:1204
858
  msgid "Instagram Icon/Link"
859
  msgstr ""
860
 
861
- #: inc/admin/main.php:1208
862
  msgid "Location"
863
  msgstr ""
864
 
865
- #: inc/admin/main.php:1212 inc/admin/main.php:1348
866
  msgid "Caption"
867
  msgstr ""
868
 
869
- #: inc/admin/main.php:1216
870
  msgid "Like/Comment Icons"
871
  msgstr ""
872
 
873
- #: inc/admin/main.php:1229
874
  msgid "Upgrade to Pro to enable Carousels"
875
  msgstr ""
876
 
877
- #: inc/admin/main.php:1237
878
  msgid "Enable Carousel"
879
  msgstr ""
880
 
881
- #: inc/admin/main.php:1241
882
  msgid "Enable this setting to create a carousel slider out of your photos."
883
  msgstr ""
884
 
885
- #: inc/admin/main.php:1265
886
  msgid "milliseconds"
887
  msgstr ""
888
 
889
- #: inc/admin/main.php:1279
890
  msgid "Show Feed Header"
891
  msgstr ""
892
 
893
- #: inc/admin/main.php:1286
894
  msgid "Header Size"
895
  msgstr ""
896
 
897
- #: inc/admin/main.php:1290
898
  msgid "Small"
899
  msgstr ""
900
 
901
- #: inc/admin/main.php:1291
902
  msgid "Medium"
903
  msgstr ""
904
 
905
- #: inc/admin/main.php:1292
906
  msgid "Large"
907
  msgstr ""
908
 
909
- #: inc/admin/main.php:1297
910
  msgid "Show Bio Text"
911
  msgstr ""
912
 
913
- #: inc/admin/main.php:1302
914
  msgid "Only applies for Instagram accounts with bios"
915
  msgstr ""
916
 
917
- #: inc/admin/main.php:1306
918
  msgid "Header Text Color"
919
  msgstr ""
920
 
921
- #: inc/admin/main.php:1324
922
  msgid "Header Style"
923
  msgstr ""
924
 
925
- #: inc/admin/main.php:1327
926
  msgid "Standard"
927
  msgstr ""
928
 
929
- #: inc/admin/main.php:1328
930
  msgid "Boxed"
931
  msgstr ""
932
 
933
- #: inc/admin/main.php:1329
934
  msgid "Centered"
935
  msgstr ""
936
 
937
- #: inc/admin/main.php:1334
938
  msgid "Show Number of Followers"
939
  msgstr ""
940
 
941
- #: inc/admin/main.php:1337
942
  msgid "This only applies when displaying photos from a User ID"
943
  msgstr ""
944
 
945
- #: inc/admin/main.php:1350
946
  msgid "Upgrade to Pro to enable Photo Captions"
947
  msgstr ""
948
 
949
- #: inc/admin/main.php:1358
950
  msgid "Show Caption"
951
  msgstr ""
952
 
953
- #: inc/admin/main.php:1364
954
  msgid "Maximum Text Length"
955
  msgstr ""
956
 
957
- #: inc/admin/main.php:1368
958
  msgid ""
959
  "The number of characters of text to display in the caption. An elipsis link "
960
  "will be added to allow the user to reveal more text if desired."
961
  msgstr ""
962
 
963
- #: inc/admin/main.php:1372
964
  msgid "Text Color"
965
  msgstr ""
966
 
967
- #: inc/admin/main.php:1378
968
  msgid "Text Size"
969
  msgstr ""
970
 
971
- #: inc/admin/main.php:1381 inc/admin/main.php:1429
972
  msgid "Inherit from theme"
973
  msgstr ""
974
 
975
- #: inc/admin/main.php:1404
976
  msgid "Likes &amp; Comments"
977
  msgstr ""
978
 
979
- #: inc/admin/main.php:1406
980
  msgid "Upgrade to Pro to enable Likes &amp; Comments"
981
  msgstr ""
982
 
983
- #: inc/admin/main.php:1414
984
  msgid "Show Icons"
985
  msgstr ""
986
 
987
- #: inc/admin/main.php:1420
988
  msgid "Icon Color"
989
  msgstr ""
990
 
991
- #: inc/admin/main.php:1426
992
  msgid "Icon Size"
993
  msgstr ""
994
 
995
- #: inc/admin/main.php:1452
996
  msgid "Lightbox Comments"
997
  msgstr ""
998
 
999
- #: inc/admin/main.php:1455
1000
  msgid "Upgrade to Pro to enable Comments"
1001
  msgstr ""
1002
 
1003
- #: inc/admin/main.php:1464
1004
  msgid "Show Comments in Lightbox"
1005
  msgstr ""
1006
 
1007
- #: inc/admin/main.php:1469
1008
  msgid "This will remove the cached comments saved in the database"
1009
  msgstr ""
1010
 
1011
- #: inc/admin/main.php:1473
1012
  msgid "Number of Comments"
1013
  msgstr ""
1014
 
1015
- #: inc/admin/main.php:1476
1016
  msgid "Max number of latest comments."
1017
  msgstr ""
1018
 
1019
- #: inc/admin/main.php:1478
1020
  msgid ""
1021
  "This is the maximum number of comments that will be shown in the lightbox. "
1022
  "If there are more comments available than the number set, only the latest "
1023
  "comments will be shown"
1024
  msgstr ""
1025
 
1026
- #: inc/admin/main.php:1492
1027
  msgid "Show the 'Load More' button"
1028
  msgstr ""
1029
 
1030
- #: inc/admin/main.php:1499 inc/admin/main.php:1537
1031
  msgid "Button Background Color"
1032
  msgstr ""
1033
 
1034
- #: inc/admin/main.php:1506 inc/admin/main.php:1544
1035
  msgid "Button Text Color"
1036
  msgstr ""
1037
 
1038
- #: inc/admin/main.php:1513 inc/admin/main.php:1551
1039
  msgid "Button Text"
1040
  msgstr ""
1041
 
1042
- #: inc/admin/main.php:1529
1043
  msgid "Show the Follow button"
1044
  msgstr ""
1045
 
1046
- #: inc/admin/main.php:1561
1047
  msgid "Post Filtering"
1048
  msgstr ""
1049
 
1050
- #: inc/admin/main.php:1564
1051
  msgid "Upgrade to Pro to enable Post Filtering options"
1052
  msgstr ""
1053
 
1054
- #: inc/admin/main.php:1573
1055
  msgid "Remove photos containing these words or hashtags"
1056
  msgstr ""
1057
 
1058
- #: inc/admin/main.php:1576 inc/admin/main.php:1593
1059
  msgid "Apply to:"
1060
  msgstr ""
1061
 
1062
- #: inc/admin/main.php:1577 inc/admin/main.php:1594
1063
  msgid "All feeds"
1064
  msgstr ""
1065
 
1066
- #: inc/admin/main.php:1578 inc/admin/main.php:1595
1067
  msgid "One feed"
1068
  msgstr ""
1069
 
1070
- #: inc/admin/main.php:1583 inc/admin/main.php:1600
1071
  msgid "Separate words/hashtags using commas"
1072
  msgstr ""
1073
 
1074
- #: inc/admin/main.php:1585
1075
  msgid ""
1076
  "You can use this setting to remove photos which contain certain words or "
1077
  "hashtags in the caption. Separate multiple words or hashtags using commas."
1078
  msgstr ""
1079
 
1080
- #: inc/admin/main.php:1590
1081
  msgid "Show photos containing these words or hashtags"
1082
  msgstr ""
1083
 
1084
- #: inc/admin/main.php:1602
1085
  msgid ""
1086
  "You can use this setting to only show photos which contain certain words or "
1087
  "hashtags in the caption. For example, adding <code>sheep, cow, dog</code> "
@@ -1089,27 +1093,27 @@ msgid ""
1089
  "Separate multiple words or hashtags using commas."
1090
  msgstr ""
1091
 
1092
- #: inc/admin/main.php:1611
1093
  msgid "Moderation"
1094
  msgstr ""
1095
 
1096
- #: inc/admin/main.php:1614
1097
  msgid "Upgrade to Pro to enable Moderation options"
1098
  msgstr ""
1099
 
1100
- #: inc/admin/main.php:1622
1101
  msgid "Moderation Type"
1102
  msgstr ""
1103
 
1104
- #: inc/admin/main.php:1624
1105
  msgid "Visual"
1106
  msgstr ""
1107
 
1108
- #: inc/admin/main.php:1625
1109
  msgid "Manual"
1110
  msgstr ""
1111
 
1112
- #: inc/admin/main.php:1627
1113
  msgid ""
1114
  "<b>Visual Moderation Mode</b><br />This adds a button to each feed that will "
1115
  "allow you to hide posts, block users, and create white lists from the front "
@@ -1118,81 +1122,81 @@ msgid ""
1118
  "target='_blank'>this page</a> for details"
1119
  msgstr ""
1120
 
1121
- #: inc/admin/main.php:1633
1122
  msgid "Only show posts by these users"
1123
  msgstr ""
1124
 
1125
- #: inc/admin/main.php:1636
1126
  msgid "Separate usernames using commas"
1127
  msgstr ""
1128
 
1129
- #: inc/admin/main.php:1639
1130
  msgid ""
1131
  "You can use this setting to show photos only from certain users in your "
1132
  "feed. Just enter the usernames here which you want to show. Separate "
1133
  "multiple usernames using commas."
1134
  msgstr ""
1135
 
1136
- #: inc/admin/main.php:1643
1137
  msgid "White lists"
1138
  msgstr ""
1139
 
1140
- #: inc/admin/main.php:1646
1141
  msgid "No white lists currently created"
1142
  msgstr ""
1143
 
1144
- #: inc/admin/main.php:1649
1145
  msgid "Clear White Lists"
1146
  msgstr ""
1147
 
1148
- #: inc/admin/main.php:1651
1149
  msgid "This will remove all of the white lists from the database"
1150
  msgstr ""
1151
 
1152
- #: inc/admin/main.php:1662
1153
  msgid "Misc"
1154
  msgstr ""
1155
 
1156
- #: inc/admin/main.php:1668
1157
  msgid ""
1158
  "<strong style=\"font-size: 15px;\">Custom CSS</strong><br />Enter your own "
1159
  "custom CSS in the box below"
1160
  msgstr ""
1161
 
1162
- #: inc/admin/main.php:1678
1163
  msgid ""
1164
  "<strong style=\"font-size: 15px;\">Custom JavaScript</strong><br />Enter "
1165
  "your own custom JavaScript/jQuery in the box below"
1166
  msgstr ""
1167
 
1168
- #: inc/admin/main.php:1692
1169
  msgid "Are you using an Ajax powered theme?"
1170
  msgstr ""
1171
 
1172
- #: inc/admin/main.php:1697
1173
  msgid ""
1174
  "When navigating your site, if your theme uses Ajax to load content into your "
1175
  "pages (meaning your page doesn't refresh) then check this setting. If you're "
1176
  "not sure then please check with the theme author."
1177
  msgstr ""
1178
 
1179
- #: inc/admin/main.php:1702
1180
  msgid "Image Resizing"
1181
  msgstr ""
1182
 
1183
- #: inc/admin/main.php:1705
1184
  msgid "Disable Local Image Storing and Resizing"
1185
  msgstr ""
1186
 
1187
- #: inc/admin/main.php:1707
1188
  msgid "Favor Local Images"
1189
  msgstr ""
1190
 
1191
- #: inc/admin/main.php:1709
1192
  msgid "Reset Resized Images"
1193
  msgstr ""
1194
 
1195
- #: inc/admin/main.php:1711
1196
  msgid ""
1197
  "The plugin creates and stores resized versions of images in order to serve a "
1198
  "more optimized resolution size in the feed. Click this button to clear all "
@@ -1200,43 +1204,68 @@ msgid ""
1200
  "always use a local, resized image if one is available."
1201
  msgstr ""
1202
 
1203
- #: inc/admin/main.php:1716
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1204
  msgid "Enqueue JS file in head"
1205
  msgstr ""
1206
 
1207
- #: inc/admin/main.php:1720
1208
  msgid ""
1209
  "Check this box if you'd like to enqueue the JavaScript file for the plugin "
1210
  "in the head instead of the footer."
1211
  msgstr ""
1212
 
1213
- #: inc/admin/main.php:1725
 
 
 
 
 
 
 
 
 
 
1214
  msgid "Disable JS Image Loading"
1215
  msgstr ""
1216
 
1217
- #: inc/admin/main.php:1729
1218
  msgid "Check this box to have images loaded server side instead of with JS."
1219
  msgstr ""
1220
 
1221
- #: inc/admin/main.php:1734
1222
  msgid "Enable Backup Caching"
1223
  msgstr ""
1224
 
1225
- #: inc/admin/main.php:1737
1226
  msgid "Clear Backup Cache"
1227
  msgstr ""
1228
 
1229
- #: inc/admin/main.php:1739
1230
  msgid ""
1231
  "Every feed will save a duplicate version of itself in the database to be "
1232
  "used if the normal cache is not available."
1233
  msgstr ""
1234
 
1235
- #: inc/admin/main.php:1745
1236
  msgid "Load initial posts with AJAX"
1237
  msgstr ""
1238
 
1239
- #: inc/admin/main.php:1750
1240
  msgid ""
1241
  "Initial posts will be loaded using AJAX instead of added to the page "
1242
  "directly. If you use page caching, this will allow the feed to update "
@@ -1244,15 +1273,15 @@ msgid ""
1244
  "tab."
1245
  msgstr ""
1246
 
1247
- #: inc/admin/main.php:1756
1248
  msgid "Force cache to clear on interval"
1249
  msgstr ""
1250
 
1251
- #: inc/admin/main.php:1762
1252
  msgid "No"
1253
  msgstr ""
1254
 
1255
- #: inc/admin/main.php:1766
1256
  msgid ""
1257
  "If you're experiencing an issue with the plugin not auto-updating then you "
1258
  "can set this to 'Yes' to run a scheduled event behind the scenes which "
@@ -1260,413 +1289,415 @@ msgid ""
1260
  "from Instagram."
1261
  msgstr ""
1262
 
1263
- #: inc/admin/main.php:1774
1264
  msgid "Disable Icon Font"
1265
  msgstr ""
1266
 
1267
- #: inc/admin/main.php:1780
1268
  msgid "Icon Method"
1269
  msgstr ""
1270
 
1271
- #: inc/admin/main.php:1784
1272
  msgid "Font File"
1273
  msgstr ""
1274
 
1275
- #: inc/admin/main.php:1787
1276
  msgid ""
1277
  "This plugin uses SVGs for all icons in the feed. Use this setting to switch "
1278
  "to font icons."
1279
  msgstr ""
1280
 
1281
- #: inc/admin/main.php:1791
1282
  msgid "Enable Custom Templates"
1283
  msgstr ""
1284
 
1285
- #: inc/admin/main.php:1796
1286
  msgid ""
1287
- "The default html for the feed can be replaced with custom templates added to "
1288
- "your theme's folder. Enable this setting to use these templates."
 
 
1289
  msgstr ""
1290
 
1291
- #: inc/admin/main.php:1806
1292
  msgid ""
1293
  "Next Step: <a href=\"?page=sb-instagram-feed&tab=display\">Display your "
1294
  "Feed</a>"
1295
  msgstr ""
1296
 
1297
- #: inc/admin/main.php:1817
1298
  msgid "Display your Feed"
1299
  msgstr ""
1300
 
1301
- #: inc/admin/main.php:1818
1302
  msgid ""
1303
  "Copy and paste the following shortcode directly into the page, post or "
1304
  "widget where you'd like the feed to show up:"
1305
  msgstr ""
1306
 
1307
- #: inc/admin/main.php:1821
1308
  msgid "Multiple Feeds"
1309
  msgstr ""
1310
 
1311
- #: inc/admin/main.php:1822
1312
  msgid ""
1313
  "If you'd like to display multiple feeds then you can set different settings "
1314
  "directly in the shortcode like so:"
1315
  msgstr ""
1316
 
1317
- #: inc/admin/main.php:1824
1318
  msgid ""
1319
  "You can display as many different feeds as you like, on either the same page "
1320
  "or on different pages, by just using the shortcode options below. For "
1321
  "example:"
1322
  msgstr ""
1323
 
1324
- #: inc/admin/main.php:1829
1325
  msgid "See the table below for a full list of available shortcode options:"
1326
  msgstr ""
1327
 
1328
- #: inc/admin/main.php:1831
1329
  msgid "Pro version only"
1330
  msgstr ""
1331
 
1332
- #: inc/admin/main.php:1836
1333
  msgid "Shortcode option"
1334
  msgstr ""
1335
 
1336
- #: inc/admin/main.php:1837
1337
  msgid "Description"
1338
  msgstr ""
1339
 
1340
- #: inc/admin/main.php:1838
1341
  msgid "Example"
1342
  msgstr ""
1343
 
1344
- #: inc/admin/main.php:1841
1345
  msgid "Configure Options"
1346
  msgstr ""
1347
 
1348
- #: inc/admin/main.php:1844
1349
  msgid ""
1350
  "Display photos from a User ID (user)<br />Display posts from a Hashtag "
1351
  "(hashtag)"
1352
  msgstr ""
1353
 
1354
- #: inc/admin/main.php:1849
1355
  msgid ""
1356
  "Your Instagram User Name. This must be from a connected account on the "
1357
  "\"Configure\" tab."
1358
  msgstr ""
1359
 
1360
- #: inc/admin/main.php:1854
1361
  msgid "Any hashtag. Separate multiple IDs by commas."
1362
  msgstr ""
1363
 
1364
- #: inc/admin/main.php:1858
1365
  msgid "Customize Options"
1366
  msgstr ""
1367
 
1368
- #: inc/admin/main.php:1861
1369
  msgid "The width of your feed. Any number."
1370
  msgstr ""
1371
 
1372
- #: inc/admin/main.php:1866
1373
  msgid "The unit of the width. 'px' or '%'"
1374
  msgstr ""
1375
 
1376
- #: inc/admin/main.php:1871
1377
  msgid "The height of your feed. Any number."
1378
  msgstr ""
1379
 
1380
- #: inc/admin/main.php:1876
1381
  msgid "The unit of the height. 'px' or '%'"
1382
  msgstr ""
1383
 
1384
- #: inc/admin/main.php:1881
1385
  msgid "The background color of the feed. Any hex color code."
1386
  msgstr ""
1387
 
1388
- #: inc/admin/main.php:1886
1389
  msgid "Add a CSS class to the feed container"
1390
  msgstr ""
1391
 
1392
- #: inc/admin/main.php:1890
1393
  msgid "Layout Options"
1394
  msgstr ""
1395
 
1396
- #: inc/admin/main.php:1893
1397
  msgid ""
1398
  "How posts are arranged visually in the feed. There are four layouts: Grid, "
1399
  "Carousel Slider, Masonry Grid, or Highlight Grid. Options:"
1400
  msgstr ""
1401
 
1402
- #: inc/admin/main.php:1898
1403
  msgid "The number of photos to display initially. Maximum is 33."
1404
  msgstr ""
1405
 
1406
- #: inc/admin/main.php:1903
1407
  msgid ""
1408
  "The number of photos to display initially for mobile screens (smaller than "
1409
  "480 pixels)."
1410
  msgstr ""
1411
 
1412
- #: inc/admin/main.php:1908
1413
  msgid "The number of columns in your feed. 1 - 10."
1414
  msgstr ""
1415
 
1416
- #: inc/admin/main.php:1913
1417
  msgid ""
1418
  "The number of columns in your feed for mobile screens (smaller than 480 "
1419
  "pixels)."
1420
  msgstr ""
1421
 
1422
- #: inc/admin/main.php:1918
1423
  msgid "The spacing around your photos"
1424
  msgstr ""
1425
 
1426
- #: inc/admin/main.php:1923
1427
  msgid "The unit of the padding. 'px' or '%'"
1428
  msgstr ""
1429
 
1430
- #: inc/admin/main.php:1927
1431
  msgid "Carousel Options"
1432
  msgstr ""
1433
 
1434
- #: inc/admin/main.php:1930
1435
  msgid "Choose 1 or 2 rows of posts in the carousel"
1436
  msgstr ""
1437
 
1438
- #: inc/admin/main.php:1935
1439
  msgid "Infinitely loop through posts or rewind"
1440
  msgstr ""
1441
 
1442
- #: inc/admin/main.php:1940
1443
  msgid "Display directional arrows on the carousel"
1444
  msgstr ""
1445
 
1446
- #: inc/admin/main.php:1945
1447
  msgid "Display pagination links below the carousel"
1448
  msgstr ""
1449
 
1450
- #: inc/admin/main.php:1950
1451
  msgid "Make the carousel autoplay"
1452
  msgstr ""
1453
 
1454
- #: inc/admin/main.php:1955
1455
  msgid "The interval time between slides for autoplay. Time in miliseconds."
1456
  msgstr ""
1457
 
1458
- #: inc/admin/main.php:1959
1459
  msgid "Highlight Options"
1460
  msgstr ""
1461
 
1462
- #: inc/admin/main.php:1962
1463
  msgid ""
1464
  "Choose from 3 different ways of highlighting posts including by pattern, "
1465
  "hashtag, post id or. Options:"
1466
  msgstr ""
1467
 
1468
- #: inc/admin/main.php:1967
1469
  msgid "How often a post is highlighted."
1470
  msgstr ""
1471
 
1472
- #: inc/admin/main.php:1972
1473
  msgid "When to start the highlight pattern."
1474
  msgstr ""
1475
 
1476
- #: inc/admin/main.php:1977
1477
  msgid "Highlight posts with these hashtags."
1478
  msgstr ""
1479
 
1480
- #: inc/admin/main.php:1985
1481
  msgid "Photos Options"
1482
  msgstr ""
1483
 
1484
- #: inc/admin/main.php:1988
1485
  msgid "Sort the posts by Newest to Oldest (none) or Random (random)"
1486
  msgstr ""
1487
 
1488
- #: inc/admin/main.php:1993
1489
  msgid ""
1490
  "The resolution/size of the photos including full, medium, thumbnail, and "
1491
  "auto (based on size of image on page). Options:"
1492
  msgstr ""
1493
 
1494
- #: inc/admin/main.php:1998
1495
  msgid "Display all media, only photos, or only videos"
1496
  msgstr ""
1497
 
1498
- #: inc/admin/main.php:2003
1499
  msgid "Whether to disable the photo Lightbox. It is enabled by default."
1500
  msgstr ""
1501
 
1502
- #: inc/admin/main.php:2008
1503
  msgid "Disable the mobile layout. Options:"
1504
  msgstr ""
1505
 
1506
- #: inc/admin/main.php:2013
1507
  msgid ""
1508
  "Whether to use urls in captions for the photo's link instead of linking to "
1509
  "instagram.com."
1510
  msgstr ""
1511
 
1512
- #: inc/admin/main.php:2017
1513
  msgid "Lightbox Comments Options"
1514
  msgstr ""
1515
 
1516
- #: inc/admin/main.php:2020
1517
  msgid "Whether to show comments in the lightbox for this feed."
1518
  msgstr ""
1519
 
1520
- #: inc/admin/main.php:2025
1521
  msgid "Number of comments to show starting from the most recent."
1522
  msgstr ""
1523
 
1524
- #: inc/admin/main.php:2029
1525
  msgid "Photos Hover Style Options"
1526
  msgstr ""
1527
 
1528
- #: inc/admin/main.php:2032
1529
  msgid "The background color when hovering over a photo. Any hex color code."
1530
  msgstr ""
1531
 
1532
- #: inc/admin/main.php:2037
1533
  msgid "The text/icon color when hovering over a photo. Any hex color code."
1534
  msgstr ""
1535
 
1536
- #: inc/admin/main.php:2042
1537
  msgid ""
1538
  "The info to display when hovering over the photo such as the user name, post "
1539
  "date, Instagram icon, location, caption, and like counts. Options:"
1540
  msgstr ""
1541
 
1542
- #: inc/admin/main.php:2046
1543
  msgid "Header Options"
1544
  msgstr ""
1545
 
1546
- #: inc/admin/main.php:2049
1547
  msgid "Whether to show the feed Header. Options:"
1548
  msgstr ""
1549
 
1550
- #: inc/admin/main.php:2054
1551
  msgid "Display the bio in the header. Options:"
1552
  msgstr ""
1553
 
1554
- #: inc/admin/main.php:2059
1555
  msgid "Size of the header including small, medium and large. Options:"
1556
  msgstr ""
1557
 
1558
- #: inc/admin/main.php:2064
1559
  msgid "The color of the Header text. Any hex color code."
1560
  msgstr ""
1561
 
1562
- #: inc/admin/main.php:2068
1563
  msgid "'Load More' Button Options"
1564
  msgstr ""
1565
 
1566
- #: inc/admin/main.php:2071
1567
  msgid "Whether to show the 'Load More' button. Options:"
1568
  msgstr ""
1569
 
1570
- #: inc/admin/main.php:2076 inc/admin/main.php:2098
1571
  msgid "The background color of the button. Any hex color code."
1572
  msgstr ""
1573
 
1574
- #: inc/admin/main.php:2081 inc/admin/main.php:2103
1575
  msgid "The text color of the button. Any hex color code."
1576
  msgstr ""
1577
 
1578
- #: inc/admin/main.php:2086 inc/admin/main.php:2108
1579
  msgid "The text used for the button."
1580
  msgstr ""
1581
 
1582
- #: inc/admin/main.php:2090
1583
  msgid "'Follow on Instagram' Button Options"
1584
  msgstr ""
1585
 
1586
- #: inc/admin/main.php:2093
1587
  msgid "Whether to show the 'Follow on Instagram' button. Options:"
1588
  msgstr ""
1589
 
1590
- #: inc/admin/main.php:2112
1591
  msgid "Caption Options"
1592
  msgstr ""
1593
 
1594
- #: inc/admin/main.php:2115
1595
  msgid "Whether to show the photo caption. Options:"
1596
  msgstr ""
1597
 
1598
- #: inc/admin/main.php:2120
1599
  msgid "The number of characters of the caption to display"
1600
  msgstr ""
1601
 
1602
- #: inc/admin/main.php:2125
1603
  msgid "The text color of the caption. Any hex color code."
1604
  msgstr ""
1605
 
1606
- #: inc/admin/main.php:2130
1607
  msgid "The size of the caption text. Any number."
1608
  msgstr ""
1609
 
1610
- #: inc/admin/main.php:2134
1611
  msgid "Likes &amp; Comments Options"
1612
  msgstr ""
1613
 
1614
- #: inc/admin/main.php:2137
1615
  msgid "Whether to show the Likes &amp; Comments. Options:"
1616
  msgstr ""
1617
 
1618
- #: inc/admin/main.php:2142
1619
  msgid "The color of the Likes &amp; Comments. Any hex color code."
1620
  msgstr ""
1621
 
1622
- #: inc/admin/main.php:2147
1623
  msgid "The size of the Likes &amp; Comments. Any number."
1624
  msgstr ""
1625
 
1626
- #: inc/admin/main.php:2151
1627
  msgid "Post Filtering Options"
1628
  msgstr ""
1629
 
1630
- #: inc/admin/main.php:2154
1631
  msgid "Remove posts which contain certain words or hashtags in the caption."
1632
  msgstr ""
1633
 
1634
- #: inc/admin/main.php:2159
1635
  msgid ""
1636
  "Only display posts which contain certain words or hashtags in the caption."
1637
  msgstr ""
1638
 
1639
- #: inc/admin/main.php:2163
1640
  msgid "Auto Load More on Scroll"
1641
  msgstr ""
1642
 
1643
- #: inc/admin/main.php:2166
1644
  msgid "Load more posts automatically as the user scrolls down the page."
1645
  msgstr ""
1646
 
1647
- #: inc/admin/main.php:2171
1648
  msgid ""
1649
  "Distance before the end of feed or page that triggers the loading of more "
1650
  "posts."
1651
  msgstr ""
1652
 
1653
- #: inc/admin/main.php:2188
1654
  msgid "Need help?"
1655
  msgstr ""
1656
 
1657
- #: inc/admin/main.php:2193
1658
  msgid "Setup Directions"
1659
  msgstr ""
1660
 
1661
- #: inc/admin/main.php:2194
1662
  msgid "A step-by-step guide on how to setup and use the plugin."
1663
  msgstr ""
1664
 
1665
- #: inc/admin/main.php:2200
1666
  msgid "Watch a Video"
1667
  msgstr ""
1668
 
1669
- #: inc/admin/main.php:2201
1670
  msgid ""
1671
  "Watch a short video demonstrating how to set up, customize and use the "
1672
  "plugin.<br /><b>Please note</b> that the video shows the set up and use of "
@@ -1676,127 +1707,133 @@ msgid ""
1676
  "some of the features available."
1677
  msgstr ""
1678
 
1679
- #: inc/admin/main.php:2211
1680
  msgid "FAQs and Docs"
1681
  msgstr ""
1682
 
1683
- #: inc/admin/main.php:2212
1684
  msgid ""
1685
  "View our expansive library of FAQs and documentation to help solve your "
1686
  "problem as quickly as possible."
1687
  msgstr ""
1688
 
1689
- #: inc/admin/main.php:2218
1690
  msgid "FAQs"
1691
  msgstr ""
1692
 
1693
- #: inc/admin/main.php:2219
1694
  msgid ""
1695
  "<a href=\"https://smashballoon.com/my-photos-wont-load/?utm_source=plugin-"
1696
  "free&utm_campaign=sbi\" target=\"_blank\">My Instagram Feed Won't Load</a>"
1697
  msgstr ""
1698
 
1699
- #: inc/admin/main.php:2220
1700
  msgid ""
1701
  "<a href=\"https://smashballoon.com/my-instagram-access-token-keep-expiring/?"
1702
  "utm_source=plugin-free&utm_campaign=sbi\" target=\"_blank\">My Access Token "
1703
  "Keeps Expiring</a>"
1704
  msgstr ""
1705
 
1706
- #: inc/admin/main.php:2221
1707
  msgid "See All"
1708
  msgstr ""
1709
 
1710
- #: inc/admin/main.php:2225
1711
  msgid "Documentation"
1712
  msgstr ""
1713
 
1714
- #: inc/admin/main.php:2226
1715
  msgid ""
1716
  "<a href=\"https://smashballoon.com/instagram-feed/free?utm_source=plugin-"
1717
  "free&utm_campaign=sbi\" target=\"_blank\">Installation and Configuration</a>"
1718
  msgstr ""
1719
 
1720
- #: inc/admin/main.php:2227
1721
  msgid ""
1722
  "<a href=\"https://smashballoon.com/display-multiple-instagram-feeds/?"
1723
  "utm_source=plugin-free&utm_campaign=sbi\" target=\"_blank\">Displaying "
1724
  "multiple feeds</a>"
1725
  msgstr ""
1726
 
1727
- #: inc/admin/main.php:2228
1728
  msgid ""
1729
  "<a href=\"https://smashballoon.com/instagram-feed-faq/customization/?"
1730
  "utm_source=plugin-free&utm_campaign=sbi\" target=\"_blank\">Customizing your "
1731
  "Feed</a>"
1732
  msgstr ""
1733
 
1734
- #: inc/admin/main.php:2235
1735
  msgid "Request Support"
1736
  msgstr ""
1737
 
1738
- #: inc/admin/main.php:2236
1739
  msgid ""
1740
  "Still need help? Submit a ticket and one of our support experts will get "
1741
  "back to you as soon as possible.<br /><b>Important:</b> Please include your "
1742
  "<b>System Info</b> below with all support requests."
1743
  msgstr ""
1744
 
1745
- #: inc/admin/main.php:2242
1746
  msgid ""
1747
  "System Info &nbsp; <i style=\"color: #666; font-size: 11px; font-weight: "
1748
  "normal;\">Click the text below to select all</i>"
1749
  msgstr ""
1750
 
1751
- #: inc/admin/main.php:2499
1752
  msgid "Reset Error Log"
1753
  msgstr ""
1754
 
1755
- #: inc/admin/main.php:2507
1756
  msgid "Display your feed"
1757
  msgstr ""
1758
 
1759
- #: inc/admin/main.php:2508
1760
  msgid ""
1761
  "Copy and paste this shortcode directly into the page, post or widget where "
1762
  "you'd like to display the feed:"
1763
  msgstr ""
1764
 
1765
- #: inc/admin/main.php:2509
1766
  msgid ""
1767
  "Find out how to display <a href=\"?page=sb-instagram-feed&amp;tab=display"
1768
  "\">multiple feeds</a>."
1769
  msgstr ""
1770
 
1771
- #: inc/admin/main.php:2513
1772
  msgid "Instagram Feed Pro"
1773
  msgstr ""
1774
 
1775
- #: inc/admin/main.php:2516
1776
  msgid ""
1777
  "Check out our other free plugins: <a href=\"https://wordpress.org/plugins/"
1778
  "custom-facebook-feed/\" target=\"_blank\">Facebook</a> and <a href=\"https://"
1779
  "wordpress.org/plugins/custom-twitter-feeds/\" target=\"_blank\">Twitter</a>."
1780
  msgstr ""
1781
 
1782
- #: inc/admin/main.php:2519
1783
  msgid "Like the plugin? Help spread the word!"
1784
  msgstr ""
1785
 
1786
- #: inc/class-sb-instagram-api-connect.php:202
1787
- #: inc/class-sb-instagram-api-connect.php:278
 
 
 
 
 
 
1788
  #, php-format
1789
  msgid "Error: Access Token for %s is not valid or has expired."
1790
  msgstr ""
1791
 
1792
- #: inc/class-sb-instagram-api-connect.php:202
1793
- #: inc/class-sb-instagram-api-connect.php:278
1794
- #: inc/class-sb-instagram-settings.php:380
1795
- #: inc/class-sb-instagram-settings.php:430
1796
  msgid "Feed will not update."
1797
  msgstr ""
1798
 
1799
- #: inc/class-sb-instagram-api-connect.php:203
1800
  msgid ""
1801
  "There's an issue with the Instagram Access Token that you are using. Please "
1802
  "obtain a new Access Token on the plugin's Settings page.<br />If you "
@@ -1805,108 +1842,124 @@ msgid ""
1805
  "\"_blank\" rel=\"noopener\">this FAQ</a> for more information."
1806
  msgstr ""
1807
 
1808
- #: inc/class-sb-instagram-api-connect.php:246
1809
  msgid "Error: Hashtag limit of 30 unique hashtags per week has been reached."
1810
  msgstr ""
1811
 
1812
- #: inc/class-sb-instagram-api-connect.php:246
1813
  #, php-format
1814
  msgid "Feed may not display until %s."
1815
  msgstr ""
1816
 
1817
- #: inc/class-sb-instagram-api-connect.php:247
1818
  msgid ""
1819
  "If you need to display more than 30 hashtag feeds on your site, consider "
1820
  "connecting an additional business account from a separate Instagram and "
1821
  "Facebook account."
1822
  msgstr ""
1823
 
1824
- #: inc/class-sb-instagram-api-connect.php:253
 
 
 
 
 
 
 
 
 
 
 
 
 
1825
  msgid "Error: Hashtag does not exist."
1826
  msgstr ""
1827
 
1828
- #: inc/class-sb-instagram-api-connect.php:254
1829
  msgid "Please make a post that uses this hashtag to display this feed."
1830
  msgstr ""
1831
 
1832
- #: inc/class-sb-instagram-api-connect.php:279
1833
  msgid ""
1834
  "There's an issue with the Instagram Access Token that you are using. Please "
1835
  "obtain a new Access Token on the plugin's Settings page."
1836
  msgstr ""
1837
 
1838
- #: inc/class-sb-instagram-api-connect.php:313
1839
  #, php-format
1840
  msgid "Error connecting to %s."
1841
  msgstr ""
1842
 
1843
- #: inc/class-sb-instagram-feed.php:623
1844
  msgid "Error: API requests are being delayed for this account."
1845
  msgstr ""
1846
 
1847
- #: inc/class-sb-instagram-feed.php:623
1848
- #: inc/class-sb-instagram-posts-manager.php:381
1849
  msgid "New posts will not be retrieved."
1850
  msgstr ""
1851
 
1852
- #: inc/class-sb-instagram-feed.php:624
1853
- msgid ""
1854
- "There may be an issue with the Instagram Access Token that you are using. "
1855
- "Your server might also be unable to connect to Instagram at this time."
1856
- msgstr ""
1857
-
1858
- #: inc/class-sb-instagram-feed.php:847
1859
- msgid "Error: No posts found."
1860
  msgstr ""
1861
 
1862
- #: inc/class-sb-instagram-feed.php:848
1863
- msgid "Make sure this account has posts available on instagram.com."
 
 
 
1864
  msgstr ""
1865
 
1866
- #: inc/class-sb-instagram-feed.php:923
1867
  msgid ""
1868
  "Error: admin-ajax.php test was not successful. Some features may not be "
1869
  "available."
1870
  msgstr ""
1871
 
1872
- #: inc/class-sb-instagram-feed.php:979
1873
  msgid "No posts found."
1874
  msgstr ""
1875
 
1876
- #: inc/class-sb-instagram-post.php:391
 
 
 
 
 
 
 
 
1877
  msgid "Error updating post."
1878
  msgstr ""
1879
 
1880
- #: inc/class-sb-instagram-post.php:450
1881
  msgid "Error inserting post."
1882
  msgstr ""
1883
 
 
 
 
 
1884
  #: inc/class-sb-instagram-posts-manager.php:292 instagram-feed.php:176
1885
  #: instagram-feed.php:198
1886
  msgid "There was an error creating the folder for storing resized images."
1887
  msgstr ""
1888
 
1889
- #: inc/class-sb-instagram-posts-manager.php:381
1890
  msgid "Error: API requests are being delayed."
1891
  msgstr ""
1892
 
1893
- #: inc/class-sb-instagram-posts-manager.php:382
1894
- msgid ""
1895
- "There may be an issue with the Instagram access token that you are using. "
1896
- "Your server might also be unable to connect to Instagram at this time."
1897
- msgstr ""
1898
-
1899
- #: inc/class-sb-instagram-settings.php:380
1900
  #, php-format
1901
  msgid "Error: There is no connected account for the user %s."
1902
  msgstr ""
1903
 
1904
- #: inc/class-sb-instagram-settings.php:430
1905
  #, php-format
1906
  msgid "Error: There is no connected account for the user %s"
1907
  msgstr ""
1908
 
1909
- #: inc/if-functions.php:43 inc/if-functions.php:394
1910
  msgid "This error message is only visible to WordPress admins"
1911
  msgstr ""
1912
 
@@ -1918,7 +1971,7 @@ msgstr ""
1918
  msgid "Please go to the Instagram Feed settings page to connect an account."
1919
  msgstr ""
1920
 
1921
- #: inc/if-functions.php:340
1922
  msgid "Please connect an account on the Instagram Feed plugin Settings page."
1923
  msgstr ""
1924
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2019-11-29 15:02-0600\n"
5
+ "PO-Revision-Date: 2019-11-29 15:02-0600\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
+ "Language: en_US\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Generator: Poedit 2.2.4\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e;esc_html_e;esc_attr_e;esc_attr__;esc_html__\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
+ #: inc/admin/actions.php:54 inc/admin/main.php:23 inc/admin/main.php:24
19
  msgid "Settings"
20
  msgstr ""
21
 
22
+ #: inc/admin/actions.php:134 inc/class-sb-instagram-post.php:247
23
  msgid "Error saving edited image."
24
  msgstr ""
25
 
26
+ #: inc/admin/actions.php:143 inc/class-sb-instagram-post.php:256
27
  msgid "Error editing image."
28
  msgstr ""
29
 
30
+ #: inc/admin/actions.php:537
31
  msgid "Note for support"
32
  msgstr ""
33
 
34
+ #: inc/admin/actions.php:563
35
  msgid ""
36
  "Unable to use admin-ajax.php when displaying feeds. Some features of the "
37
  "plugin will be unavailable."
38
  msgstr ""
39
 
40
+ #: inc/admin/actions.php:563 inc/class-sb-instagram-feed.php:988
41
  msgid "this page"
42
  msgstr ""
43
 
44
+ #: inc/admin/actions.php:697
 
45
  msgid ""
46
+ "PS. We currently have a <a href=\"https://smashballoon.com/instagram-feed/?"
47
+ "utm_source=plugin-free&utm_campaign=sbi&discount="
 
 
 
 
48
  msgstr ""
49
 
50
+ #: inc/admin/actions.php:713 inc/admin/main.php:15 inc/admin/main.php:16
51
+ #: inc/admin/main.php:411
52
  msgid "Instagram Feed"
53
  msgstr ""
54
 
55
+ #: inc/admin/actions.php:715
56
  msgid ""
57
+ "It's great to see that you've been using the <strong style='font-weight: "
58
+ "700;'>Instagram Feed</strong> plugin for a while now. Hopefully you're happy "
59
+ "with it!&nbsp; If so, would you consider leaving a positive review? It "
60
+ "really helps to support the plugin and helps others to discover it too!"
61
  msgstr ""
62
 
63
+ #: inc/admin/actions.php:719
64
  msgid "Sure, I'd love to!"
65
  msgstr ""
66
 
67
+ #: inc/admin/actions.php:721
68
  msgid "No thanks"
69
  msgstr ""
70
 
71
+ #: inc/admin/actions.php:723
72
  msgid "I've already given a review"
73
  msgstr ""
74
 
75
+ #: inc/admin/actions.php:725
76
  msgid "Ask Me Later"
77
  msgstr ""
78
 
79
+ #: inc/admin/actions.php:742
80
  #, php-format
81
  msgid ""
82
+ "<b style=\"font-weight: 700;\">Exclusive offer!</b> We don't run promotions "
83
+ "very often, but for a limited time we're offering <b style=\"font-weight: "
84
+ "700;\">20% off</b> our Pro version to all users of our free Instagram Feed "
85
+ "plugin."
86
  msgstr ""
87
 
88
+ #: inc/admin/actions.php:744
89
+ msgid "Get this offer"
90
  msgstr ""
91
 
92
+ #: inc/admin/actions.php:745 inc/admin/actions.php:763
93
  msgid "I'm not interested"
94
  msgstr ""
95
 
96
+ #: inc/admin/actions.php:760
97
  #, php-format
98
  msgid ""
99
  "<b style=\"font-weight: 700;\">Black Friday/Cyber Monday Deal!</b> Thank you "
100
  "for using our free Instagram Feed plugin. For a limited time, we're offering "
101
+ "<b style=\"font-weight: 700;\">20% off</b> the Pro version for all of our "
102
+ "users."
103
  msgstr ""
104
 
105
+ #: inc/admin/actions.php:762
106
  msgid "Get this offer!"
107
  msgstr ""
108
 
109
+ #: inc/admin/main.php:65 inc/if-functions.php:556
110
  msgid "Load More..."
111
  msgstr ""
112
 
113
+ #: inc/admin/main.php:75 inc/if-functions.php:566
114
  msgid "Follow on Instagram"
115
  msgstr ""
116
 
117
+ #: inc/admin/main.php:402
118
  msgid "Settings saved."
119
  msgstr ""
120
 
121
+ #: inc/admin/main.php:420
122
  msgid "1. Configure"
123
  msgstr ""
124
 
125
+ #: inc/admin/main.php:421
126
  msgid "2. Customize"
127
  msgstr ""
128
 
129
+ #: inc/admin/main.php:422
130
  msgid "3. Display Your Feed"
131
  msgstr ""
132
 
133
+ #: inc/admin/main.php:423
134
  msgid "Support"
135
  msgstr ""
136
 
137
+ #: inc/admin/main.php:431
138
  msgid "Configure"
139
  msgstr ""
140
 
141
+ #: inc/admin/main.php:436 inc/admin/main.php:438
142
  msgid "Connect an Instagram Account"
143
  msgstr ""
144
 
145
+ #: inc/admin/main.php:440
146
  msgid "Button not working?"
147
  msgstr ""
148
 
149
+ #: inc/admin/main.php:459
150
  msgid "Instagram Accounts"
151
  msgstr ""
152
 
153
+ #: inc/admin/main.php:459
154
  msgid "Use the button above to connect an Instagram account"
155
  msgstr ""
156
 
157
+ #: inc/admin/main.php:462
158
  msgid ""
159
  "No Instagram accounts connected. Click the button above to connect an "
160
  "account."
161
  msgstr ""
162
 
163
+ #: inc/admin/main.php:501
164
  msgid ""
165
  "The Access Token for this account is expired or invalid. Click the button "
166
  "above to attempt to renew it."
167
  msgstr ""
168
 
169
+ #: inc/admin/main.php:506
170
  msgid "Remove"
171
  msgstr ""
172
 
173
+ #: inc/admin/main.php:516
174
  msgid "Add to Primary Feed"
175
  msgstr ""
176
 
177
+ #: inc/admin/main.php:518
178
  msgid "Remove from Primary Feed"
179
  msgstr ""
180
 
181
+ #: inc/admin/main.php:520
182
  msgid "Add to another Feed"
183
  msgstr ""
184
 
185
+ #: inc/admin/main.php:521
186
  msgid "Show Access Token"
187
  msgstr ""
188
 
189
+ #: inc/admin/main.php:527
190
  msgid "Copy and paste this shortcode into your page or widget area"
191
  msgstr ""
192
 
193
+ #: inc/admin/main.php:535
194
  msgid ""
195
  "To add multiple users in the same feed, simply separate them using commas"
196
  msgstr ""
197
 
198
+ #: inc/admin/main.php:542
199
  #, php-format
200
  msgid "Click on the %s tab to learn more about shortcodes"
201
  msgstr ""
202
 
203
+ #: inc/admin/main.php:542
204
  msgid "Display Your Feed"
205
  msgstr ""
206
 
207
+ #: inc/admin/main.php:546
208
  msgid "Access Token"
209
  msgstr ""
210
 
211
+ #: inc/admin/main.php:546 inc/admin/main.php:1883
212
  msgid "To copy, click the field then press Ctrl + C (PC) or Cmd + C (Mac)."
213
  msgstr ""
214
 
215
+ #: inc/admin/main.php:555
216
  msgid "Manually Connect an Account"
217
  msgstr ""
218
 
219
+ #: inc/admin/main.php:557
220
  msgid "Business Profile"
221
  msgstr ""
222
 
223
+ #: inc/admin/main.php:559
224
  msgid "Please enter the User ID for this Business Profile:"
225
  msgstr ""
226
 
227
+ #: inc/admin/main.php:562
228
  msgid "Connect This Account"
229
  msgstr ""
230
 
231
+ #: inc/admin/main.php:699
232
  msgid "Show Photos From:"
233
  msgstr ""
234
 
235
+ #: inc/admin/main.php:706
236
  msgid "User Account:"
237
  msgstr ""
238
 
239
+ #: inc/admin/main.php:726
240
  msgid "Connect a user account above"
241
  msgstr ""
242
 
243
+ #: inc/admin/main.php:729
244
  msgid "How to display User feeds"
245
  msgstr ""
246
 
247
+ #: inc/admin/main.php:730
248
  msgid ""
249
  "<p><b>Displaying Posts from Your User Account</b><br />Simply connect an "
250
  "account using the button above.</p><p style='padding-top:8px;'><b>Displaying "
261
  "another feed on your site.</p>"
262
  msgstr ""
263
 
264
+ #: inc/admin/main.php:738
265
  msgid "Hashtag:"
266
  msgstr ""
267
 
268
+ #: inc/admin/main.php:742
269
+ msgid "Upgrade to the Pro version to display Hashtag and Tagged feeds"
270
  msgstr ""
271
 
272
+ #: inc/admin/main.php:743 inc/admin/main.php:975
273
  msgid "Pro"
274
  msgstr ""
275
 
276
+ #: inc/admin/main.php:746 inc/admin/main.php:759 inc/admin/main.php:1063
277
+ #: inc/admin/main.php:1076 inc/admin/main.php:1284 inc/admin/main.php:1411
278
+ #: inc/admin/main.php:1512 inc/admin/main.php:1521 inc/admin/main.php:1628
279
+ #: inc/admin/main.php:1645 inc/admin/main.php:1682 inc/admin/main.php:1694
280
  msgid "What is this?"
281
  msgstr ""
282
 
283
+ #: inc/admin/main.php:748
284
  msgid "Display posts from a specific hashtag instead of from a user"
285
  msgstr ""
286
 
287
+ #: inc/admin/main.php:755
288
+ msgid "Tagged:"
289
+ msgstr ""
290
+
291
+ #: inc/admin/main.php:761
292
+ msgid "Display posts that your account has been tagged in."
293
+ msgstr ""
294
+
295
+ #: inc/admin/main.php:767
296
  msgid "Combine multiple feed types into a single feed"
297
  msgstr ""
298
 
299
+ #: inc/admin/main.php:769
300
  msgid ""
301
  "Please note: this is only available in the <a href=\"https://smashballoon."
302
  "com/instagram-feed/?utm_source=plugin-free&utm_campaign=sbi\" target=\"_blank"
303
  "\">Pro version</a>"
304
  msgstr ""
305
 
306
+ #: inc/admin/main.php:770
307
  #, php-format
308
  msgid ""
309
  "To display multiple feed types in a single feed, use %s in your shortcode "
311
  "so: %s. This will combine a user feed and a hashtag feed into the same feed."
312
  msgstr ""
313
 
314
+ #: inc/admin/main.php:778
315
  msgid "Preserve settings when plugin is removed"
316
  msgstr ""
317
 
318
+ #: inc/admin/main.php:781 inc/admin/main.php:1739 inc/admin/main.php:1825
319
+ #: inc/admin/main.php:1840 inc/admin/main.php:1858
320
  msgid "Yes"
321
  msgstr ""
322
 
323
+ #: inc/admin/main.php:782 inc/admin/main.php:809 inc/admin/main.php:918
324
+ #: inc/admin/main.php:1125 inc/admin/main.php:1740 inc/admin/main.php:1754
325
+ #: inc/admin/main.php:1765 inc/admin/main.php:1774 inc/admin/main.php:1783
326
+ #: inc/admin/main.php:1792 inc/admin/main.php:1802 inc/admin/main.php:1813
327
+ #: inc/admin/main.php:1829 inc/admin/main.php:1850 inc/admin/main.php:1859
328
  msgid "What does this mean?"
329
  msgstr ""
330
 
331
+ #: inc/admin/main.php:783
332
  msgid ""
333
  "When removing the plugin your settings are automatically erased. Checking "
334
  "this box will prevent any settings from being deleted. This means that you "
335
  "can uninstall and reinstall the plugin without losing your settings."
336
  msgstr ""
337
 
338
+ #: inc/admin/main.php:789
339
  msgid "Check for new posts"
340
  msgstr ""
341
 
342
+ #: inc/admin/main.php:794
343
  msgid "When the page loads"
344
  msgstr ""
345
 
346
+ #: inc/admin/main.php:796
347
  msgid ""
348
  "Your Instagram post data is temporarily cached by the plugin in your "
349
  "WordPress database. There are two ways that you can set the plugin to check "
350
  "for new data"
351
  msgstr ""
352
 
353
+ #: inc/admin/main.php:797
354
  msgid ""
355
  "<b>1. When the page loads</b><br>Selecting this option means that when the "
356
  "cache expires then the plugin will check Facebook for new posts the next "
363
  "'Customize' tab."
364
  msgstr ""
365
 
366
+ #: inc/admin/main.php:799
367
  msgid ""
368
  "<b>2. In the background</b><br>Selecting this option means that the plugin "
369
  "will check for new data in the background so that the feed is updated behind "
374
  "selected - unless the cache is cleared.</p>"
375
  msgstr ""
376
 
377
+ #: inc/admin/main.php:802
378
  msgid "Every"
379
  msgstr ""
380
 
381
+ #: inc/admin/main.php:805
382
  msgid "Minutes"
383
  msgstr ""
384
 
385
+ #: inc/admin/main.php:806
386
  msgid "Hours"
387
  msgstr ""
388
 
389
+ #: inc/admin/main.php:807
390
  msgid "Days"
391
  msgstr ""
392
 
393
+ #: inc/admin/main.php:810
394
  msgid ""
395
  "Your Instagram posts are temporarily cached by the plugin in your WordPress "
396
  "database. You can choose how long the posts should be cached for. If you set "
398
  "time and check Instagram for posts again."
399
  msgstr ""
400
 
401
+ #: inc/admin/main.php:815
402
  msgid "In the background"
403
  msgstr ""
404
 
405
+ #: inc/admin/main.php:820 instagram-feed.php:123
406
  msgid "Every 30 minutes"
407
  msgstr ""
408
 
409
+ #: inc/admin/main.php:821
410
  msgid "Every hour"
411
  msgstr ""
412
 
413
+ #: inc/admin/main.php:822
414
  msgid "Every 12 hours"
415
  msgstr ""
416
 
417
+ #: inc/admin/main.php:823
418
  msgid "Every 24 hours"
419
  msgstr ""
420
 
421
+ #: inc/admin/main.php:827
422
  msgid "at"
423
  msgstr ""
424
 
425
+ #: inc/admin/main.php:858
426
  msgid "every 30 minutes"
427
  msgstr ""
428
 
429
+ #: inc/admin/main.php:859
430
  msgid "every 12 hours"
431
  msgstr ""
432
 
433
+ #: inc/admin/main.php:861
434
  msgid "Next check"
435
  msgstr ""
436
 
437
+ #: inc/admin/main.php:861
438
  msgid ""
439
  "Note: Saving the settings on this page will clear the cache and reset this "
440
  "schedule"
441
  msgstr ""
442
 
443
+ #: inc/admin/main.php:863
444
  msgid "Nothing currently scheduled"
445
  msgstr ""
446
 
447
+ #: inc/admin/main.php:878
448
  msgid ""
449
  "Next Step: <a href=\"?page=sb-instagram-feed&tab=customize\">Customize your "
450
  "Feed</a>"
451
  msgstr ""
452
 
453
+ #: inc/admin/main.php:880 inc/admin/main.php:1872 inc/admin/main.php:2242
454
  msgid ""
455
  "Need help setting up the plugin? Check out our <a href=\"https://"
456
  "smashballoon.com/instagram-feed/free/?utm_source=plugin-free&utm_campaign=sbi"
457
  "\" target=\"_blank\">setup directions</a>"
458
  msgstr ""
459
 
460
+ #: inc/admin/main.php:890
461
  msgid "Quick links:"
462
  msgstr ""
463
 
464
+ #: inc/admin/main.php:891 inc/admin/main.php:903
465
  msgid "General"
466
  msgstr ""
467
 
468
+ #: inc/admin/main.php:892 inc/admin/main.php:945
469
  msgid "Layout"
470
  msgstr ""
471
 
472
+ #: inc/admin/main.php:893 inc/admin/main.php:1135
473
  msgid "Photos"
474
  msgstr ""
475
 
476
+ #: inc/admin/main.php:894 inc/admin/main.php:1319
477
  msgid "Header"
478
  msgstr ""
479
 
480
+ #: inc/admin/main.php:895 inc/admin/main.php:1532
481
  msgid "'Load More' Button"
482
  msgstr ""
483
 
484
+ #: inc/admin/main.php:896 inc/admin/main.php:1569
485
  msgid "'Follow' Button"
486
  msgstr ""
487
 
488
+ #: inc/admin/main.php:897
489
  msgid "Custom CSS"
490
  msgstr ""
491
 
492
+ #: inc/admin/main.php:898
493
  msgid "Custom JavaScript"
494
  msgstr ""
495
 
496
+ #: inc/admin/main.php:908
497
  msgid "Width of Feed"
498
  msgstr ""
499
 
500
+ #: inc/admin/main.php:913 inc/admin/main.php:929 inc/admin/main.php:1115
501
  msgid "px"
502
  msgstr ""
503
 
504
+ #: inc/admin/main.php:914 inc/admin/main.php:930 inc/admin/main.php:1116
505
  msgid "%"
506
  msgstr ""
507
 
508
+ #: inc/admin/main.php:917
509
  msgid "Set to be 100% width on mobile?"
510
  msgstr ""
511
 
512
+ #: inc/admin/main.php:919
513
  #, php-format
514
  msgid ""
515
  "If you set a width on the feed then this will be used on mobile as well as "
517
  "that it is responsive."
518
  msgstr ""
519
 
520
+ #: inc/admin/main.php:924
521
  msgid "Height of Feed"
522
  msgstr ""
523
 
524
+ #: inc/admin/main.php:935
525
  msgid "Background Color"
526
  msgstr ""
527
 
528
+ #: inc/admin/main.php:952
529
  msgid "Grid"
530
  msgstr ""
531
 
532
+ #: inc/admin/main.php:953 inc/admin/main.php:1271
533
  msgid "Carousel"
534
  msgstr ""
535
 
536
+ #: inc/admin/main.php:954
537
  msgid "Masonry"
538
  msgstr ""
539
 
540
+ #: inc/admin/main.php:955
541
  msgid "Highlight"
542
  msgstr ""
543
 
544
+ #: inc/admin/main.php:965
545
  msgid "Click for shortcode option"
546
  msgstr ""
547
 
548
+ #: inc/admin/main.php:965
549
  msgid "Layout Type"
550
  msgstr ""
551
 
552
+ #: inc/admin/main.php:965
553
  msgid "Select a layout to see associated<br />options"
554
  msgstr ""
555
 
556
+ #: inc/admin/main.php:974
557
  msgid "Upgrade to the Pro version to unlock these layouts"
558
  msgstr ""
559
 
560
+ #: inc/admin/main.php:981
561
  msgid "A uniform grid of square-cropped images."
562
  msgstr ""
563
 
564
+ #: inc/admin/main.php:984
565
  msgid ""
566
  "Images in their original aspect ratios with no vertical space between posts."
567
  msgstr ""
568
 
569
+ #: inc/admin/main.php:988
570
  msgid "Posts are displayed in a slideshow carousel."
571
  msgstr ""
572
 
573
+ #: inc/admin/main.php:992
574
  msgid "Number of Rows"
575
  msgstr ""
576
 
577
+ #: inc/admin/main.php:995
578
  msgid ""
579
  "Use the \"Number of Columns\" setting below this section to set how many "
580
  "posts are visible in the carousel at a given time."
581
  msgstr ""
582
 
583
+ #: inc/admin/main.php:1003
584
  msgid "Loop Type"
585
  msgstr ""
586
 
587
+ #: inc/admin/main.php:1008
588
  msgid "Rewind"
589
  msgstr ""
590
 
591
+ #: inc/admin/main.php:1009
592
  msgid "Infinity"
593
  msgstr ""
594
 
595
+ #: inc/admin/main.php:1014 inc/admin/main.php:1289
596
  msgid "Show Navigation Arrows"
597
  msgstr ""
598
 
599
+ #: inc/admin/main.php:1019 inc/admin/main.php:1295
600
  msgid "Show Pagination"
601
  msgstr ""
602
 
603
+ #: inc/admin/main.php:1024 inc/admin/main.php:1301
604
  msgid "Enable Autoplay"
605
  msgstr ""
606
 
607
+ #: inc/admin/main.php:1028 inc/admin/main.php:1307
608
  msgid "Interval Time"
609
  msgstr ""
610
 
611
+ #: inc/admin/main.php:1031
612
  msgid "miliseconds"
613
  msgstr ""
614
 
615
+ #: inc/admin/main.php:1037
616
  msgid ""
617
  "Masonry style, square-cropped, image only (no captions or likes/comments "
618
  "below image). \"Highlighted\" posts are twice as large."
619
  msgstr ""
620
 
621
+ #: inc/admin/main.php:1040
622
  msgid "Highlighting Type"
623
  msgstr ""
624
 
625
+ #: inc/admin/main.php:1044 inc/admin/main.php:1056
626
  msgid "Pattern"
627
  msgstr ""
628
 
629
+ #: inc/admin/main.php:1045
630
  msgid "Post ID"
631
  msgstr ""
632
 
633
+ #: inc/admin/main.php:1046
634
  msgid "Hashtag"
635
  msgstr ""
636
 
637
+ #: inc/admin/main.php:1059
638
  msgid "Highlight every"
639
  msgstr ""
640
 
641
+ #: inc/admin/main.php:1059
642
  msgid "posts"
643
  msgstr ""
644
 
645
+ #: inc/admin/main.php:1062
646
  msgid "Highlight Posts with these Hashtags"
647
  msgstr ""
648
 
649
+ #: inc/admin/main.php:1065
650
  msgid "Separate multiple hashtags using commas"
651
  msgstr ""
652
 
653
+ #: inc/admin/main.php:1068
654
  msgid ""
655
  "You can use this setting to highlight posts by a hashtag. Use a specified "
656
  "hashtag in your posts and they will be automatically highlighted in your "
657
  "feed."
658
  msgstr ""
659
 
660
+ #: inc/admin/main.php:1071
661
  msgid "Highlight Posts by ID"
662
  msgstr ""
663
 
664
+ #: inc/admin/main.php:1074
665
  msgid "Separate IDs using commas"
666
  msgstr ""
667
 
668
+ #: inc/admin/main.php:1077
669
  msgid ""
670
  "You can use this setting to highlight posts by their ID. Enable and use "
671
  "\"moderation mode\", check the box to show post IDs underneath posts, then "
672
  "copy and paste IDs into this text box."
673
  msgstr ""
674
 
675
+ #: inc/admin/main.php:1085
676
  msgid "Number of Photos"
677
  msgstr ""
678
 
679
+ #: inc/admin/main.php:1089
680
  msgid "Number of photos to show initially."
681
  msgstr ""
682
 
683
+ #: inc/admin/main.php:1093
684
  msgid "Number of Columns"
685
  msgstr ""
686
 
687
+ #: inc/admin/main.php:1097
688
  msgid "1"
689
  msgstr ""
690
 
691
+ #: inc/admin/main.php:1098
692
  msgid "2"
693
  msgstr ""
694
 
695
+ #: inc/admin/main.php:1099
696
  msgid "3"
697
  msgstr ""
698
 
699
+ #: inc/admin/main.php:1100
700
  msgid "4"
701
  msgstr ""
702
 
703
+ #: inc/admin/main.php:1101
704
  msgid "5"
705
  msgstr ""
706
 
707
+ #: inc/admin/main.php:1102
708
  msgid "6"
709
  msgstr ""
710
 
711
+ #: inc/admin/main.php:1103
712
  msgid "7"
713
  msgstr ""
714
 
715
+ #: inc/admin/main.php:1104
716
  msgid "8"
717
  msgstr ""
718
 
719
+ #: inc/admin/main.php:1105
720
  msgid "9"
721
  msgstr ""
722
 
723
+ #: inc/admin/main.php:1106
724
  msgid "10"
725
  msgstr ""
726
 
727
+ #: inc/admin/main.php:1111
728
  msgid "Padding around Images"
729
  msgstr ""
730
 
731
+ #: inc/admin/main.php:1121
732
  msgid "Disable mobile layout"
733
  msgstr ""
734
 
735
+ #: inc/admin/main.php:1126
736
  msgid ""
737
  "By default on mobile devices the layout automatically changes to use fewer "
738
  "columns. Checking this setting disables the mobile layout."
739
  msgstr ""
740
 
741
+ #: inc/admin/main.php:1140
742
  msgid "Sort Photos By"
743
  msgstr ""
744
 
745
+ #: inc/admin/main.php:1144
746
  msgid "Newest to oldest"
747
  msgstr ""
748
 
749
+ #: inc/admin/main.php:1145
750
  msgid "Random"
751
  msgstr ""
752
 
753
+ #: inc/admin/main.php:1150
754
  msgid "Image Resolution"
755
  msgstr ""
756
 
757
+ #: inc/admin/main.php:1155
758
  msgid "Auto-detect (recommended)"
759
  msgstr ""
760
 
761
+ #: inc/admin/main.php:1156
762
  msgid "Thumbnail (150x150)"
763
  msgstr ""
764
 
765
+ #: inc/admin/main.php:1157
766
  msgid "Medium (306x306)"
767
  msgstr ""
768
 
769
+ #: inc/admin/main.php:1158
770
  msgid "Full size (640x640)"
771
  msgstr ""
772
 
773
+ #: inc/admin/main.php:1161
774
  msgid "What does Auto-detect mean?"
775
  msgstr ""
776
 
777
+ #: inc/admin/main.php:1162
778
  msgid ""
779
  "Auto-detect means that the plugin automatically sets the image resolution "
780
  "based on the size of your feed."
781
  msgstr ""
782
 
783
+ #: inc/admin/main.php:1169 inc/admin/main.php:1213 inc/admin/main.php:1274
784
+ #: inc/admin/main.php:1359 inc/admin/main.php:1395 inc/admin/main.php:1451
785
+ #: inc/admin/main.php:1500 inc/admin/main.php:1609 inc/admin/main.php:1659
786
  msgid "Show Pro Options"
787
  msgstr ""
788
 
789
+ #: inc/admin/main.php:1173 inc/admin/main.php:1363
790
  msgid "Upgrade to Pro to enable these settings"
791
  msgstr ""
792
 
793
+ #: inc/admin/main.php:1178
794
  msgid "Media Type to Display"
795
  msgstr ""
796
 
797
+ #: inc/admin/main.php:1181
798
  msgid "All"
799
  msgstr ""
800
 
801
+ #: inc/admin/main.php:1182
802
  msgid "Photos only"
803
  msgstr ""
804
 
805
+ #: inc/admin/main.php:1183
806
  msgid "Videos only"
807
  msgstr ""
808
 
809
+ #: inc/admin/main.php:1189
810
  msgid "Enable Pop-up Lightbox"
811
  msgstr ""
812
 
813
+ #: inc/admin/main.php:1196
814
  msgid "Link Posts to URL in Caption (Shoppable feed)"
815
  msgstr ""
816
 
817
+ #: inc/admin/main.php:1199
818
  msgid "What will this do?"
819
  msgstr ""
820
 
821
+ #: inc/admin/main.php:1200
822
  msgid ""
823
  "Checking this box will change the link for each post to any url included in "
824
  "the caption for that Instagram post. The lightbox will be disabled. Visit <a "
826
  "free&utm_campaign=sbi'>this link</a> to learn how this works."
827
  msgstr ""
828
 
829
+ #: inc/admin/main.php:1209
830
  msgid "Photo Hover Style"
831
  msgstr ""
832
 
833
+ #: inc/admin/main.php:1212
834
  msgid "Upgrade to Pro to enable Photo Hover styles"
835
  msgstr ""
836
 
837
+ #: inc/admin/main.php:1220
838
  msgid "Hover Background Color"
839
  msgstr ""
840
 
841
+ #: inc/admin/main.php:1226
842
  msgid "Hover Text Color"
843
  msgstr ""
844
 
845
+ #: inc/admin/main.php:1232
846
  msgid "Information to display"
847
  msgstr ""
848
 
849
+ #: inc/admin/main.php:1236
850
  msgid "Username"
851
  msgstr ""
852
 
853
+ #: inc/admin/main.php:1240
854
  msgid "Expand Icon"
855
  msgstr ""
856
 
857
+ #: inc/admin/main.php:1244
858
  msgid "Date"
859
  msgstr ""
860
 
861
+ #: inc/admin/main.php:1248
862
  msgid "Instagram Icon/Link"
863
  msgstr ""
864
 
865
+ #: inc/admin/main.php:1252
866
  msgid "Location"
867
  msgstr ""
868
 
869
+ #: inc/admin/main.php:1256 inc/admin/main.php:1392
870
  msgid "Caption"
871
  msgstr ""
872
 
873
+ #: inc/admin/main.php:1260
874
  msgid "Like/Comment Icons"
875
  msgstr ""
876
 
877
+ #: inc/admin/main.php:1273
878
  msgid "Upgrade to Pro to enable Carousels"
879
  msgstr ""
880
 
881
+ #: inc/admin/main.php:1281
882
  msgid "Enable Carousel"
883
  msgstr ""
884
 
885
+ #: inc/admin/main.php:1285
886
  msgid "Enable this setting to create a carousel slider out of your photos."
887
  msgstr ""
888
 
889
+ #: inc/admin/main.php:1309
890
  msgid "milliseconds"
891
  msgstr ""
892
 
893
+ #: inc/admin/main.php:1323
894
  msgid "Show Feed Header"
895
  msgstr ""
896
 
897
+ #: inc/admin/main.php:1330
898
  msgid "Header Size"
899
  msgstr ""
900
 
901
+ #: inc/admin/main.php:1334
902
  msgid "Small"
903
  msgstr ""
904
 
905
+ #: inc/admin/main.php:1335
906
  msgid "Medium"
907
  msgstr ""
908
 
909
+ #: inc/admin/main.php:1336
910
  msgid "Large"
911
  msgstr ""
912
 
913
+ #: inc/admin/main.php:1341
914
  msgid "Show Bio Text"
915
  msgstr ""
916
 
917
+ #: inc/admin/main.php:1346
918
  msgid "Only applies for Instagram accounts with bios"
919
  msgstr ""
920
 
921
+ #: inc/admin/main.php:1350
922
  msgid "Header Text Color"
923
  msgstr ""
924
 
925
+ #: inc/admin/main.php:1368
926
  msgid "Header Style"
927
  msgstr ""
928
 
929
+ #: inc/admin/main.php:1371
930
  msgid "Standard"
931
  msgstr ""
932
 
933
+ #: inc/admin/main.php:1372
934
  msgid "Boxed"
935
  msgstr ""
936
 
937
+ #: inc/admin/main.php:1373
938
  msgid "Centered"
939
  msgstr ""
940
 
941
+ #: inc/admin/main.php:1378
942
  msgid "Show Number of Followers"
943
  msgstr ""
944
 
945
+ #: inc/admin/main.php:1381
946
  msgid "This only applies when displaying photos from a User ID"
947
  msgstr ""
948
 
949
+ #: inc/admin/main.php:1394
950
  msgid "Upgrade to Pro to enable Photo Captions"
951
  msgstr ""
952
 
953
+ #: inc/admin/main.php:1402
954
  msgid "Show Caption"
955
  msgstr ""
956
 
957
+ #: inc/admin/main.php:1408
958
  msgid "Maximum Text Length"
959
  msgstr ""
960
 
961
+ #: inc/admin/main.php:1412
962
  msgid ""
963
  "The number of characters of text to display in the caption. An elipsis link "
964
  "will be added to allow the user to reveal more text if desired."
965
  msgstr ""
966
 
967
+ #: inc/admin/main.php:1416
968
  msgid "Text Color"
969
  msgstr ""
970
 
971
+ #: inc/admin/main.php:1422
972
  msgid "Text Size"
973
  msgstr ""
974
 
975
+ #: inc/admin/main.php:1425 inc/admin/main.php:1473
976
  msgid "Inherit from theme"
977
  msgstr ""
978
 
979
+ #: inc/admin/main.php:1448
980
  msgid "Likes &amp; Comments"
981
  msgstr ""
982
 
983
+ #: inc/admin/main.php:1450
984
  msgid "Upgrade to Pro to enable Likes &amp; Comments"
985
  msgstr ""
986
 
987
+ #: inc/admin/main.php:1458
988
  msgid "Show Icons"
989
  msgstr ""
990
 
991
+ #: inc/admin/main.php:1464
992
  msgid "Icon Color"
993
  msgstr ""
994
 
995
+ #: inc/admin/main.php:1470
996
  msgid "Icon Size"
997
  msgstr ""
998
 
999
+ #: inc/admin/main.php:1496
1000
  msgid "Lightbox Comments"
1001
  msgstr ""
1002
 
1003
+ #: inc/admin/main.php:1499
1004
  msgid "Upgrade to Pro to enable Comments"
1005
  msgstr ""
1006
 
1007
+ #: inc/admin/main.php:1508
1008
  msgid "Show Comments in Lightbox"
1009
  msgstr ""
1010
 
1011
+ #: inc/admin/main.php:1513
1012
  msgid "This will remove the cached comments saved in the database"
1013
  msgstr ""
1014
 
1015
+ #: inc/admin/main.php:1517
1016
  msgid "Number of Comments"
1017
  msgstr ""
1018
 
1019
+ #: inc/admin/main.php:1520
1020
  msgid "Max number of latest comments."
1021
  msgstr ""
1022
 
1023
+ #: inc/admin/main.php:1522
1024
  msgid ""
1025
  "This is the maximum number of comments that will be shown in the lightbox. "
1026
  "If there are more comments available than the number set, only the latest "
1027
  "comments will be shown"
1028
  msgstr ""
1029
 
1030
+ #: inc/admin/main.php:1536
1031
  msgid "Show the 'Load More' button"
1032
  msgstr ""
1033
 
1034
+ #: inc/admin/main.php:1543 inc/admin/main.php:1581
1035
  msgid "Button Background Color"
1036
  msgstr ""
1037
 
1038
+ #: inc/admin/main.php:1550 inc/admin/main.php:1588
1039
  msgid "Button Text Color"
1040
  msgstr ""
1041
 
1042
+ #: inc/admin/main.php:1557 inc/admin/main.php:1595
1043
  msgid "Button Text"
1044
  msgstr ""
1045
 
1046
+ #: inc/admin/main.php:1573
1047
  msgid "Show the Follow button"
1048
  msgstr ""
1049
 
1050
+ #: inc/admin/main.php:1605
1051
  msgid "Post Filtering"
1052
  msgstr ""
1053
 
1054
+ #: inc/admin/main.php:1608
1055
  msgid "Upgrade to Pro to enable Post Filtering options"
1056
  msgstr ""
1057
 
1058
+ #: inc/admin/main.php:1617
1059
  msgid "Remove photos containing these words or hashtags"
1060
  msgstr ""
1061
 
1062
+ #: inc/admin/main.php:1620 inc/admin/main.php:1637
1063
  msgid "Apply to:"
1064
  msgstr ""
1065
 
1066
+ #: inc/admin/main.php:1621 inc/admin/main.php:1638
1067
  msgid "All feeds"
1068
  msgstr ""
1069
 
1070
+ #: inc/admin/main.php:1622 inc/admin/main.php:1639
1071
  msgid "One feed"
1072
  msgstr ""
1073
 
1074
+ #: inc/admin/main.php:1627 inc/admin/main.php:1644
1075
  msgid "Separate words/hashtags using commas"
1076
  msgstr ""
1077
 
1078
+ #: inc/admin/main.php:1629
1079
  msgid ""
1080
  "You can use this setting to remove photos which contain certain words or "
1081
  "hashtags in the caption. Separate multiple words or hashtags using commas."
1082
  msgstr ""
1083
 
1084
+ #: inc/admin/main.php:1634
1085
  msgid "Show photos containing these words or hashtags"
1086
  msgstr ""
1087
 
1088
+ #: inc/admin/main.php:1646
1089
  msgid ""
1090
  "You can use this setting to only show photos which contain certain words or "
1091
  "hashtags in the caption. For example, adding <code>sheep, cow, dog</code> "
1093
  "Separate multiple words or hashtags using commas."
1094
  msgstr ""
1095
 
1096
+ #: inc/admin/main.php:1655
1097
  msgid "Moderation"
1098
  msgstr ""
1099
 
1100
+ #: inc/admin/main.php:1658
1101
  msgid "Upgrade to Pro to enable Moderation options"
1102
  msgstr ""
1103
 
1104
+ #: inc/admin/main.php:1666
1105
  msgid "Moderation Type"
1106
  msgstr ""
1107
 
1108
+ #: inc/admin/main.php:1668
1109
  msgid "Visual"
1110
  msgstr ""
1111
 
1112
+ #: inc/admin/main.php:1669
1113
  msgid "Manual"
1114
  msgstr ""
1115
 
1116
+ #: inc/admin/main.php:1671
1117
  msgid ""
1118
  "<b>Visual Moderation Mode</b><br />This adds a button to each feed that will "
1119
  "allow you to hide posts, block users, and create white lists from the front "
1122
  "target='_blank'>this page</a> for details"
1123
  msgstr ""
1124
 
1125
+ #: inc/admin/main.php:1677
1126
  msgid "Only show posts by these users"
1127
  msgstr ""
1128
 
1129
+ #: inc/admin/main.php:1680
1130
  msgid "Separate usernames using commas"
1131
  msgstr ""
1132
 
1133
+ #: inc/admin/main.php:1683
1134
  msgid ""
1135
  "You can use this setting to show photos only from certain users in your "
1136
  "feed. Just enter the usernames here which you want to show. Separate "
1137
  "multiple usernames using commas."
1138
  msgstr ""
1139
 
1140
+ #: inc/admin/main.php:1687
1141
  msgid "White lists"
1142
  msgstr ""
1143
 
1144
+ #: inc/admin/main.php:1690
1145
  msgid "No white lists currently created"
1146
  msgstr ""
1147
 
1148
+ #: inc/admin/main.php:1693
1149
  msgid "Clear White Lists"
1150
  msgstr ""
1151
 
1152
+ #: inc/admin/main.php:1695
1153
  msgid "This will remove all of the white lists from the database"
1154
  msgstr ""
1155
 
1156
+ #: inc/admin/main.php:1706
1157
  msgid "Misc"
1158
  msgstr ""
1159
 
1160
+ #: inc/admin/main.php:1712
1161
  msgid ""
1162
  "<strong style=\"font-size: 15px;\">Custom CSS</strong><br />Enter your own "
1163
  "custom CSS in the box below"
1164
  msgstr ""
1165
 
1166
+ #: inc/admin/main.php:1722
1167
  msgid ""
1168
  "<strong style=\"font-size: 15px;\">Custom JavaScript</strong><br />Enter "
1169
  "your own custom JavaScript/jQuery in the box below"
1170
  msgstr ""
1171
 
1172
+ #: inc/admin/main.php:1736
1173
  msgid "Are you using an Ajax powered theme?"
1174
  msgstr ""
1175
 
1176
+ #: inc/admin/main.php:1741
1177
  msgid ""
1178
  "When navigating your site, if your theme uses Ajax to load content into your "
1179
  "pages (meaning your page doesn't refresh) then check this setting. If you're "
1180
  "not sure then please check with the theme author."
1181
  msgstr ""
1182
 
1183
+ #: inc/admin/main.php:1746
1184
  msgid "Image Resizing"
1185
  msgstr ""
1186
 
1187
+ #: inc/admin/main.php:1749
1188
  msgid "Disable Local Image Storing and Resizing"
1189
  msgstr ""
1190
 
1191
+ #: inc/admin/main.php:1751
1192
  msgid "Favor Local Images"
1193
  msgstr ""
1194
 
1195
+ #: inc/admin/main.php:1753
1196
  msgid "Reset Resized Images"
1197
  msgstr ""
1198
 
1199
+ #: inc/admin/main.php:1755
1200
  msgid ""
1201
  "The plugin creates and stores resized versions of images in order to serve a "
1202
  "more optimized resolution size in the feed. Click this button to clear all "
1204
  "always use a local, resized image if one is available."
1205
  msgstr ""
1206
 
1207
+ #: inc/admin/main.php:1760
1208
+ msgid "API request size"
1209
+ msgstr ""
1210
+
1211
+ #: inc/admin/main.php:1764
1212
+ msgid "Leave at \"0\" for default"
1213
+ msgstr ""
1214
+
1215
+ #: inc/admin/main.php:1766
1216
+ msgid ""
1217
+ "If your feed contains a lot of IG TV posts or your feed is not displaying "
1218
+ "any posts despite there being posts available on Instagram.com, try "
1219
+ "increasing this number to 25 or more."
1220
+ msgstr ""
1221
+
1222
+ #: inc/admin/main.php:1771
1223
  msgid "Enqueue JS file in head"
1224
  msgstr ""
1225
 
1226
+ #: inc/admin/main.php:1775
1227
  msgid ""
1228
  "Check this box if you'd like to enqueue the JavaScript file for the plugin "
1229
  "in the head instead of the footer."
1230
  msgstr ""
1231
 
1232
+ #: inc/admin/main.php:1780
1233
+ msgid "Enqueue CSS file with shortcode"
1234
+ msgstr ""
1235
+
1236
+ #: inc/admin/main.php:1784
1237
+ msgid ""
1238
+ "Check this box if you'd like to only include the CSS file for the plugin "
1239
+ "when the feed is on the page."
1240
+ msgstr ""
1241
+
1242
+ #: inc/admin/main.php:1789
1243
  msgid "Disable JS Image Loading"
1244
  msgstr ""
1245
 
1246
+ #: inc/admin/main.php:1793
1247
  msgid "Check this box to have images loaded server side instead of with JS."
1248
  msgstr ""
1249
 
1250
+ #: inc/admin/main.php:1798
1251
  msgid "Enable Backup Caching"
1252
  msgstr ""
1253
 
1254
+ #: inc/admin/main.php:1801
1255
  msgid "Clear Backup Cache"
1256
  msgstr ""
1257
 
1258
+ #: inc/admin/main.php:1803
1259
  msgid ""
1260
  "Every feed will save a duplicate version of itself in the database to be "
1261
  "used if the normal cache is not available."
1262
  msgstr ""
1263
 
1264
+ #: inc/admin/main.php:1809
1265
  msgid "Load initial posts with AJAX"
1266
  msgstr ""
1267
 
1268
+ #: inc/admin/main.php:1814
1269
  msgid ""
1270
  "Initial posts will be loaded using AJAX instead of added to the page "
1271
  "directly. If you use page caching, this will allow the feed to update "
1273
  "tab."
1274
  msgstr ""
1275
 
1276
+ #: inc/admin/main.php:1820
1277
  msgid "Force cache to clear on interval"
1278
  msgstr ""
1279
 
1280
+ #: inc/admin/main.php:1826
1281
  msgid "No"
1282
  msgstr ""
1283
 
1284
+ #: inc/admin/main.php:1830
1285
  msgid ""
1286
  "If you're experiencing an issue with the plugin not auto-updating then you "
1287
  "can set this to 'Yes' to run a scheduled event behind the scenes which "
1289
  "from Instagram."
1290
  msgstr ""
1291
 
1292
+ #: inc/admin/main.php:1838
1293
  msgid "Disable Icon Font"
1294
  msgstr ""
1295
 
1296
+ #: inc/admin/main.php:1844
1297
  msgid "Icon Method"
1298
  msgstr ""
1299
 
1300
+ #: inc/admin/main.php:1848
1301
  msgid "Font File"
1302
  msgstr ""
1303
 
1304
+ #: inc/admin/main.php:1851
1305
  msgid ""
1306
  "This plugin uses SVGs for all icons in the feed. Use this setting to switch "
1307
  "to font icons."
1308
  msgstr ""
1309
 
1310
+ #: inc/admin/main.php:1855
1311
  msgid "Enable Custom Templates"
1312
  msgstr ""
1313
 
1314
+ #: inc/admin/main.php:1860
1315
  msgid ""
1316
+ "The default HTML for the feed can be replaced with custom templates added to "
1317
+ "your theme's folder. Enable this setting to use these templates. See <a href="
1318
+ "\"https://smashballoon.com/guide-to-creating-custom-templates/\" target="
1319
+ "\"_blank\">this guide</a>"
1320
  msgstr ""
1321
 
1322
+ #: inc/admin/main.php:1870
1323
  msgid ""
1324
  "Next Step: <a href=\"?page=sb-instagram-feed&tab=display\">Display your "
1325
  "Feed</a>"
1326
  msgstr ""
1327
 
1328
+ #: inc/admin/main.php:1881
1329
  msgid "Display your Feed"
1330
  msgstr ""
1331
 
1332
+ #: inc/admin/main.php:1882
1333
  msgid ""
1334
  "Copy and paste the following shortcode directly into the page, post or "
1335
  "widget where you'd like the feed to show up:"
1336
  msgstr ""
1337
 
1338
+ #: inc/admin/main.php:1885
1339
  msgid "Multiple Feeds"
1340
  msgstr ""
1341
 
1342
+ #: inc/admin/main.php:1886
1343
  msgid ""
1344
  "If you'd like to display multiple feeds then you can set different settings "
1345
  "directly in the shortcode like so:"
1346
  msgstr ""
1347
 
1348
+ #: inc/admin/main.php:1888
1349
  msgid ""
1350
  "You can display as many different feeds as you like, on either the same page "
1351
  "or on different pages, by just using the shortcode options below. For "
1352
  "example:"
1353
  msgstr ""
1354
 
1355
+ #: inc/admin/main.php:1893
1356
  msgid "See the table below for a full list of available shortcode options:"
1357
  msgstr ""
1358
 
1359
+ #: inc/admin/main.php:1895
1360
  msgid "Pro version only"
1361
  msgstr ""
1362
 
1363
+ #: inc/admin/main.php:1900
1364
  msgid "Shortcode option"
1365
  msgstr ""
1366
 
1367
+ #: inc/admin/main.php:1901
1368
  msgid "Description"
1369
  msgstr ""
1370
 
1371
+ #: inc/admin/main.php:1902
1372
  msgid "Example"
1373
  msgstr ""
1374
 
1375
+ #: inc/admin/main.php:1905
1376
  msgid "Configure Options"
1377
  msgstr ""
1378
 
1379
+ #: inc/admin/main.php:1908
1380
  msgid ""
1381
  "Display photos from a User ID (user)<br />Display posts from a Hashtag "
1382
  "(hashtag)"
1383
  msgstr ""
1384
 
1385
+ #: inc/admin/main.php:1913
1386
  msgid ""
1387
  "Your Instagram User Name. This must be from a connected account on the "
1388
  "\"Configure\" tab."
1389
  msgstr ""
1390
 
1391
+ #: inc/admin/main.php:1918
1392
  msgid "Any hashtag. Separate multiple IDs by commas."
1393
  msgstr ""
1394
 
1395
+ #: inc/admin/main.php:1922
1396
  msgid "Customize Options"
1397
  msgstr ""
1398
 
1399
+ #: inc/admin/main.php:1925
1400
  msgid "The width of your feed. Any number."
1401
  msgstr ""
1402
 
1403
+ #: inc/admin/main.php:1930
1404
  msgid "The unit of the width. 'px' or '%'"
1405
  msgstr ""
1406
 
1407
+ #: inc/admin/main.php:1935
1408
  msgid "The height of your feed. Any number."
1409
  msgstr ""
1410
 
1411
+ #: inc/admin/main.php:1940
1412
  msgid "The unit of the height. 'px' or '%'"
1413
  msgstr ""
1414
 
1415
+ #: inc/admin/main.php:1945
1416
  msgid "The background color of the feed. Any hex color code."
1417
  msgstr ""
1418
 
1419
+ #: inc/admin/main.php:1950
1420
  msgid "Add a CSS class to the feed container"
1421
  msgstr ""
1422
 
1423
+ #: inc/admin/main.php:1954
1424
  msgid "Layout Options"
1425
  msgstr ""
1426
 
1427
+ #: inc/admin/main.php:1957
1428
  msgid ""
1429
  "How posts are arranged visually in the feed. There are four layouts: Grid, "
1430
  "Carousel Slider, Masonry Grid, or Highlight Grid. Options:"
1431
  msgstr ""
1432
 
1433
+ #: inc/admin/main.php:1962
1434
  msgid "The number of photos to display initially. Maximum is 33."
1435
  msgstr ""
1436
 
1437
+ #: inc/admin/main.php:1967
1438
  msgid ""
1439
  "The number of photos to display initially for mobile screens (smaller than "
1440
  "480 pixels)."
1441
  msgstr ""
1442
 
1443
+ #: inc/admin/main.php:1972
1444
  msgid "The number of columns in your feed. 1 - 10."
1445
  msgstr ""
1446
 
1447
+ #: inc/admin/main.php:1977
1448
  msgid ""
1449
  "The number of columns in your feed for mobile screens (smaller than 480 "
1450
  "pixels)."
1451
  msgstr ""
1452
 
1453
+ #: inc/admin/main.php:1982
1454
  msgid "The spacing around your photos"
1455
  msgstr ""
1456
 
1457
+ #: inc/admin/main.php:1987
1458
  msgid "The unit of the padding. 'px' or '%'"
1459
  msgstr ""
1460
 
1461
+ #: inc/admin/main.php:1991
1462
  msgid "Carousel Options"
1463
  msgstr ""
1464
 
1465
+ #: inc/admin/main.php:1994
1466
  msgid "Choose 1 or 2 rows of posts in the carousel"
1467
  msgstr ""
1468
 
1469
+ #: inc/admin/main.php:1999
1470
  msgid "Infinitely loop through posts or rewind"
1471
  msgstr ""
1472
 
1473
+ #: inc/admin/main.php:2004
1474
  msgid "Display directional arrows on the carousel"
1475
  msgstr ""
1476
 
1477
+ #: inc/admin/main.php:2009
1478
  msgid "Display pagination links below the carousel"
1479
  msgstr ""
1480
 
1481
+ #: inc/admin/main.php:2014
1482
  msgid "Make the carousel autoplay"
1483
  msgstr ""
1484
 
1485
+ #: inc/admin/main.php:2019
1486
  msgid "The interval time between slides for autoplay. Time in miliseconds."
1487
  msgstr ""
1488
 
1489
+ #: inc/admin/main.php:2023
1490
  msgid "Highlight Options"
1491
  msgstr ""
1492
 
1493
+ #: inc/admin/main.php:2026
1494
  msgid ""
1495
  "Choose from 3 different ways of highlighting posts including by pattern, "
1496
  "hashtag, post id or. Options:"
1497
  msgstr ""
1498
 
1499
+ #: inc/admin/main.php:2031
1500
  msgid "How often a post is highlighted."
1501
  msgstr ""
1502
 
1503
+ #: inc/admin/main.php:2036
1504
  msgid "When to start the highlight pattern."
1505
  msgstr ""
1506
 
1507
+ #: inc/admin/main.php:2041
1508
  msgid "Highlight posts with these hashtags."
1509
  msgstr ""
1510
 
1511
+ #: inc/admin/main.php:2049
1512
  msgid "Photos Options"
1513
  msgstr ""
1514
 
1515
+ #: inc/admin/main.php:2052
1516
  msgid "Sort the posts by Newest to Oldest (none) or Random (random)"
1517
  msgstr ""
1518
 
1519
+ #: inc/admin/main.php:2057
1520
  msgid ""
1521
  "The resolution/size of the photos including full, medium, thumbnail, and "
1522
  "auto (based on size of image on page). Options:"
1523
  msgstr ""
1524
 
1525
+ #: inc/admin/main.php:2062
1526
  msgid "Display all media, only photos, or only videos"
1527
  msgstr ""
1528
 
1529
+ #: inc/admin/main.php:2067
1530
  msgid "Whether to disable the photo Lightbox. It is enabled by default."
1531
  msgstr ""
1532
 
1533
+ #: inc/admin/main.php:2072
1534
  msgid "Disable the mobile layout. Options:"
1535
  msgstr ""
1536
 
1537
+ #: inc/admin/main.php:2077
1538
  msgid ""
1539
  "Whether to use urls in captions for the photo's link instead of linking to "
1540
  "instagram.com."
1541
  msgstr ""
1542
 
1543
+ #: inc/admin/main.php:2081
1544
  msgid "Lightbox Comments Options"
1545
  msgstr ""
1546
 
1547
+ #: inc/admin/main.php:2084
1548
  msgid "Whether to show comments in the lightbox for this feed."
1549
  msgstr ""
1550
 
1551
+ #: inc/admin/main.php:2089
1552
  msgid "Number of comments to show starting from the most recent."
1553
  msgstr ""
1554
 
1555
+ #: inc/admin/main.php:2093
1556
  msgid "Photos Hover Style Options"
1557
  msgstr ""
1558
 
1559
+ #: inc/admin/main.php:2096
1560
  msgid "The background color when hovering over a photo. Any hex color code."
1561
  msgstr ""
1562
 
1563
+ #: inc/admin/main.php:2101
1564
  msgid "The text/icon color when hovering over a photo. Any hex color code."
1565
  msgstr ""
1566
 
1567
+ #: inc/admin/main.php:2106
1568
  msgid ""
1569
  "The info to display when hovering over the photo such as the user name, post "
1570
  "date, Instagram icon, location, caption, and like counts. Options:"
1571
  msgstr ""
1572
 
1573
+ #: inc/admin/main.php:2110
1574
  msgid "Header Options"
1575
  msgstr ""
1576
 
1577
+ #: inc/admin/main.php:2113
1578
  msgid "Whether to show the feed Header. Options:"
1579
  msgstr ""
1580
 
1581
+ #: inc/admin/main.php:2118
1582
  msgid "Display the bio in the header. Options:"
1583
  msgstr ""
1584
 
1585
+ #: inc/admin/main.php:2123
1586
  msgid "Size of the header including small, medium and large. Options:"
1587
  msgstr ""
1588
 
1589
+ #: inc/admin/main.php:2128
1590
  msgid "The color of the Header text. Any hex color code."
1591
  msgstr ""
1592
 
1593
+ #: inc/admin/main.php:2132
1594
  msgid "'Load More' Button Options"
1595
  msgstr ""
1596
 
1597
+ #: inc/admin/main.php:2135
1598
  msgid "Whether to show the 'Load More' button. Options:"
1599
  msgstr ""
1600
 
1601
+ #: inc/admin/main.php:2140 inc/admin/main.php:2162
1602
  msgid "The background color of the button. Any hex color code."
1603
  msgstr ""
1604
 
1605
+ #: inc/admin/main.php:2145 inc/admin/main.php:2167
1606
  msgid "The text color of the button. Any hex color code."
1607
  msgstr ""
1608
 
1609
+ #: inc/admin/main.php:2150 inc/admin/main.php:2172
1610
  msgid "The text used for the button."
1611
  msgstr ""
1612
 
1613
+ #: inc/admin/main.php:2154
1614
  msgid "'Follow on Instagram' Button Options"
1615
  msgstr ""
1616
 
1617
+ #: inc/admin/main.php:2157
1618
  msgid "Whether to show the 'Follow on Instagram' button. Options:"
1619
  msgstr ""
1620
 
1621
+ #: inc/admin/main.php:2176
1622
  msgid "Caption Options"
1623
  msgstr ""
1624
 
1625
+ #: inc/admin/main.php:2179
1626
  msgid "Whether to show the photo caption. Options:"
1627
  msgstr ""
1628
 
1629
+ #: inc/admin/main.php:2184
1630
  msgid "The number of characters of the caption to display"
1631
  msgstr ""
1632
 
1633
+ #: inc/admin/main.php:2189
1634
  msgid "The text color of the caption. Any hex color code."
1635
  msgstr ""
1636
 
1637
+ #: inc/admin/main.php:2194
1638
  msgid "The size of the caption text. Any number."
1639
  msgstr ""
1640
 
1641
+ #: inc/admin/main.php:2198
1642
  msgid "Likes &amp; Comments Options"
1643
  msgstr ""
1644
 
1645
+ #: inc/admin/main.php:2201
1646
  msgid "Whether to show the Likes &amp; Comments. Options:"
1647
  msgstr ""
1648
 
1649
+ #: inc/admin/main.php:2206
1650
  msgid "The color of the Likes &amp; Comments. Any hex color code."
1651
  msgstr ""
1652
 
1653
+ #: inc/admin/main.php:2211
1654
  msgid "The size of the Likes &amp; Comments. Any number."
1655
  msgstr ""
1656
 
1657
+ #: inc/admin/main.php:2215
1658
  msgid "Post Filtering Options"
1659
  msgstr ""
1660
 
1661
+ #: inc/admin/main.php:2218
1662
  msgid "Remove posts which contain certain words or hashtags in the caption."
1663
  msgstr ""
1664
 
1665
+ #: inc/admin/main.php:2223
1666
  msgid ""
1667
  "Only display posts which contain certain words or hashtags in the caption."
1668
  msgstr ""
1669
 
1670
+ #: inc/admin/main.php:2227
1671
  msgid "Auto Load More on Scroll"
1672
  msgstr ""
1673
 
1674
+ #: inc/admin/main.php:2230
1675
  msgid "Load more posts automatically as the user scrolls down the page."
1676
  msgstr ""
1677
 
1678
+ #: inc/admin/main.php:2235
1679
  msgid ""
1680
  "Distance before the end of feed or page that triggers the loading of more "
1681
  "posts."
1682
  msgstr ""
1683
 
1684
+ #: inc/admin/main.php:2252
1685
  msgid "Need help?"
1686
  msgstr ""
1687
 
1688
+ #: inc/admin/main.php:2257
1689
  msgid "Setup Directions"
1690
  msgstr ""
1691
 
1692
+ #: inc/admin/main.php:2258
1693
  msgid "A step-by-step guide on how to setup and use the plugin."
1694
  msgstr ""
1695
 
1696
+ #: inc/admin/main.php:2264
1697
  msgid "Watch a Video"
1698
  msgstr ""
1699
 
1700
+ #: inc/admin/main.php:2265
1701
  msgid ""
1702
  "Watch a short video demonstrating how to set up, customize and use the "
1703
  "plugin.<br /><b>Please note</b> that the video shows the set up and use of "
1707
  "some of the features available."
1708
  msgstr ""
1709
 
1710
+ #: inc/admin/main.php:2275
1711
  msgid "FAQs and Docs"
1712
  msgstr ""
1713
 
1714
+ #: inc/admin/main.php:2276
1715
  msgid ""
1716
  "View our expansive library of FAQs and documentation to help solve your "
1717
  "problem as quickly as possible."
1718
  msgstr ""
1719
 
1720
+ #: inc/admin/main.php:2282
1721
  msgid "FAQs"
1722
  msgstr ""
1723
 
1724
+ #: inc/admin/main.php:2283
1725
  msgid ""
1726
  "<a href=\"https://smashballoon.com/my-photos-wont-load/?utm_source=plugin-"
1727
  "free&utm_campaign=sbi\" target=\"_blank\">My Instagram Feed Won't Load</a>"
1728
  msgstr ""
1729
 
1730
+ #: inc/admin/main.php:2284
1731
  msgid ""
1732
  "<a href=\"https://smashballoon.com/my-instagram-access-token-keep-expiring/?"
1733
  "utm_source=plugin-free&utm_campaign=sbi\" target=\"_blank\">My Access Token "
1734
  "Keeps Expiring</a>"
1735
  msgstr ""
1736
 
1737
+ #: inc/admin/main.php:2285
1738
  msgid "See All"
1739
  msgstr ""
1740
 
1741
+ #: inc/admin/main.php:2289
1742
  msgid "Documentation"
1743
  msgstr ""
1744
 
1745
+ #: inc/admin/main.php:2290
1746
  msgid ""
1747
  "<a href=\"https://smashballoon.com/instagram-feed/free?utm_source=plugin-"
1748
  "free&utm_campaign=sbi\" target=\"_blank\">Installation and Configuration</a>"
1749
  msgstr ""
1750
 
1751
+ #: inc/admin/main.php:2291
1752
  msgid ""
1753
  "<a href=\"https://smashballoon.com/display-multiple-instagram-feeds/?"
1754
  "utm_source=plugin-free&utm_campaign=sbi\" target=\"_blank\">Displaying "
1755
  "multiple feeds</a>"
1756
  msgstr ""
1757
 
1758
+ #: inc/admin/main.php:2292
1759
  msgid ""
1760
  "<a href=\"https://smashballoon.com/instagram-feed-faq/customization/?"
1761
  "utm_source=plugin-free&utm_campaign=sbi\" target=\"_blank\">Customizing your "
1762
  "Feed</a>"
1763
  msgstr ""
1764
 
1765
+ #: inc/admin/main.php:2299
1766
  msgid "Request Support"
1767
  msgstr ""
1768
 
1769
+ #: inc/admin/main.php:2300
1770
  msgid ""
1771
  "Still need help? Submit a ticket and one of our support experts will get "
1772
  "back to you as soon as possible.<br /><b>Important:</b> Please include your "
1773
  "<b>System Info</b> below with all support requests."
1774
  msgstr ""
1775
 
1776
+ #: inc/admin/main.php:2306
1777
  msgid ""
1778
  "System Info &nbsp; <i style=\"color: #666; font-size: 11px; font-weight: "
1779
  "normal;\">Click the text below to select all</i>"
1780
  msgstr ""
1781
 
1782
+ #: inc/admin/main.php:2563
1783
  msgid "Reset Error Log"
1784
  msgstr ""
1785
 
1786
+ #: inc/admin/main.php:2571
1787
  msgid "Display your feed"
1788
  msgstr ""
1789
 
1790
+ #: inc/admin/main.php:2572
1791
  msgid ""
1792
  "Copy and paste this shortcode directly into the page, post or widget where "
1793
  "you'd like to display the feed:"
1794
  msgstr ""
1795
 
1796
+ #: inc/admin/main.php:2573
1797
  msgid ""
1798
  "Find out how to display <a href=\"?page=sb-instagram-feed&amp;tab=display"
1799
  "\">multiple feeds</a>."
1800
  msgstr ""
1801
 
1802
+ #: inc/admin/main.php:2577
1803
  msgid "Instagram Feed Pro"
1804
  msgstr ""
1805
 
1806
+ #: inc/admin/main.php:2580
1807
  msgid ""
1808
  "Check out our other free plugins: <a href=\"https://wordpress.org/plugins/"
1809
  "custom-facebook-feed/\" target=\"_blank\">Facebook</a> and <a href=\"https://"
1810
  "wordpress.org/plugins/custom-twitter-feeds/\" target=\"_blank\">Twitter</a>."
1811
  msgstr ""
1812
 
1813
+ #: inc/admin/main.php:2583
1814
  msgid "Like the plugin? Help spread the word!"
1815
  msgstr ""
1816
 
1817
+ #: inc/class-sb-instagram-api-connect.php:181
1818
+ #: inc/class-sb-instagram-api-connect.php:217
1819
+ #, php-format
1820
+ msgid "API error %s:"
1821
+ msgstr ""
1822
+
1823
+ #: inc/class-sb-instagram-api-connect.php:204
1824
+ #: inc/class-sb-instagram-api-connect.php:290
1825
  #, php-format
1826
  msgid "Error: Access Token for %s is not valid or has expired."
1827
  msgstr ""
1828
 
1829
+ #: inc/class-sb-instagram-api-connect.php:204
1830
+ #: inc/class-sb-instagram-api-connect.php:290
1831
+ #: inc/class-sb-instagram-settings.php:389
1832
+ #: inc/class-sb-instagram-settings.php:439
1833
  msgid "Feed will not update."
1834
  msgstr ""
1835
 
1836
+ #: inc/class-sb-instagram-api-connect.php:205
1837
  msgid ""
1838
  "There's an issue with the Instagram Access Token that you are using. Please "
1839
  "obtain a new Access Token on the plugin's Settings page.<br />If you "
1842
  "\"_blank\" rel=\"noopener\">this FAQ</a> for more information."
1843
  msgstr ""
1844
 
1845
+ #: inc/class-sb-instagram-api-connect.php:250
1846
  msgid "Error: Hashtag limit of 30 unique hashtags per week has been reached."
1847
  msgstr ""
1848
 
1849
+ #: inc/class-sb-instagram-api-connect.php:250
1850
  #, php-format
1851
  msgid "Feed may not display until %s."
1852
  msgstr ""
1853
 
1854
+ #: inc/class-sb-instagram-api-connect.php:251
1855
  msgid ""
1856
  "If you need to display more than 30 hashtag feeds on your site, consider "
1857
  "connecting an additional business account from a separate Instagram and "
1858
  "Facebook account."
1859
  msgstr ""
1860
 
1861
+ #: inc/class-sb-instagram-api-connect.php:258
1862
+ #, php-format
1863
+ msgid ""
1864
+ "Error: Connected account for the user %s does not have permission to use "
1865
+ "this feed type."
1866
+ msgstr ""
1867
+
1868
+ #: inc/class-sb-instagram-api-connect.php:259
1869
+ msgid ""
1870
+ "Try using the big blue button on the \"Configure\" tab to reconnect the "
1871
+ "account and update its permissions."
1872
+ msgstr ""
1873
+
1874
+ #: inc/class-sb-instagram-api-connect.php:265
1875
  msgid "Error: Hashtag does not exist."
1876
  msgstr ""
1877
 
1878
+ #: inc/class-sb-instagram-api-connect.php:266
1879
  msgid "Please make a post that uses this hashtag to display this feed."
1880
  msgstr ""
1881
 
1882
+ #: inc/class-sb-instagram-api-connect.php:291
1883
  msgid ""
1884
  "There's an issue with the Instagram Access Token that you are using. Please "
1885
  "obtain a new Access Token on the plugin's Settings page."
1886
  msgstr ""
1887
 
1888
+ #: inc/class-sb-instagram-api-connect.php:325
1889
  #, php-format
1890
  msgid "Error connecting to %s."
1891
  msgstr ""
1892
 
1893
+ #: inc/class-sb-instagram-feed.php:674
1894
  msgid "Error: API requests are being delayed for this account."
1895
  msgstr ""
1896
 
1897
+ #: inc/class-sb-instagram-feed.php:674
1898
+ #: inc/class-sb-instagram-posts-manager.php:385
1899
  msgid "New posts will not be retrieved."
1900
  msgstr ""
1901
 
1902
+ #: inc/class-sb-instagram-feed.php:682 inc/class-sb-instagram-feed.php:1160
1903
+ msgid "Click here to troubleshoot"
 
 
 
 
 
 
1904
  msgstr ""
1905
 
1906
+ #: inc/class-sb-instagram-feed.php:684
1907
+ #: inc/class-sb-instagram-posts-manager.php:394
1908
+ msgid ""
1909
+ "There may be an issue with the Instagram access token that you are using. "
1910
+ "Your server might also be unable to connect to Instagram at this time."
1911
  msgstr ""
1912
 
1913
+ #: inc/class-sb-instagram-feed.php:987
1914
  msgid ""
1915
  "Error: admin-ajax.php test was not successful. Some features may not be "
1916
  "available."
1917
  msgstr ""
1918
 
1919
+ #: inc/class-sb-instagram-feed.php:1028
1920
  msgid "No posts found."
1921
  msgstr ""
1922
 
1923
+ #: inc/class-sb-instagram-feed.php:1157
1924
+ msgid "Error: No posts found."
1925
+ msgstr ""
1926
+
1927
+ #: inc/class-sb-instagram-feed.php:1158
1928
+ msgid "Make sure this account has posts available on instagram.com."
1929
+ msgstr ""
1930
+
1931
+ #: inc/class-sb-instagram-post.php:395
1932
  msgid "Error updating post."
1933
  msgstr ""
1934
 
1935
+ #: inc/class-sb-instagram-post.php:450 inc/class-sb-instagram-post.php:462
1936
  msgid "Error inserting post."
1937
  msgstr ""
1938
 
1939
+ #: inc/class-sb-instagram-post.php:450
1940
+ msgid "No database ID."
1941
+ msgstr ""
1942
+
1943
  #: inc/class-sb-instagram-posts-manager.php:292 instagram-feed.php:176
1944
  #: instagram-feed.php:198
1945
  msgid "There was an error creating the folder for storing resized images."
1946
  msgstr ""
1947
 
1948
+ #: inc/class-sb-instagram-posts-manager.php:385
1949
  msgid "Error: API requests are being delayed."
1950
  msgstr ""
1951
 
1952
+ #: inc/class-sb-instagram-settings.php:389
 
 
 
 
 
 
1953
  #, php-format
1954
  msgid "Error: There is no connected account for the user %s."
1955
  msgstr ""
1956
 
1957
+ #: inc/class-sb-instagram-settings.php:439
1958
  #, php-format
1959
  msgid "Error: There is no connected account for the user %s"
1960
  msgstr ""
1961
 
1962
+ #: inc/if-functions.php:43 inc/if-functions.php:424
1963
  msgid "This error message is only visible to WordPress admins"
1964
  msgstr ""
1965
 
1971
  msgid "Please go to the Instagram Feed settings page to connect an account."
1972
  msgstr ""
1973
 
1974
+ #: inc/if-functions.php:370
1975
  msgid "Please connect an account on the Instagram Feed plugin Settings page."
1976
  msgstr ""
1977