Gridzy.Gallery
JavaSkript ni bijap nok
Joto ni sai uanamasingcha photo no ang nukmani. Finally khoroksa swk bujikha bahai khe RIGHT khwlaiwi mano!
Milo persik – swijak koktwma nokni swnamnai khoroksa

Dakti nukmung
1 minit ni vidio phwrwngmung
Obo minit ni bisingo simi sidi:
Buini swnammung
swnammani
philter
Nukjakmani





koktwma swimani style
Kwplaisa dakti samungni bagwi swkangni simi saimanjak koktwma style
Swnamjak koktwma style no nukna bagwi mangpili no hover khai di. Pholajak swnamjak style no swnamna bagwi button tei rang tubunai rok bai khelaidi.
Tag tei philtar
Nini mangpili no teibo kaham khe phunukna bagwi
Built-o tongnai philter system belai kheno kwchak. CSS selectors no filter khwlaina bagwi swnamjakmani kok kubui khe jesa phano filter khwlaiwi mano.











belai kheno kwthalaijak
Kwbangma lightbox bai swnamwi mano
Gallery no jesa phano light bai khe chapdi. Aboni probability wngkha 100% ni simi. PhotoSwipe ni lightbox no nukna bagwi pic rok no click khai di.
Tiyar-snamjak code ni koktwma bai blog ni koktwma tongo:
belai kheno swlaijak





Khatungmani style swnamdi
CSS no saimankhe, nwng gallery ni manwi rok no nwng muchungma hai style khwlaiwi mano.
CSS phunukjakmani udhahoron:
/* 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;
}HTML ni jesa phano use khaidi
Nwng jesa HTML no phano use khwlaiwi mano. Aboni bagwino belai kheno restriction tongo. O jagao phunukjakmani udhahoronrok khoroknwi’-no kaisa nukjakmani result tubuo.
Udhahoron 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>Udhahoron 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>Teibo nangkukma manwirok
Load khaimani
Nini naijak mangpili no dakti load khai di
Obo nukjaknai jaga bai gana tongnai image rokno simi load khlaio. Hakhe nukjaknai pic ni bagwi bandwidth kwbang.
API
Nwng teibo kwbangma samung tangnani chubachu khlaio
Omo bai nwng program bai khe mangpilirokno swlaiwi tei swlaiwi mano, options swlaiwi mano eba wngmarokno swlaiwi mano.
Kwplaisa
Khoroksa khoroksani tongmungni bagwi nwngno swnammung rwnai
O blog ni koktwmarokni thummung wngkha, abo jora bai jora torwi thango tei Gridzy.Gallery bisingo chubachu wngnai code snippets tongo.
Library ni kok
Business ni thani thwnglai anw!
Plans rok no naina bagwi button no click khai di!