<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cascading masonry gallery styling]]></title><description><![CDATA[<p dir="auto">Wanting to create an image gallery that uses the full (or close to full) height of each image into a vertical cascading gallery, similar to how Pinterest lays out its images. At the moment the Oncord gallery defaults to square images, and I can't work out how to alter this.</p>
]]></description><link>https://community.oncord.com/topic/18/cascading-masonry-gallery-styling</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 04:59:58 GMT</lastBuildDate><atom:link href="https://community.oncord.com/topic/18.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 May 2024 02:04:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cascading masonry gallery styling on Fri, 24 May 2024 00:29:07 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Scott ... your answer would help explain the lack of straightforward solutions out there on the web!</p>
<p dir="auto">Glad to hear you're looking at implementing it once the standards are established. <img src="https://community.oncord.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=952e9534089" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://community.oncord.com/post/46</link><guid isPermaLink="true">https://community.oncord.com/post/46</guid><dc:creator><![CDATA[Ben]]></dc:creator><pubDate>Fri, 24 May 2024 00:29:07 GMT</pubDate></item><item><title><![CDATA[Reply to Cascading masonry gallery styling on Thu, 23 May 2024 07:27:42 GMT]]></title><description><![CDATA[<p dir="auto">Hey Ben,</p>
<p dir="auto">Currently we've been holding off implementing this until there is greater CSS support amongst browsers for masonry layouts.<br />
But unfortunately, there has been politics in the browser space as to how this will be implemented.  A debate that has gone on for years now.</p>
<p dir="auto">Safari and Firefox have implemented a version which hangs off 'CSS grid' using <code>grid-template-rows: masonry;</code><br />
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Masonry_layout" rel="nofollow ugc">https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Masonry_layout</a></p>
<p dir="auto">Chrome wants to implement the same feature using <code>display: masonry</code>.<br />
<a href="https://developer.chrome.com/blog/masonry" rel="nofollow ugc">https://developer.chrome.com/blog/masonry</a></p>
<p dir="auto">Another reference:<br />
<a href="https://webkit.org/blog/15269/help-us-invent-masonry-layouts-for-css-grid-level-3/#the-debate" rel="nofollow ugc">https://webkit.org/blog/15269/help-us-invent-masonry-layouts-for-css-grid-level-3/#the-debate</a></p>
<p dir="auto">Once it is implemented in a stable manner across browsers, we will add support to the native gallery for it.<br />
Until then, Oncord's gallery won't support masonry layouts and you would need to use an external JS solution for it.</p>
]]></description><link>https://community.oncord.com/post/45</link><guid isPermaLink="true">https://community.oncord.com/post/45</guid><dc:creator><![CDATA[scott_mcnaught]]></dc:creator><pubDate>Thu, 23 May 2024 07:27:42 GMT</pubDate></item><item><title><![CDATA[Reply to Cascading masonry gallery styling on Thu, 23 May 2024 02:10:37 GMT]]></title><description><![CDATA[<p dir="auto">Masonry might be the actual term for the gallery style.</p>
]]></description><link>https://community.oncord.com/post/44</link><guid isPermaLink="true">https://community.oncord.com/post/44</guid><dc:creator><![CDATA[Ben]]></dc:creator><pubDate>Thu, 23 May 2024 02:10:37 GMT</pubDate></item></channel></rss>