j1-template 2023.8.1 → 2023.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/themes/j1/adapter/js/j1.js +29 -11
- data/assets/themes/j1/adapter/js/translator.js +4 -2
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +31 -26
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +31 -26
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +34 -29
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +2 -2
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/modules/justifiedGallery.yml +3 -3
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_bootstrap.asciidoc +4 -1
- data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +20 -6
- data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +4 -1
- data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +27 -12
- data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +12 -4
- data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +4 -1
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +512 -470
- data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +20 -6
- data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +4 -2
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +2 -2
@@ -1,470 +1,512 @@
|
|
1
|
-
---
|
2
|
-
title: Image
|
3
|
-
title_extention: Lightboxes, Carousels, Sliders, and Galleries for J1 Template
|
4
|
-
tagline: Present Images
|
5
|
-
|
6
|
-
date: 2020-11-03
|
7
|
-
#last_modified: 2023-01-01
|
8
|
-
|
9
|
-
description: >
|
10
|
-
J1 Template support valuable features to manage your image-based
|
11
|
-
content using lightboxes, carousels, sliders, and galleries.
|
12
|
-
The image modules of J1 Template offer a wide range of complex
|
13
|
-
functionality based on powerful OpenSource libraries like
|
14
|
-
Lightbox2, Master Slider, LightGallery, or JustifiedGallery
|
15
|
-
for high-end, masonry-styled preview maps.
|
16
|
-
keywords: >
|
17
|
-
open source, free, template, jekyll, jekyllone, web,
|
18
|
-
sites, static, jamstack, bootstrap,
|
19
|
-
image, lightbox, carousel, slider, gallery,
|
20
|
-
lightbox2, master slider, lightgallery, justifiedgallery
|
21
|
-
|
22
|
-
categories: [ Roundtrip ]
|
23
|
-
tags: [ Module, Carousel, Lightbox, Image, Slider, Slick ]
|
24
|
-
|
25
|
-
image:
|
26
|
-
path: /assets/images/modules/attics/1920x1280/quino-al-2.jpg
|
27
|
-
width: 1920
|
28
|
-
height: 1280
|
29
|
-
|
30
|
-
regenerate: false
|
31
|
-
permalink: /pages/public/learn/roundtrip/present_images/
|
32
|
-
|
33
|
-
resources: [
|
34
|
-
animate, clipboard, carousel, comments,
|
35
|
-
justifiedGallery, lightbox, lightGallery,
|
36
|
-
masterslider, rouge, slick
|
37
|
-
]
|
38
|
-
resource_options:
|
39
|
-
- attic:
|
40
|
-
slides:
|
41
|
-
- url: /assets/images/modules/attics/1920x1280/quino-al-2.jpg
|
42
|
-
alt: Photo by Quino Al Angel on Unsplash
|
43
|
-
badge:
|
44
|
-
type: unsplash
|
45
|
-
author: Quino Al Angel
|
46
|
-
href: https://unsplash.com/@quinoal
|
47
|
-
---
|
48
|
-
|
49
|
-
// Page Initializer
|
50
|
-
// =============================================================================
|
51
|
-
// Enable the Liquid Preprocessor
|
52
|
-
:page-liquid:
|
53
|
-
|
54
|
-
// Set (local) page attributes here
|
55
|
-
// -----------------------------------------------------------------------------
|
56
|
-
// :page--attr: <attr-value>
|
57
|
-
:url-lightbox2--home: https://lokeshdhakar.com/projects/lightbox2/
|
58
|
-
:url-lightbox2--github: https://github.com/lokesh/lightbox2/
|
59
|
-
|
60
|
-
:url-justified-gallery--home: https://miromannino.github.io/Justified-Gallery/
|
61
|
-
:url-justified-gallery--github: https://github.com/miromannino/Justified-Gallery/
|
62
|
-
|
63
|
-
:url-j1-docs--carousel-module: https://jekyll.one/pages/public/manuals/modules/carousel/
|
64
|
-
:url-j1-docs--lightbox-module: https://jekyll.one/pages/public/manuals/modules/lightbox/
|
65
|
-
:url-j1-docs--masterslider-module: https://jekyll.one/pages/public/manuals/modules/masterslider/
|
66
|
-
|
67
|
-
:url-j1-masterslider-previewer: https://jekyll.one/pages/public/tools/previewer/masterslider/
|
68
|
-
:url-j1-slick-previewer: https://jekyll.one/pages/public/tools/previewer/slick/
|
69
|
-
|
70
|
-
// Load Liquid procedures
|
71
|
-
// -----------------------------------------------------------------------------
|
72
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
73
|
-
|
74
|
-
// Load page attributes
|
75
|
-
// -----------------------------------------------------------------------------
|
76
|
-
{% include {{load_attributes}} scope="all" %}
|
77
|
-
|
78
|
-
// Page content
|
79
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
80
|
-
[role="dropcap"]
|
81
|
-
Welcome to the preview page focussing on
|
82
|
-
all the valuable features of the J1 Template to manage your image-based
|
83
|
-
content using lightboxes, carousels, sliders, and galleries.
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
//
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
*
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
.
|
132
|
-
|
133
|
-
|
134
|
-
[role="mb-4"]
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
[role="
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
LightGallery
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
[role="
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
[role="
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
Parallax
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
carousel
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
a
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
[role="
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
.
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
[
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
.
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
[
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
[
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
.Slider using
|
409
|
-
masterslider::
|
410
|
-
|
411
|
-
[role="mt-4"]
|
412
|
-
[
|
413
|
-
=== MS Slider using
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
[
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
1
|
+
---
|
2
|
+
title: Image
|
3
|
+
title_extention: Lightboxes, Carousels, Sliders, and Galleries for J1 Template
|
4
|
+
tagline: Present Images
|
5
|
+
|
6
|
+
date: 2020-11-03
|
7
|
+
#last_modified: 2023-01-01
|
8
|
+
|
9
|
+
description: >
|
10
|
+
J1 Template support valuable features to manage your image-based
|
11
|
+
content using lightboxes, carousels, sliders, and galleries.
|
12
|
+
The image modules of J1 Template offer a wide range of complex
|
13
|
+
functionality based on powerful OpenSource libraries like
|
14
|
+
Lightbox2, Master Slider, LightGallery, or JustifiedGallery
|
15
|
+
for high-end, masonry-styled preview maps.
|
16
|
+
keywords: >
|
17
|
+
open source, free, template, jekyll, jekyllone, web,
|
18
|
+
sites, static, jamstack, bootstrap,
|
19
|
+
image, lightbox, carousel, slider, gallery,
|
20
|
+
lightbox2, master slider, lightgallery, justifiedgallery
|
21
|
+
|
22
|
+
categories: [ Roundtrip ]
|
23
|
+
tags: [ Module, Carousel, Lightbox, Image, Slider, Slick ]
|
24
|
+
|
25
|
+
image:
|
26
|
+
path: /assets/images/modules/attics/1920x1280/quino-al-2.jpg
|
27
|
+
width: 1920
|
28
|
+
height: 1280
|
29
|
+
|
30
|
+
regenerate: false
|
31
|
+
permalink: /pages/public/learn/roundtrip/present_images/
|
32
|
+
|
33
|
+
resources: [
|
34
|
+
animate, clipboard, carousel, comments,
|
35
|
+
justifiedGallery, lightbox, lightGallery,
|
36
|
+
masterslider, masonry, rouge, slick
|
37
|
+
]
|
38
|
+
resource_options:
|
39
|
+
- attic:
|
40
|
+
slides:
|
41
|
+
- url: /assets/images/modules/attics/1920x1280/quino-al-2.jpg
|
42
|
+
alt: Photo by Quino Al Angel on Unsplash
|
43
|
+
badge:
|
44
|
+
type: unsplash
|
45
|
+
author: Quino Al Angel
|
46
|
+
href: https://unsplash.com/@quinoal
|
47
|
+
---
|
48
|
+
|
49
|
+
// Page Initializer
|
50
|
+
// =============================================================================
|
51
|
+
// Enable the Liquid Preprocessor
|
52
|
+
:page-liquid:
|
53
|
+
|
54
|
+
// Set (local) page attributes here
|
55
|
+
// -----------------------------------------------------------------------------
|
56
|
+
// :page--attr: <attr-value>
|
57
|
+
:url-lightbox2--home: https://lokeshdhakar.com/projects/lightbox2/
|
58
|
+
:url-lightbox2--github: https://github.com/lokesh/lightbox2/
|
59
|
+
|
60
|
+
:url-justified-gallery--home: https://miromannino.github.io/Justified-Gallery/
|
61
|
+
:url-justified-gallery--github: https://github.com/miromannino/Justified-Gallery/
|
62
|
+
|
63
|
+
:url-j1-docs--carousel-module: https://jekyll.one/pages/public/manuals/modules/carousel/
|
64
|
+
:url-j1-docs--lightbox-module: https://jekyll.one/pages/public/manuals/modules/lightbox/
|
65
|
+
:url-j1-docs--masterslider-module: https://jekyll.one/pages/public/manuals/modules/masterslider/
|
66
|
+
|
67
|
+
:url-j1-masterslider-previewer: https://jekyll.one/pages/public/tools/previewer/masterslider/
|
68
|
+
:url-j1-slick-previewer: https://jekyll.one/pages/public/tools/previewer/slick/
|
69
|
+
|
70
|
+
// Load Liquid procedures
|
71
|
+
// -----------------------------------------------------------------------------
|
72
|
+
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
73
|
+
|
74
|
+
// Load page attributes
|
75
|
+
// -----------------------------------------------------------------------------
|
76
|
+
{% include {{load_attributes}} scope="all" %}
|
77
|
+
|
78
|
+
// Page content
|
79
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
80
|
+
[role="dropcap"]
|
81
|
+
Welcome to the preview page focussing on image modules. This page shows
|
82
|
+
all the valuable features of the J1 Template to manage your image-based
|
83
|
+
content using lightboxes, carousels, sliders, grids, and galleries.
|
84
|
+
|
85
|
+
The image-related modules of the J1 Template offer a wide range of complex
|
86
|
+
functionality based on powerful Open Source libraries like Lightbox V2,
|
87
|
+
Slick Slider, Master Slider, or Masonry Grid and JustifiedGallery to create
|
88
|
+
masonry-styled preview maps.
|
89
|
+
|
90
|
+
mdi:clock-time-five-outline[24px, md-gray mt-4 mr-2]
|
91
|
+
*15-30 Minutes* to read
|
92
|
+
|
93
|
+
// Include sub-documents (if any)
|
94
|
+
// -----------------------------------------------------------------------------
|
95
|
+
// [role="notranslate"]
|
96
|
+
[role="mt-5"]
|
97
|
+
== Lightboxes
|
98
|
+
|
99
|
+
A Lightbox is a helper which displays enlarged, almost screen-filling versions
|
100
|
+
of images while dimming the remainder of the page. The technique, introduced
|
101
|
+
by Lightbox V2, gained widespread popularity thanks to its simple style. The
|
102
|
+
term *Lightbox* has been employed since then for Javascript libraries to
|
103
|
+
support such functionality.
|
104
|
+
|
105
|
+
For J1 Template, different lightbox modules are available:
|
106
|
+
|
107
|
+
* Lightbox V2 (default)
|
108
|
+
* LightGallery Lightbox (optional)
|
109
|
+
* Slick Lightbox (for Slick Carousels only)
|
110
|
+
|
111
|
+
The *default* tool employed by J1 Template is Lightbox V2, a Javascript
|
112
|
+
library written by _Lokesh Dhakar_. For more complex use cases, like a
|
113
|
+
thumbnail gallery preview or video support, *LightGallery* can be used
|
114
|
+
alternatively.
|
115
|
+
|
116
|
+
All Lightboxes are fully integrated to be used as standalone modules or
|
117
|
+
used as helpers *under-the-hood* by other modules focussing on image-data
|
118
|
+
like gallerys or carousels.
|
119
|
+
|
120
|
+
[TIP]
|
121
|
+
====
|
122
|
+
For details of the default lightbox of J1 Template, see the documentation
|
123
|
+
under the link:{url-j1-docs--lightbox-module}[Lightbox module, {browser-window--new}].
|
124
|
+
====
|
125
|
+
|
126
|
+
[role="mt-4"]
|
127
|
+
=== Default Lightbox
|
128
|
+
|
129
|
+
[role="mb-4"]
|
130
|
+
Find below an example of using the rhe default lightbox used for standalone
|
131
|
+
images. See how single (individual) images are linked.
|
132
|
+
|
133
|
+
.Lightbox for standalone images
|
134
|
+
lightbox::example-standalone[ 800, {data-images-standalone}, role="mb-4" ]
|
135
|
+
|
136
|
+
[role="mb-4"]
|
137
|
+
The J1 lightbox module supports groups of images as well. Click on the image
|
138
|
+
group below to see how a group is managed.
|
139
|
+
|
140
|
+
.Lightbox for grouped images
|
141
|
+
lightbox::example-group[ 395, {data-images-group}, group, role="mb-4 wm-800" ]
|
142
|
+
|
143
|
+
|
144
|
+
[role="mt-5"]
|
145
|
+
=== LightGallery
|
146
|
+
|
147
|
+
LightGallery provides more complex image data functions than the default
|
148
|
+
lightbox. The module supports a gallery-style thumbnail preview plus image
|
149
|
+
resizing, a download dialog, sharing provider support, and more helpful.
|
150
|
+
|
151
|
+
[NOTE]
|
152
|
+
====
|
153
|
+
The name LightGallery implies a sort of a Gallery, but the library is a
|
154
|
+
_lightbox_, and provides enhannced functionality on image-based data rather
|
155
|
+
than enlarged displaying of images.
|
156
|
+
====
|
157
|
+
|
158
|
+
Check what LightGallery can do this by the following example.
|
159
|
+
|
160
|
+
gallery::jg_old_times[]
|
161
|
+
|
162
|
+
|
163
|
+
[role="mt-5"]
|
164
|
+
== J1 Carousel
|
165
|
+
|
166
|
+
J1 Carousel is based on OWL Carousel V1 in the latest version. OWL Carousel
|
167
|
+
is a clean and neat _jQuery_ slider plugin for creating fully responsive and
|
168
|
+
touch-enabled carousel sliders.
|
169
|
+
|
170
|
+
[role="mt-4"]
|
171
|
+
=== Simple Text Carousel
|
172
|
+
|
173
|
+
[role="mb-4"]
|
174
|
+
A slider or carousel is typically used for displaying images. Still, the
|
175
|
+
implementation for the J1 Template supports a lot more sources to be
|
176
|
+
displayed as a slide show: simple text, for example.
|
177
|
+
|
178
|
+
.Text Carousel
|
179
|
+
carousel::demo_text_carousel[role="mb-4"]
|
180
|
+
|
181
|
+
Important statements or topics can be placed, e.g., on top of an article or
|
182
|
+
a paragraph, to give them better visibility. In one line, you can present
|
183
|
+
many facts to know animated for the reader's attention within a single
|
184
|
+
line. No much space is needed!
|
185
|
+
|
186
|
+
[role="mt-4"]
|
187
|
+
=== Parallax Text Carousel
|
188
|
+
|
189
|
+
[role="mb-4"]
|
190
|
+
A more eye-minded type of text-based slide show is a parallax text slider. If
|
191
|
+
you want to emphasize your statements focussing the meaning, this kind of a
|
192
|
+
slide show may be interesting. Image-based slide shows may draw off the
|
193
|
+
reader's attention from the text, therefore a pure text-based presentation
|
194
|
+
maybe the better choice.
|
195
|
+
|
196
|
+
.Parallax Text
|
197
|
+
carousel::demo_text_carousel_parallax[role="mb-4"]
|
198
|
+
|
199
|
+
Parallax text shows can be placed as banners on a page. For text shows,
|
200
|
+
different animations are available. Internally, J1 Template uses some of
|
201
|
+
the great CSS styles offered by _animate.css_.
|
202
|
+
|
203
|
+
[TIP]
|
204
|
+
====
|
205
|
+
Have a look a https://daneden.github.io/animate.css/[Dan Eden's home page, {browser-window--new}]
|
206
|
+
to see all the possible dynamic styles you can create based on pure CSS.
|
207
|
+
Some of them are implemented for the J1 Carousel for animation. See the
|
208
|
+
documentation for the
|
209
|
+
link:{url-j1-docs--carousel-module}[Carousel module, {browser-window--new}]
|
210
|
+
for more details.
|
211
|
+
====
|
212
|
+
|
213
|
+
[role="mt-4"]
|
214
|
+
=== Simple Image Carousel
|
215
|
+
|
216
|
+
Carousels are mostly used for pictures data to animate the images as a series.
|
217
|
+
Find with the following some examples of how to use a carousel for your image
|
218
|
+
data.
|
219
|
+
|
220
|
+
A simple image show is useful, for example, as an animated (or not animated)
|
221
|
+
banner presenting exciting things about your site or the products offered.
|
222
|
+
|
223
|
+
.Image Carousel
|
224
|
+
carousel::demo_simple[role="mb-4"]
|
225
|
+
|
226
|
+
[role="mt-4"]
|
227
|
+
=== Carousel + Caption + Lightbox
|
228
|
+
|
229
|
+
Carousels are used for an exceptionally compact form of image galleries.
|
230
|
+
This example shows some pictures having individual caption text and supports
|
231
|
+
a lightbox to enlarge images full size. For the example below, an almost simple
|
232
|
+
lightbox is used: Lightbox2; or short: lightbox.
|
233
|
+
|
234
|
+
.Image Carousel + Lightbox
|
235
|
+
carousel::demo_cats[role="mb-3"]
|
236
|
+
|
237
|
+
The J1 module lightbox is a simple Lightbox but offers a bunch of impressive
|
238
|
+
features for displaying images. For example, the lightbox can display all
|
239
|
+
images (of a carousel) as a group. If one picture is opened in the lightbox,
|
240
|
+
others are browsed by easy-to-use control buttons.
|
241
|
+
|
242
|
+
[role="mt-4"]
|
243
|
+
=== One Slide Carousel + Lightbox
|
244
|
+
|
245
|
+
The build-in carousel supports multiple and single image shows. Here you find
|
246
|
+
an example of a single image slide show with controls enabled to browse all
|
247
|
+
images back and forth. An indicator below the slider shows how many images
|
248
|
+
the show contains.
|
249
|
+
|
250
|
+
.One Slide Carousel
|
251
|
+
carousel::demo_oneslide[role="mb-4"]
|
252
|
+
|
253
|
+
[role="mt-5"]
|
254
|
+
== J1 Slick Carousel
|
255
|
+
|
256
|
+
[role="mb-4"]
|
257
|
+
_Slick_ is a popular jQuery plugin for creating responsive and fully
|
258
|
+
customizable carousels. It allows developers to easily create beautiful
|
259
|
+
and dynamic carousels that can display images, videos, or any other type
|
260
|
+
of content in a visually appealing way.
|
261
|
+
|
262
|
+
The plugin is designed to be lightweight, fast, and easy to use, making it
|
263
|
+
a popular choice for all web developers. It has many features, including
|
264
|
+
multiple navigation options, lazy loading, or autoplay. Slick carousels are
|
265
|
+
compatible with all modern browsers and devices, making it a great choice to
|
266
|
+
create a responsive and mobile-friendly website.
|
267
|
+
|
268
|
+
All Slick carousels for the J1 Template can be easily customized in
|
269
|
+
various ways, such as changing the number of posts displayed, the slider
|
270
|
+
speed, or the navigation options like *Arrows* and *Dots*.
|
271
|
+
|
272
|
+
[role="mt-4"]
|
273
|
+
[[slick-image-carousel]]
|
274
|
+
=== Image Carousel
|
275
|
+
|
276
|
+
[role="mb-4"]
|
277
|
+
An _Slick_ image carousel typically consists of a container with images and
|
278
|
+
a navigation system, including buttons, arrows, or dots that allow users to
|
279
|
+
move back and forth between images or select a specific image. Image carousels
|
280
|
+
can also include animation effects, such as fade-in or slide-in transitions
|
281
|
+
between images, to make the presentation more engaging and visually appealing.
|
282
|
+
|
283
|
+
.Carousel + Arrows + Dots + Captions + Lightbox
|
284
|
+
slick::image_carousel_full[]
|
285
|
+
|
286
|
+
[role="mt-4"]
|
287
|
+
=== Carousel from Collections
|
288
|
+
|
289
|
+
[role="mb-4"]
|
290
|
+
A carousel from a collection for J1 Template is a *pre-defined* element
|
291
|
+
type to display *articles* from a Jekyll collection on a webpage. All
|
292
|
+
carousels for collections display the article image and a link to the article
|
293
|
+
as a caption.
|
294
|
+
|
295
|
+
.Collection Biography + Arrows + Dots + Gutters
|
296
|
+
slick::collection_carousel_biography[]
|
297
|
+
|
298
|
+
[role="mt-4"]
|
299
|
+
=== Carousel from Posts
|
300
|
+
|
301
|
+
A Carousel from posts for J1 Template is a *pre-defined* carousel type to
|
302
|
+
display post articles on a webpage. It is a popular way to showcase a
|
303
|
+
selection of post articles visually appealingly and can be useful for
|
304
|
+
highlighting important or *featured* content for your posts content.
|
305
|
+
|
306
|
+
[role="mb-4"]
|
307
|
+
Post carousels pull news articles from a specific *group*. All Carousels for
|
308
|
+
posts display the post category, the title, the author information and
|
309
|
+
date.
|
310
|
+
|
311
|
+
.Asciidoc configuration
|
312
|
+
[source, config, role="noclip mb-3"]
|
313
|
+
----
|
314
|
+
slick::post_carousel_featured[]
|
315
|
+
----
|
316
|
+
|
317
|
+
.Post Carousel (Featured Posts)
|
318
|
+
slick::post_carousel_featured[]
|
319
|
+
|
320
|
+
[role="mt-4"]
|
321
|
+
=== More about Slick Carousels
|
322
|
+
|
323
|
+
[role="mb-4"]
|
324
|
+
If you're interested to learn more about _Slick_, go previewer page
|
325
|
+
link:{url-j1-slick-previewer}[Slick Previewer, {browser-window--new}],
|
326
|
+
|
327
|
+
|
328
|
+
[role="mt-5"]
|
329
|
+
[[masterSlider]]
|
330
|
+
== J1 Master Slider
|
331
|
+
|
332
|
+
The Javascript library _Master Slider_ is a 3rd party plugin fully integrated
|
333
|
+
into the J1 Template by the module `masterslider`. J1 Template uses the *free*
|
334
|
+
version *MS Lite*. The free version of Master Slider does *not* support
|
335
|
+
all features: the functionality of *filters*, *layouts* are limited and no
|
336
|
+
*overlay* techniques are supported by MS Lite.
|
337
|
+
|
338
|
+
[role="mt-4"]
|
339
|
+
[[carousel_versus_slider]]
|
340
|
+
=== Carousel versus Slider
|
341
|
+
|
342
|
+
Sliders and Carousels are focussing quite the same thing: presenting images
|
343
|
+
dynamically. The features of Sliders go far beyond what simple carousels can
|
344
|
+
do: presenting image-based data as slide *shows*.
|
345
|
+
|
346
|
+
Well-known Office Products to create *presentations* are Powerpoint from
|
347
|
+
_Microsoft_ or _Google Docs_. Modern sliders like _Master Slider_ provide
|
348
|
+
similar features to present animated presentations based on digital image
|
349
|
+
data combined with text elements, buttons, or overlay techniques for images
|
350
|
+
or other digital data sources.
|
351
|
+
|
352
|
+
In short: Carousels are used to present images, and sliders are used to create
|
353
|
+
complex image-based presentations.
|
354
|
+
|
355
|
+
[TIP]
|
356
|
+
====
|
357
|
+
For more details of the dimplementation of Master Slider of J1 Template, see
|
358
|
+
find documentation at
|
359
|
+
link:{url-j1-docs--masterslider-module}[Master Slider module, {browser-window--new}].
|
360
|
+
====
|
361
|
+
|
362
|
+
[role="mt-4"]
|
363
|
+
=== Featured MS Slider
|
364
|
+
|
365
|
+
The following slider uses the (CSS) filter feature of Master Slider.
|
366
|
+
Filters can be used, for example, to *transform* the *style* of the images
|
367
|
+
presented by a slider. In this example, the slider images are transformed
|
368
|
+
from style *color* to *sepia*.
|
369
|
+
|
370
|
+
[WARNING]
|
371
|
+
====
|
372
|
+
Lightbox support is only available for the MS Lite version of J1
|
373
|
+
Theme. The product versions *MS Lite* and *MS Pro* does not support
|
374
|
+
Lightboxes on sliders out-of-the-box.
|
375
|
+
====
|
376
|
+
|
377
|
+
.Slider using Controls + Filters + Lightbox
|
378
|
+
masterslider::ms_00002[]
|
379
|
+
|
380
|
+
[role="mt-4"]
|
381
|
+
[TIP]
|
382
|
+
====
|
383
|
+
Click on the Lightbox symbol mdi:image-outline[18px, md-gray] in the
|
384
|
+
slides to see the *colored* images configured for the slider.
|
385
|
+
====
|
386
|
+
|
387
|
+
[role="mt-4"]
|
388
|
+
[[text_elements]]
|
389
|
+
=== MS Slider using Text Elements
|
390
|
+
|
391
|
+
One of the major features of sliders is to present additional animated
|
392
|
+
elements, like text data, connected to the images presented by an slideshow.
|
393
|
+
MS Slider additionally provides functions to combine images and text by
|
394
|
+
so-called *MSInfo* blocks out-of-the-box.
|
395
|
+
|
396
|
+
.Slider using Images + Text
|
397
|
+
masterslider::ms_00003[]
|
398
|
+
|
399
|
+
[role="mt-4"]
|
400
|
+
[[thumb_images]]
|
401
|
+
=== MS Slider using ThumbImages
|
402
|
+
|
403
|
+
To give the users better control over a slideshow, sliders provide complex UI
|
404
|
+
elements like *thumbs* placed side-by-side (left|right), at the top, or at
|
405
|
+
the bottom of a slideshow. Find two examples to control a slideshow by
|
406
|
+
*thumb images*.
|
407
|
+
|
408
|
+
.Slider using ThumbImages
|
409
|
+
masterslider::ms_00004[]
|
410
|
+
|
411
|
+
[role="mt-4"]
|
412
|
+
[[thumb_info]]
|
413
|
+
=== MS Slider using ThumbInfo
|
414
|
+
|
415
|
+
To give the users better control over a slideshow, MS Slider provides
|
416
|
+
complex UI elements like thumbs placed side-by-side (left|right), at the
|
417
|
+
top, or at the bottom of a slideshow.
|
418
|
+
|
419
|
+
.Slider using ThumbInfo
|
420
|
+
masterslider::ms_00007[]
|
421
|
+
|
422
|
+
[role="mt-4"]
|
423
|
+
[[partialview]]
|
424
|
+
=== MS Slider using Layout PartialView
|
425
|
+
|
426
|
+
The following slider presents a slideshow that combines an MSInfo element
|
427
|
+
at the bottom and the MS Layout `partialview`. A slideshow typically presents
|
428
|
+
a larger number of slides. The layout `partialview` accompanies the active
|
429
|
+
slide by their neighbors on the left and the right.
|
430
|
+
|
431
|
+
.Slider using PartialView
|
432
|
+
masterslider::ms_00009[]
|
433
|
+
|
434
|
+
[role="mt-4"]
|
435
|
+
[[more_about_masterslider]]
|
436
|
+
=== More about Master Slider
|
437
|
+
|
438
|
+
If you're interested to learn more about MS Slider, go for the following
|
439
|
+
documents:
|
440
|
+
|
441
|
+
* MS Slider link:{url-j1-masterslider-previewer}[Previewer, {browser-window--new}]
|
442
|
+
* MS Slider link:{url-j1-docs--masterslider-module}[Module documentation, {browser-window--new}]
|
443
|
+
|
444
|
+
|
445
|
+
[role="mt-5"]
|
446
|
+
== J1 Masonry
|
447
|
+
|
448
|
+
J1 Masonry is based on the popular JavaScript library _Masonry_, enabling
|
449
|
+
the creation of responsive, dynamic grid layouts of *groups* of content
|
450
|
+
elements. It uses a unique algorithm to arrange elements vertically, then
|
451
|
+
horizontally in a responsive grid.
|
452
|
+
|
453
|
+
The module provides a flexible configuration to enabling developers to
|
454
|
+
customize the layout, adjust the column width, gutter size, and add
|
455
|
+
animations.
|
456
|
+
|
457
|
+
[role="mt-4"]
|
458
|
+
=== Grid of Images
|
459
|
+
|
460
|
+
Bootstrap cards are a popular component of the Bootstrap front-end framework
|
461
|
+
that provides a flexible and customizable way to display content on a website.
|
462
|
+
Find an example below of how Bootstrap cards can be combined with the Masonry
|
463
|
+
module for a fully responsive image grid.
|
464
|
+
|
465
|
+
[TIP]
|
466
|
+
====
|
467
|
+
Resize your browser window for the width to see the J1 Masonry module
|
468
|
+
in action.
|
469
|
+
====
|
470
|
+
|
471
|
+
.Grid of Images
|
472
|
+
masonry::card_example[]
|
473
|
+
|
474
|
+
|
475
|
+
[role="mt-5"]
|
476
|
+
== JustifiedGallery
|
477
|
+
|
478
|
+
link:{url-justified-gallery--home}[JustifiedGallery, {browser-window--new}]
|
479
|
+
is a great _jQuery_ Plugin to create responsive, infinite, and high-quality
|
480
|
+
justified image galleries. J1 Template combines the Gallery with the lightboxes
|
481
|
+
supported to enlarge the images of a gallery. See the gallery in action; and
|
482
|
+
for sure, all that you see is even responsive. Change the size of your current
|
483
|
+
browser window, by width or height to see what will happen!
|
484
|
+
|
485
|
+
[role="mb-4"]
|
486
|
+
Pictures you've made are typically not even in size. Images may have the
|
487
|
+
same size (resolution), but some are orientated landscapes, or others
|
488
|
+
may be portraits. For that reason, a more powerful gallery is needed to create
|
489
|
+
so-called justified views. JustifiedGallery uses a so-called masonry grid
|
490
|
+
layout. It works by placing elements in an optimal position based on available
|
491
|
+
horizontal and vertical space. Sort of like mason fitting stones in a wall.
|
492
|
+
You'll have seen it in use all over the Internet!
|
493
|
+
|
494
|
+
.Masonry Grid Gallery
|
495
|
+
gallery::jg_customizer[]
|
496
|
+
|
497
|
+
[role="mt-5"]
|
498
|
+
== What next
|
499
|
+
|
500
|
+
Hopefully, you've enjoyed exploring the possibilities J1 offers for managing
|
501
|
+
and displaying digital image content. But much, much more can the J1 do for
|
502
|
+
your web.
|
503
|
+
|
504
|
+
The J1 Template support playing video on web pages by HTML5 Video, the new
|
505
|
+
standard of HTML. HTML5 Video implements a pure HTML way to show video on
|
506
|
+
the web. Modern browsers support the video tag `<video>` for the HTML5 video
|
507
|
+
standard. The previous proprietary de facto standard software like Flash
|
508
|
+
Player, Quicktime, or Silverlight is no longer needed as the Jekyll theme
|
509
|
+
JekyllOne provides HTML5 Video support for local video content and from
|
510
|
+
online sources on the Internet.
|
511
|
+
|
512
|
+
Incredible? See the next example page link:{url-roundtrip--present-videos}[Present Videos].
|