<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Gallery on Theta Nil's Blog</title><link>https://thetanil.sneks.ai/tags/gallery/</link><description>Recent content in Gallery on Theta Nil's Blog</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 26 Jan 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://thetanil.sneks.ai/tags/gallery/index.xml" rel="self" type="application/rss+xml"/><item><title>Image Gallery</title><link>https://thetanil.sneks.ai/p/image-gallery/</link><pubDate>Mon, 26 Jan 2026 00:00:00 +0000</pubDate><guid>https://thetanil.sneks.ai/p/image-gallery/</guid><description>&lt;img src="https://thetanil.sneks.ai/p/image-gallery/helena-hertz-wWZzXlDpMog-unsplash.jpg" alt="Featured image of post Image Gallery" /&gt;&lt;p&gt;Stack theme has a built-in support for image galleries. It allows you to create a beautiful gallery by simply placing multiple images side-by-side.&lt;/p&gt;
&lt;h2 id="sample-gallery"&gt;Sample Gallery
&lt;/h2&gt;&lt;p&gt;&lt;img alt="Photo by Florian Klauer on Unsplash" class="gallery-image" data-flex-basis="160px" data-flex-grow="66" height="1000" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://thetanil.sneks.ai/p/image-gallery/florian-klauer-nptLmg6jqDo-unsplash.jpg" width="667"&gt; &lt;img alt="Photo by Luca Bravo on Unsplash" class="gallery-image" data-flex-basis="359px" data-flex-grow="149" height="667" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://thetanil.sneks.ai/p/image-gallery/luca-bravo-alS7ewQ41M8-unsplash.jpg" srcset="https://thetanil.sneks.ai/p/image-gallery/luca-bravo-alS7ewQ41M8-unsplash_hu_33106cec50e27d6d.jpg 800w, https://thetanil.sneks.ai/p/image-gallery/luca-bravo-alS7ewQ41M8-unsplash.jpg 1000w" width="1000"&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Photo by Helena Hertz on Unsplash" class="gallery-image" data-flex-basis="320px" data-flex-grow="133" height="750" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://thetanil.sneks.ai/p/image-gallery/helena-hertz-wWZzXlDpMog-unsplash.jpg" srcset="https://thetanil.sneks.ai/p/image-gallery/helena-hertz-wWZzXlDpMog-unsplash_hu_6c237bc498d55aea.jpg 800w, https://thetanil.sneks.ai/p/image-gallery/helena-hertz-wWZzXlDpMog-unsplash.jpg 1000w" width="1000"&gt; &lt;img alt="Photo by Hudai Gayiran on Unsplash" class="gallery-image" data-flex-basis="160px" data-flex-grow="66" height="1000" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://thetanil.sneks.ai/p/image-gallery/hudai-gayiran-3Od_VKcDEAA-unsplash.jpg" width="667"&gt;&lt;/p&gt;
&lt;h2 id="how-it-works"&gt;How it works
&lt;/h2&gt;&lt;p&gt;The gallery is powered by &lt;strong&gt;Photoswipe&lt;/strong&gt; and a custom internal script. It automatically calculates the best layout for your images based on their aspect ratios.&lt;/p&gt;
&lt;p&gt;To create a gallery, you just need to put multiple images in the same line (or paragraph).&lt;/p&gt;
&lt;h3 id="syntax"&gt;Syntax
&lt;/h3&gt;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1
&lt;/span&gt;&lt;span class="lnt"&gt;2
&lt;/span&gt;&lt;span class="lnt"&gt;3
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;![&lt;span class="nt"&gt;Image 1&lt;/span&gt;](&lt;span class="na"&gt;image1.jpg&lt;/span&gt;) ![&lt;span class="nt"&gt;Image 2&lt;/span&gt;](&lt;span class="na"&gt;image2.jpg&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;![&lt;span class="nt"&gt;Image 3&lt;/span&gt;](&lt;span class="na"&gt;image3.jpg&lt;/span&gt;) ![&lt;span class="nt"&gt;Image 4&lt;/span&gt;](&lt;span class="na"&gt;image4.jpg&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
 &lt;blockquote&gt;
 &lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: There should be two spaces between the images to ensure they stay in the same line in Markdown&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;hr&gt;
&lt;p&gt;Gallery Syntax inspired by &lt;a class="link" href="https://typlog.com/" target="_blank" rel="noopener"
 &gt;Typlog&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>