Gridzy.Gallery
Ɣön de kuɛ̈n de Java

Kä juëc ë gɛ̈i ë thura ë yök. Në thökde raan acï deetic lɔn bï yen kën looi RIGHT!

Milo Përsik – raan ë luui në ɣön de kuɛ̈n

Kë ye lac tïŋ

1 minit ë piööc de bidiö

Piööc kënë në minit tökic:

Luɔɔi de käŋ

Tɛ̈u ë käŋ thïn

Kä ye käŋ dhiim

Tɛ̈n yen tiɛ̈m thïn

Miɛt de kööl
Ciɛ̈m kɔc nhiɛɛr keek
Ye rot lajik tënë rot .
Duk nhom määr në miɛt de piɔ̈u
Yök piny

Dhöl de Gät

Kä cï keek lueel wënthɛɛr ke wël cï keek gɔ̈t acän kä kɔ̈c yiic bï keek lac looi

Tääu ë thura nhom ba dhöl de gɛ̈tgɛ̈t cï juiir tïŋ. Puɔl ke buttons ku kä ye kïït kuany bïk dhöl cï nyuɔɔth de yïk-tënë tääu-pïny.

Kä ye keek gɔ̈t & Kä ye keek dhiim

Ku bï thuradu nyuɔɔth në kueer cï juiir

Ajuɛɛr de gël cï yïk thïn ee kë ril yic apɛi. Kë yic lɔn ye CSS kɔc kuany keek luɔ̈ɔ̈i në thëm yic ee thëm de thëm ëbɛ̈n cɔk loi rot.

Ye thöŋ arëët

Luɔɔi Kenë Käjuëc ke Nuur

Tääu ë gäläri ë gɛɛr de lïtböx. Kë lëu bï rot looi ke ye thöŋ ee 100%. Tääu ë thura ë thäät yiic ba thäät ë thäät ë PhotoSwipe tïŋ ke ye kë cït kën.

Anɔŋ wël cï ke gɔ̈t në blog yic nɔŋic wël cï keek gɔ̈t cï keek guiir:

Apɛi ye rɔt waar

Miɛt de kööl
Ciɛ̈m kɔc nhiɛɛr keek
Ye rot lajik tënë rot .
Duk nhom määr në miɛt de piɔ̈u
Yök piny

Loi kä cïke looi

Na yïn aŋic CSS, yïn alëu ba käŋ ë thäät ë thäät ë thäät wïc.

CSS de nyooth cï nyuɔɔth:

/* 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;
}

Luɔ̈ɔ̈i ë gɛɛr de HTML

Yïn alëu ba HTML ëbɛ̈n luɔ̈ɔ̈i. Anɔŋ kä lik apɛi ë gël. Kä ye nyuɔɔth cï ke nyuɔɔth ëtënë aye kä thöŋ ke kä ye tïŋ bɛ̈i.

Cïmën 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>

Nyooth 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>

Käjuëc thiekiic

Lazy Lööding

Tääu ë thuraakuun cïke tïŋ dac

Yen ee thura tɔ̈ thiääk ke të ye tïŋ ëya tääu thïn. Ku ëya dɛ̈t, bandwidth juëc tënë thuraa ye tïŋ.

API

Yïn puɔ̈l ba kä juëc looi

Yen ee yïn puɔ̈l ba thuraai juak thïn ku nyaai keek në ajuɛɛr yic, waar käŋ yiic wala ba kä loi röt looi.

Kä cï juak thïn

Ye yïn gäm kä bï yïn ke yök në kä loi röt në raan tökic

Ee mɛ̈ɛ̈të yic de wël cï gɔ̈t në blog yic ye dït në thɛɛr juëc yiic ku nɔŋic wël ke code kuɔɔny bïk röt lac juak Gridzy.Gallery .

Raan ye luui në kë de Ɣön de Kuɛ̈n

Letku lɔ piny në tajir yic!

Cɔl ë thäät ë thäät ë thäät!