<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Photo Galleries on Old Mamalahoa</title>
		<link>https://oldmamalahoa.com/galleries/</link>
		<description>Recent content in Photo Galleries on Old Mamalahoa</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<atom:link href="https://oldmamalahoa.com/galleries/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Old Mamalahoa</title>
				<link>https://oldmamalahoa.com/galleries/oldmamalahoa_com/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://oldmamalahoa.com/galleries/oldmamalahoa_com/</guid>
				<description>&lt;p&gt;Photos of the Old Mamalahoa Highway on the Hāmākua coast of Hawaiʻi Island. Recent photos are shown in full; older ones are thinned out so the page stays quick to load.&lt;/p&gt;&#xA;&lt;div class=&#34;gallery-wrapper&#34;&gt;&#xA;&#xA;&lt;ul id=&#34;gallery&#34;&gt;&lt;li data-width=&#34;4590&#34; data-height=&#34;3060&#34;&gt;&#xA;    &lt;a href=&#34;https://oldmamalahoa.com/photo/2026-06-29-102_PANA-P1020136/&#34;&gt;&lt;img src=&#34;https://oldmamalahoa.com/pics/small/2026-06-29-102_PANA-P1020136.jpg&#34; alt=&#34;Gallery image&#34; loading=&#34;lazy&#34;&gt;&lt;/a&gt;&#xA;  &lt;/li&gt;&lt;li data-width=&#34;4590&#34; data-height=&#34;3060&#34;&gt;&#xA;    &lt;a href=&#34;https://oldmamalahoa.com/photo/2026-06-29-102_PANA-P1020111/&#34;&gt;&lt;img src=&#34;https://oldmamalahoa.com/pics/small/2026-06-29-102_PANA-P1020111.jpg&#34; alt=&#34;Gallery image&#34; loading=&#34;lazy&#34;&gt;&lt;/a&gt;&#xA;  &lt;/li&gt;&lt;li data-width=&#34;3060&#34; data-height=&#34;4590&#34;&gt;&#xA;    &lt;a href=&#34;https://oldmamalahoa.com/photo/2026-06-29-102_PANA-P1020056/&#34;&gt;&lt;img src=&#34;https://oldmamalahoa.com/pics/small/2026-06-29-102_PANA-P1020056.jpg&#34; alt=&#34;Gallery image&#34; loading=&#34;lazy&#34;&gt;&lt;/a&gt;&#xA;  &lt;/li&gt;&lt;li data-width=&#34;3060&#34; data-height=&#34;4590&#34;&gt;&#xA;    &lt;a href=&#34;https://oldmamalahoa.com/photo/2026-06-29-102_PANA-P1020013/&#34;&gt;&lt;img src=&#34;https://oldmamalahoa.com/pics/small/2026-06-29-102_PANA-P1020013.jpg&#34; alt=&#34;Gallery image&#34; loading=&#34;lazy&#34;&gt;&lt;/a&gt;&#xA;  &lt;/li&gt;&lt;li data-width=&#34;3060&#34; data-height=&#34;4590&#34;&gt;&#xA;    &lt;a href=&#34;https://oldmamalahoa.com/photo/2026-06-29-101_PANA-P1010997/&#34;&gt;&lt;img src=&#34;https://oldmamalahoa.com/pics/small/2026-06-29-101_PANA-P1010997.jpg&#34; alt=&#34;Gallery image&#34; loading=&#34;lazy&#34;&gt;&lt;/a&gt;&#xA;  &lt;/li&gt;&lt;li data-width=&#34;4023&#34; data-height=&#34;2682&#34;&gt;&#xA;    &lt;a href=&#34;https://oldmamalahoa.com/photo/2026-06-29-101_PANA-P1010965/&#34;&gt;&lt;img src=&#34;https://oldmamalahoa.com/pics/small/2026-06-29-101_PANA-P1010965.jpg&#34; alt=&#34;Gallery image&#34; loading=&#34;lazy&#34;&gt;&lt;/a&gt;&#xA;  &lt;/li&gt;&lt;li data-width=&#34;3546&#34; data-height=&#34;2364&#34;&gt;&#xA;    &lt;a href=&#34;https://oldmamalahoa.com/photo/2026-06-29-101_PANA-P1010953/&#34;&gt;&lt;img src=&#34;https://oldmamalahoa.com/pics/small/2026-06-29-101_PANA-P1010953.jpg&#34; alt=&#34;Gallery image&#34; loading=&#34;lazy&#34;&gt;&lt;/a&gt;&#xA;  &lt;/li&gt;&lt;/ul&gt;&lt;style&gt;&#xA;  #gallery {&#xA;    position: relative;&#xA;    list-style: none;&#xA;    width: 100%;&#xA;    margin: 0;&#xA;    padding: 0;&#xA;  }&#xA;  &#xA;  #gallery li {&#xA;    position: absolute;&#xA;    overflow: hidden;&#xA;    background: #f9f9f9;&#xA;    border: 1px solid #e0e0e0;&#xA;  }&#xA;  &#xA;  #gallery img {&#xA;    width: 100%;&#xA;    height: 100%;&#xA;    display: block;&#xA;    object-fit: contain;&#xA;  }&#xA;&#xA;  .gallery-load-more-wrapper {&#xA;    text-align: center;&#xA;    margin: 1.5em 0;&#xA;  }&#xA;&#xA;  .gallery-load-more {&#xA;    display: inline-block;&#xA;    padding: 0.5em 1.2em;&#xA;    border: 1px solid #999;&#xA;    border-radius: 4px;&#xA;    background: #f0f0f0;&#xA;    color: inherit;&#xA;    font: inherit;&#xA;    cursor: pointer;&#xA;  }&#xA;&#xA;  .gallery-load-more:hover {&#xA;    background: #e0e0e0;&#xA;  }&#xA;&lt;/style&gt;&#xA;&#xA;&lt;script src=&#34;https://oldmamalahoa.com/js/justified-layout.js&#34;&gt;&lt;/script&gt;&#xA;&lt;script&gt;&#xA;  function layoutGallery() {&#xA;    const gallery = document.getElementById(&#39;gallery&#39;);&#xA;    if (!gallery) return;&#xA;    &#xA;    const items = [];&#xA;    gallery.querySelectorAll(&#39;li&#39;).forEach((li) =&gt; {&#xA;      const width = parseInt(li.dataset.width) || 1200;&#xA;      const height = parseInt(li.dataset.height) || 800;&#xA;      items.push({ width, height });&#xA;    });&#xA;    &#xA;    if (items.length === 0) return;&#xA;    &#xA;    &#xA;    const parentElement = gallery.parentElement;&#xA;    const styles = window.getComputedStyle(parentElement);&#xA;    const paddingLeft = parseFloat(styles.paddingLeft) || 0;&#xA;    const paddingRight = parseFloat(styles.paddingRight) || 0;&#xA;    const containerWidth = parentElement.offsetWidth - paddingLeft - paddingRight;&#xA;    &#xA;    try {&#xA;      const justifiedLayout = require(&#39;justified-layout&#39;);&#xA;      const layout = justifiedLayout(items, {&#xA;        containerWidth: containerWidth,&#xA;        containerPadding: 10,&#xA;        boxSpacing: {&#xA;          horizontal: 10,&#xA;          vertical: 10&#xA;        },&#xA;        targetRowHeight: 300,&#xA;        targetRowHeightTolerance: 0.5,&#xA;      });&#xA;      &#xA;      gallery.style.height = layout.containerHeight + &#39;px&#39;;&#xA;      const lis = gallery.querySelectorAll(&#39;li&#39;);&#xA;      layout.boxes.forEach((box, index) =&gt; {&#xA;        if (lis[index]) {&#xA;          lis[index].style.width = box.width + &#39;px&#39;;&#xA;          lis[index].style.height = box.height + &#39;px&#39;;&#xA;          lis[index].style.left = box.left + &#39;px&#39;;&#xA;          lis[index].style.top = box.top + &#39;px&#39;;&#xA;        }&#xA;      });&#xA;    } catch (e) {&#xA;      console.error(&#39;Gallery layout error:&#39;, e);&#xA;    }&#xA;  }&#xA;  &#xA;  window.addEventListener(&#39;load&#39;, layoutGallery);&#xA;  &#xA;  let resizeTimeout;&#xA;  window.addEventListener(&#39;resize&#39;, () =&gt; {&#xA;    clearTimeout(resizeTimeout);&#xA;    resizeTimeout = setTimeout(layoutGallery, 250);&#xA;  });&#xA;  &#xA;  setTimeout(layoutGallery, 100);&#xA;&#xA;  &#xA;  &#xA;  &#xA;  document.querySelectorAll(&#39;.gallery-load-more&#39;).forEach((btn) =&gt; {&#xA;    const template = document.getElementById(btn.dataset.target);&#xA;    if (!template) return;&#xA;    const count = parseInt(btn.dataset.count, 10) || 0;&#xA;    btn.textContent = count === 1 ? &#39;Load 1 more image&#39; : (&#39;Load &#39; + count + &#39; more images&#39;);&#xA;    btn.style.display = &#39;&#39;;&#xA;    btn.addEventListener(&#39;click&#39;, () =&gt; {&#xA;      const gallery = document.getElementById(&#39;gallery&#39;);&#xA;      if (gallery &amp;&amp; template.content) {&#xA;        gallery.appendChild(template.content.cloneNode(true));&#xA;      }&#xA;      btn.remove();&#xA;      template.remove();&#xA;      layoutGallery();&#xA;    });&#xA;  });&#xA;&lt;/script&gt;&#xA;&#xA;&lt;/div&gt;</description>
			</item>
	</channel>
</rss>
