Gridzy.Gallery
जावास्क्रिप्ट लाइब्रेरी के बा
सबसे अद्भुत फोटो अनुभव हमरा मिलल बा। अंत में केहू समझ गईल बा कि इ काम सही तरीका से कईसे कईल जाला!
मिलो पर्सिक – लाइब्रेरी के एगो उपयोगकर्ता

त्वरित अंतर्दृष्टि के बारे में बतावल गइल बा
1 मिनट के वीडियो ट्यूटोरियल के बा
बस एक मिनट में ई बात जान लीं:
बेसिक प्रयोग के बारे में बतावल गइल बा
कॉन्फ़िगरेशन के बारे में बतावल गइल बा
फिल्टर कइल जाला
भेख





कैप्शन स्टाइल के बारे में बतावल गइल बा
आसान त्वरित समाधान खातिर पहिले से परिभाषित कैप्शन शैली
कॉन्फ़िगर कैप्शन शैली देखे खातिर छवि सभ के होवर करीं। देखावल गइल बिल्ट-इन स्टाइल के कॉन्फ़िगर करे खातिर बटन आ रंग पिकर के साथ खेलीं।
टैग आ फिल्टर के बारे में बतावल गइल बा
आपन छवि के अउरी संरचित तरीका से देखावे खातिर
बिल्ट-इन फिल्टर सिस्टम बेहद लचीला बा। ई तथ्य कि CSS चयनकर्ता सभ के इस्तेमाल फिल्टरिंग खातिर होला, वास्तव में लगभग कौनों भी प्रकार के फिल्टर के सक्षम बनावे ला।











बेहद संगत बा
कई गो लाइटबॉक्स के साथ उपयोगी बा
गैलरी के कवनो लाइटबॉक्स के संगे मिला लीं। एकर संगत होखे के संभावना लगभग 100% बा। उदाहरण के रूप में फोटोस्वाइप लाइटबॉक्स देखे खातिर छवि सभ पर क्लिक करीं।
रेडीमेड कोड स्निपेट वाला ब्लॉग लेख बाड़ें:
बेहद लचीलापन के बा





कस्टम स्टाइल बनाईं
अगर रउआँ CSS से परिचित बानी त गैलरी के आइटम सभ के अपना मन मुताबिक स्टाइल क सकत बानी।
देखावल गइल उदाहरण के सीएसएस:
/* 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;
}कवनो एचटीएमएल के इस्तेमाल करीं
रउआँ लगभग कवनो एचटीएमएल के इस्तेमाल कर सकेनी। बस बहुत कम प्रतिबंध बा। इहाँ देखावल उदाहरण दुनो एकही दृश्य परिणाम देवेला।
उदाहरण 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>उदाहरण 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>अउरी उपयोगी फीचर बा
आलसी लोड हो रहल बा
राउर देखल छवि के तेजी से लोड करेला
एह से खाली ऊ छवि लोड होला जे लउके वाला इलाका के नजदीक होखे। त लउके वाला छवि खातिर अधिका बैंडविड्थ.
एपीआई के बा
रउरा के अउरी बहुत कुछ करे के अनुमति देला
एह से प्रोग्रामेटिक तरीका से छवि जोड़ल आ हटावल जा सकेला, विकल्प बदलल जा सकेला भा घटना पर प्रतिक्रिया दिहल जा सकेला.
विस्तार दिहल गइल बा
रउरा के अलग-अलग परिदृश्य खातिर समाधान उपलब्ध करावेला
ई ब्लॉग लेख सभ के संग्रह हवे जे समय के साथ बढ़े ला आ सहायक कोड स्निपेट सभ के सामिल कइल जाला जेह से आसानी से Gridzy.Gallery बिस्तार कइल जा सके ला।
लाइब्रेरी के बारे में उपयोगकर्ता
चलीं, कारोबार में उतरल जाव!
योजना देखे खातिर बटन पर क्लिक करीं!