Gridzy.Gallery
JavaScript Library
Aju´ mas tb´anil n-b´inchb´en ti´j tilb´ilal o tz´el nnik´e ti´j. ¡Te mankb´il at jun xjal n-el tniky´ ti´j tza´n tten tu´n tb´ant jlu toj tumel!
Milo Persic – jun ajb´el te ja te u´jb´il

jun rat t-xnaq´tzb´il
1 minut xnaq´tzb´il te video
Tz´elx tniky´a ti´j jlu noq toj jun minut:
t-xilen t-xilen
Tb´inchb´en
Filtros
T-kayb´ajtz





Estilos de subtítulos
Aye estilos te subtítulos predefinidos tun t-xi b´inchet junjun tzaqpib´l
Q´onk t-xaq kyi´j tilb´ilal tun t-xi tka´yina aju´ t-xilen t-xaq u´j. B´inchama tuk´e aye botones extzen aye selectores de colores tun t-xi t-ximana aju´ estilo n-chi yek´unte.
Etiquetas & Filtros
tun t-xi yek´un kye tilb´ilal toj jun tten mas b´incha´n
A t-xim te filtro n-okx toj t-xmilal jun xjal nimxix t-xilen. A t-xilen qa aye selectores CSS n-chi ajb´en te t-xilen t-xilen t-xilen t-xilen tkyaqil t-xilen t-xilen.











nimxix t-xilen
N-ku tz´ajb´en tuk´e nimku Lightboxes
Q´onk tmojb´a´na aju´ galería tuk´e junjen lightbox. A probabilidad qa n-ok tmojb´an tib´ tuk´il ch´ixmi 100%. Q´onk t-xaq u´j kyi´j tilb´ilal tun t-xi tka´yina aju´ lightbox PhotoSwipe tza´n jun techlal.
At junjun tqanil toj blog tuk´e junjun t-xaq u´j b´incha´n:
nimxix t-xilen





B´inchama junjen estilos personalizados
Qa b´i´n t-ximana ti´j CSS, b´a´n tu´n t-xi t-ximana kyi´j ti´chaq toj galería tza´n t-ximana.
CSS te yek´b´il:
/* CSS class: "gridzySkin-custom-sepia" */
@property --gridzySkin-custom-sepia--filter-sepia {
initial-value: 1;
inherits: true;
syntax: "<number>";
}
@property --gridzySkin-custom-sepia--filter-contrast {
initial-value: 1;
inherits: true;
syntax: "<number>";
}
.gridzySkin-custom-sepia > .gridzyItem {
position: relative;
overflow: unset;
margin: -10px;
border: 10px solid #fff;
box-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
border-radius: 10px;
}
.gridzySkin-custom-sepia > .gridzyItem *:not(.gridzyCaption) {
display: inline;
}
.gridzySkin-custom-sepia > .gridzyItem .gridzyCaption * {
display: initial;
}
.gridzySkin-custom-sepia > .gridzyItem:nth-child(4n) {
transform: rotate(-1deg);
}
.gridzySkin-custom-sepia > .gridzyItem:nth-child(4n+1) {
transform: rotate(-.5deg);
}
.gridzySkin-custom-sepia > .gridzyItem:nth-child(4n+2) {
transform: rotate(1deg);
}
.gridzySkin-custom-sepia > .gridzyItem:nth-child(4n+3) {
transform: rotate(.5deg);
}
.gridzySkin-custom-sepia .gridzyImage {
position: relative;
vertical-align: middle;
border-radius: 3px;
--gridzySkin-custom-sepia--filter-sepia: 1;
--gridzySkin-custom-sepia--filter-contrast: .7;
filter: sepia(var(--gridzySkin-custom-sepia--filter-sepia)) contrast(var(--gridzySkin-custom-sepia--filter-contrast));
transition: --gridzySkin-custom-sepia--filter-sepia .6s, --gridzySkin-custom-sepia--filter-contrast .6s;
}
.gridzySkin-custom-sepia > .gridzyItem:hover .gridzyImage {
--gridzySkin-custom-sepia--filter-sepia: 0;
--gridzySkin-custom-sepia--filter-contrast: 1;
}
.gridzySkin-custom-sepia .gridzyCaption {
margin: 0;
padding: .5em;
position: absolute;
z-index: 1;
bottom: -.5em;
top: auto;
width: auto;
max-width: calc(100% - 2em);
height: fit-content;
max-height: 100%;
overflow: auto;
box-sizing: border-box;
background: rgba(238, 238, 238, .8);
color: #000;
box-shadow: 1px 1px 3px rgba(0, 0, 0, .3);
opacity: 0;
transition: opacity .3s;
}
.gridzySkin-custom-sepia > .gridzyItem:nth-child(3n) .gridzyCaption {
transform: translateX(1000px) translateX(-50%) rotate(3deg);
}
.gridzySkin-custom-sepia > .gridzyItem:nth-child(3n+1) .gridzyCaption {
transform: translateX(1000px) translateX(-50%) rotate(-3deg);
}
.gridzySkin-custom-sepia > .gridzyItem:nth-child(3n+2) .gridzyCaption {
transform: translateX(1000px) translateX(-50%) rotate(-1deg);
}
.gridzySkin-custom-sepia > .gridzyItem:nth-child(5n) .gridzyCaption {
left: calc(50% - 1000px);
}
.gridzySkin-custom-sepia > .gridzyItem:nth-child(5n+1) .gridzyCaption {
left: calc(54% - 1000px);
}
.gridzySkin-custom-sepia > .gridzyItem:nth-child(5n+2) .gridzyCaption {
left: calc(46% - 1000px);
}
.gridzySkin-custom-sepia > .gridzyItem:nth-child(5n+3) .gridzyCaption {
left: calc(52% - 1000px);
}
.gridzySkin-custom-sepia > .gridzyItem:nth-child(5n+4) .gridzyCaption {
left: calc(48% - 1000px);
}
.gridzySkin-custom-sepia > .gridzyItem:hover .gridzyCaption {
opacity: 1;
}B´a´n tu´n tajb´en alkyexku HTML
B´a´n t-xi t-ximana noq alkyexku HTML. Noq ch´in kyb´aj t-xilen. Aye techel n-chi yek´un tzalu kykab´il n-chi tzaj kyq´o´n junx ky-b´inchb´en.
techel 1:
<ul class="gridzy gridzySkinClassic">
<li>
<a href="https://www.example.com/">
<img class="gridzyImage" src="https://www.example.com/image1.jpg" />
<span class="gridzyCaption">example caption 1</span>
</a>
</li>
<li>
<a href="https://www.example.com/">
<img class="gridzyImage" src="https://www.example.com/image2.jpg" />
<span class="gridzyCaption">example caption 2</span>
</a>
</li>
...
</ul>techel 2:
<section class="gridzy gridzySkinClassic">
<figure>
<img class="gridzyImage" src="https://www.example.com/image1.jpg" />
<figcaption class="gridzyCaption">example caption 1</figcaption>
</figure>
<figure>
<img class="gridzyImage" src="https://www.example.com/image2.jpg" />
<figcaption class="gridzyCaption">example caption 2</figcaption>
</figure>
...
</section>Mastl t-xilen t-xilen
Lazy Loading
N-chi tzaj t-xo´n qe tilb´ilal n-chi tka´yina mas jurat
A jlu n-chi tzaj t-xo´n noq aye tilb´ilal n-chi tzaj ttxlaj t-xmilal n-chi b´inchet. Iktzun tten mas ancho de banda kye tilb´ilal n-chi yek´un.
API
N-tzaj tqona tun t-b´inchena nim ti´chaq
A jlu n-tzaj tqona tun t-xi tq´o´na ex tun t-xi t-xo´na tilb´ilal toj jun programa, tun t-xi tch´expu´na junjun opciones moqa tun t-xi t-ximana ti´j junjun ti´chaq.
Extensiones
N-tzaj tqona junjen tzaqpib´il te junjun t-xilen
Atzun jun k´loj u´j te blog n-chi ch´iy toj amb´il extzen at junjun t-xaq u´j te onb´il tun t-xi t-ximan Gridzy.Gallery .
Ajb´el ti´j u´jb´il
¡Qo tzyet aq´untl!
¡Q´onka twitza ti´j botón tun t-xi tka´yina aye planes!