j1-template 2022.1.0 → 2022.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_article_navigator.html +4 -5
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +4 -5
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +35 -19
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.0.proc +129 -0
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.1.proc +113 -0
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +3 -3
- data/_includes/themes/j1/procedures/global/create_word_cloud.proc +1 -5
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +29 -7
- data/_includes/themes/j1/procedures/posts/pager.proc +2 -3
- data/assets/data/carousel.json +2 -2
- data/assets/data/galleries.json +17 -5
- data/assets/data/gallery_customizer.html +4 -5
- data/assets/data/j1_config.json +42 -0
- data/assets/data/panel.html +17 -0
- data/assets/data/quicklinks.html +4 -4
- data/assets/themes/j1/adapter/js/advertising.js +2 -2
- data/assets/themes/j1/adapter/js/algolia.js +5 -5
- data/assets/themes/j1/adapter/js/analytics.js +1 -1
- data/assets/themes/j1/adapter/js/asciidoctor.js +2 -2
- data/assets/themes/j1/adapter/js/attic.js +5 -5
- data/assets/themes/j1/adapter/js/bmd.js +12 -12
- data/assets/themes/j1/adapter/js/carousel.js +40 -30
- data/assets/themes/j1/adapter/js/clipboard.js +2 -2
- data/assets/themes/j1/adapter/js/comments.js +2 -2
- data/assets/themes/j1/adapter/js/cookieConsent.js +2 -2
- data/assets/themes/j1/adapter/js/customFunctions.js +2 -2
- data/assets/themes/j1/adapter/js/customModule.js +2 -2
- data/assets/themes/j1/adapter/js/dropdowns.js +2 -2
- data/assets/themes/j1/adapter/js/fab.js +4 -4
- data/assets/themes/j1/adapter/js/framer.js +2 -2
- data/assets/themes/j1/adapter/js/j1.js +9 -9
- data/assets/themes/j1/adapter/js/justifiedGallery.js +42 -30
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +126 -113
- data/assets/themes/j1/adapter/js/lightbox.js +34 -30
- data/assets/themes/j1/adapter/js/logger.js +2 -2
- data/assets/themes/j1/adapter/js/{quicksearch.js → lunr.js} +17 -19
- data/assets/themes/j1/adapter/js/mmenu.js +7 -7
- data/assets/themes/j1/adapter/js/navigator.js +5 -5
- data/assets/themes/j1/adapter/js/rangeSlider.js +96 -83
- data/assets/themes/j1/adapter/js/rouge.js +26 -22
- data/assets/themes/j1/adapter/js/rtable.js +2 -2
- data/assets/themes/j1/adapter/js/rtextResizer.js +6 -22
- data/assets/themes/j1/adapter/js/scroller.js +2 -2
- data/assets/themes/j1/adapter/js/themer.js +3 -3
- data/assets/themes/j1/adapter/js/toccer.js +5 -5
- data/assets/themes/j1/adapter/js/translator.js +2 -2
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +19 -6
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/vendor.css +2 -3
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +1 -6
- data/assets/themes/j1/core/js/template.min.js +1 -6
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery-x.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.js +28 -12
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.min.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.min.js +1 -2
- data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +1 -11
- data/assets/themes/j1/modules/{lunrSearch/css/quicksearch.css → lunr/css/j1.css} +2 -2
- data/assets/themes/j1/modules/lunr/css/j1.min.css +15 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/dateformat.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/dateformat.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch/js/quicksearch.js → lunr/js/j1.js} +11 -8
- data/assets/themes/j1/modules/{lunrSearch/js/quicksearch.min.js → lunr/js/j1.min.js} +1 -1
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.language.support.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.language.support.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/mustache.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/mustache.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/uri.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/uri.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ar.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ar.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.da.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.da.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.de.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.de.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.du.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.du.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.es.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.es.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fi.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fi.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fr.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fr.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.hu.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.hu.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.it.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.it.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ja.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ja.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.jp.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.jp.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.multi.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.multi.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.nl.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.nl.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.no.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.no.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.pt.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.pt.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ro.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ro.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ru.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ru.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.sv.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.sv.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.th.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.tr.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.tr.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.vi.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.vi.min.js +0 -0
- data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.min.css +2 -375
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +14 -5
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +2 -179
- data/assets/themes/j1/modules/msDropdown/css/msDropdown.min.css +1 -12
- data/assets/themes/j1/modules/msDropdown/css/themes/uno/msDropdown.css +3 -1
- data/assets/themes/j1/modules/msDropdown/css/themes/uno/msDropdown.min.css +23 -0
- data/assets/themes/j1/modules/videojs/css/video-js.css +6 -2
- data/assets/themes/j1/modules/videojs/css/video-js.min.css +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +68 -95
- data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +168 -0
- data/lib/starter_web/_data/blocks/panel.yml +2 -0
- data/lib/starter_web/_data/j1_config.yml +33 -1
- data/lib/starter_web/_data/layouts/app.yml +11 -6
- data/lib/starter_web/_data/layouts/article_navigator.yml +8 -3
- data/lib/starter_web/_data/layouts/blog_archive.yml +8 -3
- data/lib/starter_web/_data/layouts/collection.yml +14 -21
- data/lib/starter_web/_data/layouts/default.yml +11 -36
- data/lib/starter_web/_data/layouts/home.yml +14 -22
- data/lib/starter_web/_data/layouts/news_panel_posts.yml +8 -3
- data/lib/starter_web/_data/layouts/page.yml +8 -14
- data/lib/starter_web/_data/layouts/post.yml +8 -3
- data/lib/starter_web/_data/layouts/raw.yml +14 -9
- data/lib/starter_web/_data/{builder → modules}/blog_navigator.yml +4 -4
- data/lib/starter_web/_data/{apps → modules}/carousel.yml +2 -2
- data/lib/starter_web/_data/{builder → modules}/defaults/blog_navigator.yml +4 -5
- data/lib/starter_web/_data/{apps → modules}/defaults/carousel.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/defaults/justifiedGallery.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/defaults/lightGallery.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/defaults/lightbox.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/{quicksearch.yml → lunr.yml} +6 -15
- data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/justifiedGallery.yml +101 -50
- data/lib/starter_web/_data/{apps → modules}/lightGallery.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/lightbox.yml +2 -2
- data/lib/starter_web/_data/modules/{quicksearch.yml → lunr.yml} +4 -7
- data/lib/starter_web/_data/modules/navigator_menu.yml +1 -1
- data/lib/starter_web/_data/modules/rangeSlider.yml +2 -2
- data/lib/starter_web/_data/resources.yml +20 -21
- data/lib/starter_web/_includes/attributes.asciidoc +16 -3
- data/lib/starter_web/_plugins/asciidoctor-extensions/lightbox-block.rb +6 -4
- data/lib/starter_web/_plugins/filters.rb +53 -0
- data/lib/starter_web/_plugins/lunr_index.rb +11 -6
- data/lib/starter_web/assets/images/modules/attics/joanna-kosinska-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/dailymotion/meditation.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/dailymotion/pilates.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/html5/video1.mp4 +0 -0
- data/lib/starter_web/assets/videos/gallery/html5/video2.mp4 +0 -0
- data/lib/starter_web/assets/videos/gallery/vk/hai.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/vk/otter.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/battle.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/ben.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/constance.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/elisa.jpg +0 -0
- data/lib/starter_web/collections/asciidoc_skeletons/simple-post/{yyyy-mm-dd-your-post-name.adoc → _posts/yyyy-mm-dd-your-post-name.asciidoc} +26 -12
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-28-about-j1.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +2 -2
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/_blog/navigator/archive/categoryview.html +254 -0
- data/lib/starter_web/pages/public/_blog/navigator/archive/dateview.html +238 -0
- data/lib/starter_web/pages/public/_blog/navigator/archive/tagview.html +283 -0
- data/lib/starter_web/pages/public/_blog/navigator/archive.html +204 -0
- data/lib/starter_web/pages/public/_blog/navigator/index.html +53 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +2 -4
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +15 -3
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +15 -3
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +5 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +5 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +5 -7
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +33 -12
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +30 -11
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +28 -11
- data/lib/starter_web/pages/public/blog/navigator/archive.html +29 -11
- data/lib/starter_web/pages/public/blog/navigator/index.html +2 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +13 -17
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +99 -16
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +74 -74
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +7 -13
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +91 -77
- data/assets/themes/j1/modules/lunrSearch/css/quicksearch.min.css +0 -32
- data/lib/starter_web/_data/layouts/home.ads.yml +0 -262
- data/lib/starter_web/_data/layouts/home.no-ads.yml +0 -262
- data/lib/starter_web/_data/pages/builder.yml +0 -87
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +0 -265
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +0 -237
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +0 -237
@@ -1,265 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Roundtrip
|
3
|
-
tagline: present images
|
4
|
-
date: 2020-11-03 00:00:00
|
5
|
-
description: >
|
6
|
-
Welcome to the preview page focussing on the image module. This page
|
7
|
-
shows some valuable features of the J1 Template to manage your image-based
|
8
|
-
content using lightboxes, carousels (slider), and galleries.
|
9
|
-
|
10
|
-
categories: [ Roundtrip ]
|
11
|
-
tags: [ Introduction, Module, Image ]
|
12
|
-
|
13
|
-
fab_menu_id: page_ctrl_simple
|
14
|
-
|
15
|
-
permalink: /pages/public/learn/roundtrip/present_images/
|
16
|
-
regenerate: false
|
17
|
-
|
18
|
-
resources: [
|
19
|
-
animate, advertising, clipboard,
|
20
|
-
carousel, justifiedGallery,
|
21
|
-
lightbox, lightGallery,
|
22
|
-
rouge
|
23
|
-
]
|
24
|
-
resource_options:
|
25
|
-
- attic:
|
26
|
-
padding_top: 400
|
27
|
-
padding_bottom: 50
|
28
|
-
opacity: 0.5
|
29
|
-
slides:
|
30
|
-
- url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
|
31
|
-
alt: Photo by Ricardo Gomez Angel on Unsplash
|
32
|
-
badge:
|
33
|
-
type: unsplash
|
34
|
-
author: Ricardo Gomez Angel
|
35
|
-
href: https://unsplash.com/@ripato/portfolio
|
36
|
-
---
|
37
|
-
|
38
|
-
// Page Initializer
|
39
|
-
// =============================================================================
|
40
|
-
// Enable the Liquid Preprocessor
|
41
|
-
:page-liquid:
|
42
|
-
|
43
|
-
// Set (local) page attributes here
|
44
|
-
// -----------------------------------------------------------------------------
|
45
|
-
// :page--attr: <attr-value>
|
46
|
-
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
47
|
-
|
48
|
-
// Load Liquid procedures
|
49
|
-
// -----------------------------------------------------------------------------
|
50
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
51
|
-
|
52
|
-
// Load page attributes
|
53
|
-
// -----------------------------------------------------------------------------
|
54
|
-
{% include {{load_attributes}} scope="all" %}
|
55
|
-
|
56
|
-
// Page content
|
57
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
58
|
-
|
59
|
-
++++
|
60
|
-
<!-- insert gad container -->
|
61
|
-
<div id="xxx..xx" class="mb-5">
|
62
|
-
<!-- display-ad-horizontal-1 -->
|
63
|
-
<ins class="adsbygoogle"
|
64
|
-
style="display:block"
|
65
|
-
data-ad-client="ca-pub-xxxx..xxx"
|
66
|
-
data-ad-slot="xxxx..xx"
|
67
|
-
data-ad-format="auto"
|
68
|
-
data-full-width-responsive="true">
|
69
|
-
</ins>
|
70
|
-
</div>
|
71
|
-
++++
|
72
|
-
|
73
|
-
// Include sub-documents (if any)
|
74
|
-
// -----------------------------------------------------------------------------
|
75
|
-
[role="dropcap"]
|
76
|
-
Welcome to the first preview page focussing on the image module. This page
|
77
|
-
shows some valuable features of the J1 Template to manage your image-based
|
78
|
-
content using lightboxes, carousels (slider), and galleries.
|
79
|
-
|
80
|
-
The image module offers complex functionality based on powerful OpenSource
|
81
|
-
libraries like JustifiedGallery for high-end, masonry-styled preview maps.
|
82
|
-
J1 Template uses the jQuery plugin Owl Carousel as a base for image sliders.
|
83
|
-
A carousel app (slider) lets you present your images as shows.
|
84
|
-
|
85
|
-
Lightboxes like LightGallery or Lightbox V2 support your web for enlarged
|
86
|
-
image views of your picture or video content. Have a look, a quick tour
|
87
|
-
of what J1 can do for image data. Have fun!
|
88
|
-
|
89
|
-
++++
|
90
|
-
<!-- insert gad container -->
|
91
|
-
<div id="xxx..xx" class="mb-5">
|
92
|
-
<!-- display-ad-horizontal-2 -->
|
93
|
-
<ins class="adsbygoogle"
|
94
|
-
style="display:block"
|
95
|
-
data-ad-client="ca-pub-xxxx..xxx"
|
96
|
-
data-ad-slot="xxxx..xx"
|
97
|
-
data-ad-format="auto"
|
98
|
-
data-full-width-responsive="true">
|
99
|
-
</ins>
|
100
|
-
</div>
|
101
|
-
++++
|
102
|
-
|
103
|
-
== J1 Lightboxes
|
104
|
-
|
105
|
-
A Lightbox is, in general, a helper which displays enlarged, almost
|
106
|
-
screen-filling versions of images (or videos) while dimming the remainder
|
107
|
-
of the page. The technique, introduced by Lightbox V2, gained widespread
|
108
|
-
popularity thanks to its simple style. The term lightbox has been employed
|
109
|
-
since then for Javascript libraries to support such functionality.
|
110
|
-
|
111
|
-
For the J1 Template, two different lightboxes are available:
|
112
|
-
|
113
|
-
* Lightbox V2 (lightbox)
|
114
|
-
* LightGallery
|
115
|
-
|
116
|
-
The default tool employed by J1 Template is Lightbox V2, a Javascript library
|
117
|
-
written by _Lokesh Dhakar_. The name of that (build-in) is *lightbox*.
|
118
|
-
For more complex use cases, like a thumbnail gallery preview or video support,
|
119
|
-
LightGallery can be used alternatively.
|
120
|
-
|
121
|
-
NOTE: The name LightGallery implies a sort of a Gallery, but the library is a
|
122
|
-
_lightbox_. And, LightGallery provides much more functionality on image-based
|
123
|
-
data rather than enlarged displaying of images. See the examples below to check
|
124
|
-
for the differences in comparison to the simpler Lightbox V2 lightbox.
|
125
|
-
|
126
|
-
Both lightboxes are fully integrated to be used as standalone modules or
|
127
|
-
used as helpers *under-the-hood* by other apps or modules focussing on
|
128
|
-
image-data like gallery or carousel, the build-in carousel module.
|
129
|
-
|
130
|
-
== Lightbox Examples
|
131
|
-
|
132
|
-
Find below an example of using the lightbox Lightbox standalone. See how
|
133
|
-
single (individual) images are linked for use with Lightbox.
|
134
|
-
|
135
|
-
.Lightbox block for standalone images
|
136
|
-
lightbox::example-standalone[ 400, {data-images-standalone} ]
|
137
|
-
|
138
|
-
Lightbox supports image groups (image sets). Click on the images below to
|
139
|
-
see how Lightbox manages a group of images.
|
140
|
-
|
141
|
-
.Lightbox block for grouped images
|
142
|
-
lightbox::example-group[ 400, {data-images-group}, group ]
|
143
|
-
|
144
|
-
=== LightGallery Example
|
145
|
-
|
146
|
-
LightGallery provides more complex functions on image data. The module
|
147
|
-
supports a gallery-style thumbnail preview plus image resizing, a download
|
148
|
-
dialog, sharing provider support, and more helpful. Check what
|
149
|
-
LightGallery can do this by the following example.
|
150
|
-
|
151
|
-
gallery::jg_old_times[]
|
152
|
-
|
153
|
-
== J1 Carousel App
|
154
|
-
|
155
|
-
J1 Carousel is based on OWL Carousel V1 in the latest (and unfortunately
|
156
|
-
last) version of 1.3.3. OWL Carousel is a clean and neat jQuery slider plugin
|
157
|
-
for creating fully responsive and touch-enabled carousel sliders.
|
158
|
-
|
159
|
-
NOTE: OWL Carousel V1 is no longer available on the Internet; for an
|
160
|
-
unknown reason. Anyway, the J1 Template is using this version of OWL
|
161
|
-
Carousel is a build-in carousel module because the software does an excellent
|
162
|
-
job, is based on an MIT license with no issues using them for private and
|
163
|
-
business use. And offers a lot of great features!
|
164
|
-
|
165
|
-
=== Simple Text Carousel
|
166
|
-
|
167
|
-
A slider or carousel is typically used for displaying images. Still, the
|
168
|
-
implementation for the J1 Template supports a lot more sources to be
|
169
|
-
displayed as a slide show: simple text, for example.
|
170
|
-
|
171
|
-
.Simple text carousel
|
172
|
-
carousel::demo_text_carousel[role="mb-3"]
|
173
|
-
|
174
|
-
Important statements or topics can be placed, e.g., on top of an article or
|
175
|
-
a paragraph, to give them better visibility. In one line, you can present
|
176
|
-
many facts to know animated for the reader's attention within a single
|
177
|
-
line. No much space is needed!
|
178
|
-
|
179
|
-
=== Parallax Text Carousel
|
180
|
-
|
181
|
-
A more eye-minded type of text-based slide show is a parallax text slider. If
|
182
|
-
you want to emphasize your statements focussing the meaning, this kind of a
|
183
|
-
slide show may be interesting. Image-based slide shows may draw off the
|
184
|
-
reader's attention from the text, therefore a pure text-based presentation
|
185
|
-
maybe the better choice.
|
186
|
-
|
187
|
-
.Parallax text carousel
|
188
|
-
carousel::demo_text_carousel_parallax[role="mb-3"]
|
189
|
-
|
190
|
-
Parallax text shows can be placed as banners on a page. For text shows,
|
191
|
-
different animations are available. Internally, J1 Template uses some of
|
192
|
-
the great CSS styles offered by _animate.css_.
|
193
|
-
|
194
|
-
TIP: Have a look a https://daneden.github.io/animate.css/[Dan Eden's home page]
|
195
|
-
to see all the possible dynamic styles you can create based on pure CSS. Some
|
196
|
-
of them are implemented for OWL Carousel for animation. See the documentation
|
197
|
-
for the CAROUSEL Module for more details.
|
198
|
-
|
199
|
-
=== Simple Image Carousel
|
200
|
-
|
201
|
-
Carousels are mostly used for pictures data to animate the images as a series.
|
202
|
-
Find with the following some examples of how to use a carousel for your image
|
203
|
-
data.
|
204
|
-
|
205
|
-
A simple image show is useful, for example, as an animated (or not animated)
|
206
|
-
banner presenting exciting things about your site or the products offered.
|
207
|
-
|
208
|
-
.Simple Image Carousel
|
209
|
-
carousel::demo_simple[role="mb-3"]
|
210
|
-
|
211
|
-
=== Carousel + Caption + Lightbox
|
212
|
-
|
213
|
-
Carousels are used for an exceptionally compact form of image galleries.
|
214
|
-
This example shows some pictures having individual caption text and supports
|
215
|
-
a lightbox to enlarge images full size. For the example below, an almost simple
|
216
|
-
lightbox is used: Lightbox V2; or short: lightbox.
|
217
|
-
|
218
|
-
.Nice cats
|
219
|
-
carousel::demo_cats[role="mb-3"]
|
220
|
-
|
221
|
-
The J1 module lightbox is a simple Lightbox but offers a bunch of impressive
|
222
|
-
features for displaying images. For example, the lightbox can display all
|
223
|
-
images (of a carousel) as a group. If one picture is opened in the lightbox,
|
224
|
-
others are browsed by easy-to-use control buttons.
|
225
|
-
|
226
|
-
=== One Slide Carousel + Lightbox
|
227
|
-
|
228
|
-
The build-in Carousel carousel supports multiple and single image shows.
|
229
|
-
Here you find an example of a single image slide show with controls enabled
|
230
|
-
to browse all images back and forth. An indicator below the slider shows how
|
231
|
-
many images the show contains.
|
232
|
-
|
233
|
-
.Single Slide Carousel and a Lightbox
|
234
|
-
carousel::demo_oneslide[role="mb-3"]
|
235
|
-
|
236
|
-
== JustifiedGallery
|
237
|
-
|
238
|
-
JustifiedGallery is a great jQuery plugin to create responsive, infinite,
|
239
|
-
and high-quality justified image galleries. J1 Template combines the Gallery
|
240
|
-
with the lightboxes supported to enlarge the images of a gallery.
|
241
|
-
|
242
|
-
See JustifiedGallery in action - and for sure, all that you see is even
|
243
|
-
responsive. Change the size of your current browser window, by width or height,
|
244
|
-
to see what will happen!
|
245
|
-
|
246
|
-
Pictures you've made are typically not even in size. Images may have the
|
247
|
-
same size (resolution), but some are orientated landscapes, or others
|
248
|
-
may be portraits. For that reason, a more powerful gallery is needed to create
|
249
|
-
so-called justified views.
|
250
|
-
|
251
|
-
JustifiedGallery uses a so-called masonry grid layout. It works by
|
252
|
-
placing elements in an optimal position based on available horizontal and
|
253
|
-
vertical space. Sort of like mason fitting stones in a wall. You'll have
|
254
|
-
seen it in use all over the Internet!
|
255
|
-
|
256
|
-
.Masonry grid layout of JustifiedGallery
|
257
|
-
gallery::jg_customizer[]
|
258
|
-
|
259
|
-
== What next
|
260
|
-
|
261
|
-
Hopefully, you've enjoyed exploring the possibilities J1 offers for managing
|
262
|
-
and displaying digital image content. But much, much more can the J1 do for
|
263
|
-
your web.
|
264
|
-
|
265
|
-
Incredible? See the next example page link:{url-roundtrip--present-videos}[Present videos].
|
@@ -1,237 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Roundtrip
|
3
|
-
tagline: present images
|
4
|
-
date: 2020-11-03 00:00:00
|
5
|
-
description: >
|
6
|
-
Welcome to the preview page focussing on the image module. This page
|
7
|
-
shows some valuable features of the J1 Template to manage your image-based
|
8
|
-
content using lightboxes, carousels (slider), and galleries.
|
9
|
-
|
10
|
-
categories: [ Roundtrip ]
|
11
|
-
tags: [ Introduction, Module, Image ]
|
12
|
-
|
13
|
-
fab_menu_id: page_ctrl_simple
|
14
|
-
|
15
|
-
permalink: /pages/public/learn/roundtrip/present_images/
|
16
|
-
regenerate: false
|
17
|
-
|
18
|
-
resources: [
|
19
|
-
animate, clipboard,
|
20
|
-
carousel, justifiedGallery,
|
21
|
-
lightbox, lightGallery,
|
22
|
-
rouge
|
23
|
-
]
|
24
|
-
resource_options:
|
25
|
-
- attic:
|
26
|
-
padding_top: 400
|
27
|
-
padding_bottom: 50
|
28
|
-
opacity: 0.5
|
29
|
-
slides:
|
30
|
-
- url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
|
31
|
-
alt: Photo by Ricardo Gomez Angel on Unsplash
|
32
|
-
badge:
|
33
|
-
type: unsplash
|
34
|
-
author: Ricardo Gomez Angel
|
35
|
-
href: https://unsplash.com/@ripato/portfolio
|
36
|
-
---
|
37
|
-
|
38
|
-
// Page Initializer
|
39
|
-
// =============================================================================
|
40
|
-
// Enable the Liquid Preprocessor
|
41
|
-
:page-liquid:
|
42
|
-
|
43
|
-
// Set (local) page attributes here
|
44
|
-
// -----------------------------------------------------------------------------
|
45
|
-
// :page--attr: <attr-value>
|
46
|
-
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
47
|
-
|
48
|
-
// Load Liquid procedures
|
49
|
-
// -----------------------------------------------------------------------------
|
50
|
-
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
51
|
-
|
52
|
-
// Load page attributes
|
53
|
-
// -----------------------------------------------------------------------------
|
54
|
-
{% include {{load_attributes}} scope="all" %}
|
55
|
-
|
56
|
-
// Page content
|
57
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
58
|
-
|
59
|
-
// Include sub-documents (if any)
|
60
|
-
// -----------------------------------------------------------------------------
|
61
|
-
[role="dropcap"]
|
62
|
-
Welcome to the first preview page focussing on the image module. This page
|
63
|
-
shows some valuable features of the J1 Template to manage your image-based
|
64
|
-
content using lightboxes, carousels (slider), and galleries.
|
65
|
-
|
66
|
-
The image module offers complex functionality based on powerful OpenSource
|
67
|
-
libraries like JustifiedGallery for high-end, masonry-styled preview maps.
|
68
|
-
J1 Template uses the jQuery plugin Owl Carousel as a base for image sliders.
|
69
|
-
A carousel app (slider) lets you present your images as shows.
|
70
|
-
|
71
|
-
Lightboxes like LightGallery or Lightbox V2 support your web for enlarged
|
72
|
-
image views of your picture or video content. Have a look, a quick tour
|
73
|
-
of what J1 can do for image data. Have fun!
|
74
|
-
|
75
|
-
== J1 Lightboxes
|
76
|
-
|
77
|
-
A Lightbox is, in general, a helper which displays enlarged, almost
|
78
|
-
screen-filling versions of images (or videos) while dimming the remainder
|
79
|
-
of the page. The technique, introduced by Lightbox V2, gained widespread
|
80
|
-
popularity thanks to its simple style. The term lightbox has been employed
|
81
|
-
since then for Javascript libraries to support such functionality.
|
82
|
-
|
83
|
-
For the J1 Template, two different lightboxes are available:
|
84
|
-
|
85
|
-
* Lightbox V2 (lightbox)
|
86
|
-
* LightGallery
|
87
|
-
|
88
|
-
The default tool employed by J1 Template is Lightbox V2, a Javascript library
|
89
|
-
written by _Lokesh Dhakar_. The name of that (build-in) is *lightbox*.
|
90
|
-
For more complex use cases, like a thumbnail gallery preview or video support,
|
91
|
-
LightGallery can be used alternatively.
|
92
|
-
|
93
|
-
NOTE: The name LightGallery implies a sort of a Gallery, but the library is a
|
94
|
-
_lightbox_. And, LightGallery provides much more functionality on image-based
|
95
|
-
data rather than enlarged displaying of images. See the examples below to check
|
96
|
-
for the differences in comparison to the simpler Lightbox V2 lightbox.
|
97
|
-
|
98
|
-
Both lightboxes are fully integrated to be used as standalone modules or
|
99
|
-
used as helpers *under-the-hood* by other apps or modules focussing on
|
100
|
-
image-data like gallery or carousel, the build-in carousel module.
|
101
|
-
|
102
|
-
== Lightbox Examples
|
103
|
-
|
104
|
-
Find below an example of using the lightbox Lightbox standalone. See how
|
105
|
-
single (individual) images are linked for use with Lightbox.
|
106
|
-
|
107
|
-
.Lightbox block for standalone images
|
108
|
-
lightbox::example-standalone[ 400, {data-images-standalone} ]
|
109
|
-
|
110
|
-
Lightbox supports image groups (image sets). Click on the images below to
|
111
|
-
see how Lightbox manages a group of images.
|
112
|
-
|
113
|
-
.Lightbox block for grouped images
|
114
|
-
lightbox::example-group[ 400, {data-images-group}, group ]
|
115
|
-
|
116
|
-
=== LightGallery Example
|
117
|
-
|
118
|
-
LightGallery provides more complex functions on image data. The module
|
119
|
-
supports a gallery-style thumbnail preview plus image resizing, a download
|
120
|
-
dialog, sharing provider support, and more helpful. Check what
|
121
|
-
LightGallery can do this by the following example.
|
122
|
-
|
123
|
-
gallery::jg_old_times[]
|
124
|
-
|
125
|
-
== J1 Carousel App
|
126
|
-
|
127
|
-
J1 Carousel is based on OWL Carousel V1 in the latest (and unfortunately
|
128
|
-
last) version of 1.3.3. OWL Carousel is a clean and neat jQuery slider plugin
|
129
|
-
for creating fully responsive and touch-enabled carousel sliders.
|
130
|
-
|
131
|
-
NOTE: OWL Carousel V1 is no longer available on the Internet; for an
|
132
|
-
unknown reason. Anyway, the J1 Template is using this version of OWL
|
133
|
-
Carousel is a build-in carousel module because the software does an excellent
|
134
|
-
job, is based on an MIT license with no issues using them for private and
|
135
|
-
business use. And offers a lot of great features!
|
136
|
-
|
137
|
-
=== Simple Text Carousel
|
138
|
-
|
139
|
-
A slider or carousel is typically used for displaying images. Still, the
|
140
|
-
implementation for the J1 Template supports a lot more sources to be
|
141
|
-
displayed as a slide show: simple text, for example.
|
142
|
-
|
143
|
-
.Simple text carousel
|
144
|
-
carousel::demo_text_carousel[role="mb-3"]
|
145
|
-
|
146
|
-
Important statements or topics can be placed, e.g., on top of an article or
|
147
|
-
a paragraph, to give them better visibility. In one line, you can present
|
148
|
-
many facts to know animated for the reader's attention within a single
|
149
|
-
line. No much space is needed!
|
150
|
-
|
151
|
-
=== Parallax Text Carousel
|
152
|
-
|
153
|
-
A more eye-minded type of text-based slide show is a parallax text slider. If
|
154
|
-
you want to emphasize your statements focussing the meaning, this kind of a
|
155
|
-
slide show may be interesting. Image-based slide shows may draw off the
|
156
|
-
reader's attention from the text, therefore a pure text-based presentation
|
157
|
-
maybe the better choice.
|
158
|
-
|
159
|
-
.Parallax text carousel
|
160
|
-
carousel::demo_text_carousel_parallax[role="mb-3"]
|
161
|
-
|
162
|
-
Parallax text shows can be placed as banners on a page. For text shows,
|
163
|
-
different animations are available. Internally, J1 Template uses some of
|
164
|
-
the great CSS styles offered by _animate.css_.
|
165
|
-
|
166
|
-
TIP: Have a look a https://daneden.github.io/animate.css/[Dan Eden's home page]
|
167
|
-
to see all the possible dynamic styles you can create based on pure CSS. Some
|
168
|
-
of them are implemented for OWL Carousel for animation. See the documentation
|
169
|
-
for the CAROUSEL Module for more details.
|
170
|
-
|
171
|
-
=== Simple Image Carousel
|
172
|
-
|
173
|
-
Carousels are mostly used for pictures data to animate the images as a series.
|
174
|
-
Find with the following some examples of how to use a carousel for your image
|
175
|
-
data.
|
176
|
-
|
177
|
-
A simple image show is useful, for example, as an animated (or not animated)
|
178
|
-
banner presenting exciting things about your site or the products offered.
|
179
|
-
|
180
|
-
.Simple Image Carousel
|
181
|
-
carousel::demo_simple[role="mb-3"]
|
182
|
-
|
183
|
-
=== Carousel + Caption + Lightbox
|
184
|
-
|
185
|
-
Carousels are used for an exceptionally compact form of image galleries.
|
186
|
-
This example shows some pictures having individual caption text and supports
|
187
|
-
a lightbox to enlarge images full size. For the example below, an almost simple
|
188
|
-
lightbox is used: Lightbox V2; or short: lightbox.
|
189
|
-
|
190
|
-
.Nice cats
|
191
|
-
carousel::demo_cats[role="mb-3"]
|
192
|
-
|
193
|
-
The J1 module lightbox is a simple Lightbox but offers a bunch of impressive
|
194
|
-
features for displaying images. For example, the lightbox can display all
|
195
|
-
images (of a carousel) as a group. If one picture is opened in the lightbox,
|
196
|
-
others are browsed by easy-to-use control buttons.
|
197
|
-
|
198
|
-
=== One Slide Carousel + Lightbox
|
199
|
-
|
200
|
-
The build-in Carousel carousel supports multiple and single image shows.
|
201
|
-
Here you find an example of a single image slide show with controls enabled
|
202
|
-
to browse all images back and forth. An indicator below the slider shows how
|
203
|
-
many images the show contains.
|
204
|
-
|
205
|
-
.Single Slide Carousel and a Lightbox
|
206
|
-
carousel::demo_oneslide[role="mb-3"]
|
207
|
-
|
208
|
-
== JustifiedGallery
|
209
|
-
|
210
|
-
JustifiedGallery is a great jQuery plugin to create responsive, infinite,
|
211
|
-
and high-quality justified image galleries. J1 Template combines the Gallery
|
212
|
-
with the lightboxes supported to enlarge the images of a gallery.
|
213
|
-
|
214
|
-
See JustifiedGallery in action - and for sure, all that you see is even
|
215
|
-
responsive. Change the size of your current browser window, by width or height,
|
216
|
-
to see what will happen!
|
217
|
-
|
218
|
-
Pictures you've made are typically not even in size. Images may have the
|
219
|
-
same size (resolution), but some are orientated landscapes, or others
|
220
|
-
may be portraits. For that reason, a more powerful gallery is needed to create
|
221
|
-
so-called justified views.
|
222
|
-
|
223
|
-
JustifiedGallery uses a so-called masonry grid layout. It works by
|
224
|
-
placing elements in an optimal position based on available horizontal and
|
225
|
-
vertical space. Sort of like mason fitting stones in a wall. You'll have
|
226
|
-
seen it in use all over the Internet!
|
227
|
-
|
228
|
-
.Masonry grid layout of JustifiedGallery
|
229
|
-
gallery::jg_customizer[]
|
230
|
-
|
231
|
-
== What next
|
232
|
-
|
233
|
-
Hopefully, you've enjoyed exploring the possibilities J1 offers for managing
|
234
|
-
and displaying digital image content. But much, much more can the J1 do for
|
235
|
-
your web.
|
236
|
-
|
237
|
-
Incredible? See the next example page link:{url-roundtrip--present-videos}[Present videos].
|