Gallery marquee frames, Pattern Paste Canonical: https://patternpaste.com/pattern/gallery-marquee-frames.html Interactive (https://patternpaste.com/interactive/) Marquee (https://patternpaste.com/interactive/marquee/) Catalogue access Needs plugin (https://patternpaste.com/docs/install-pattern-paste/) # Gallery marquee frames Two rows of framed pictures running opposite ways past a band of two 300px rows, with the pointer driving them: the left of the frame runs them backwards, the middle holds them still so a picture can be read, and the right hurries them along. Sixteen picture plates dealt eight to a row, every one the same landscape slot whatever you upload, and both edges of the band dissolved so pictures arrive and leave rather than being cut. Includes replaceable example images. Needs the companion plugin, which comes with your access; without it, or without motion, the heading is followed by the sixteen pictures as a plain stack. States no colour and no font of its own. Start here ## What you change first - The pictures. Select the block and use "Fill items from media library" in its toolbar: pick sixteen at once and they are dealt into the items in order. - The room names. Each is an h3 inside its item. - The heading and the lede. The lede says out loud what the pointer does, because a control nobody knows about is a control nobody uses. - The row height (Item height) if your pictures want more room: the band follows it, so there is one number rather than two. - Top speed and Still band if the control feels too eager or too dead. The signature moment ## The reader takes hold of the band Every other gallery in the catalogue waits to be read. This one is a control. Move the pointer into the left of the band and the pictures run backwards; hold it in the middle and they stop, so a room can actually be looked at; push it right and they hurry through at two and a half times their own speed. The two rows run opposite ways the whole time, so the band never reads as one moving block, and letting go glides it back to its resting speed rather than snapping. Theme handoff ## What comes from where ### From your theme Everything you can see. The band's ground is your section's ground, the plates behind the pictures are your own text colour mixed down to seven per cent, the hairline round each one is the same colour at sixteen, and the captions are your theme's face at your theme's weight. The heading, the lede and the eyebrow take your preset sizes. Nothing here states a colour or a family. The eyebrow reaches for role-label and falls back to contrast, so in a theme built by the theme tool it is the label colour that theme derived, and in a stock theme it is your ordinary ink. ### Set by this pattern Each row is 300px, stated rather than fluid, because a picture row whose height follows its content changes height when the theme's line height does, and the band is exactly its two rows plus the gap between them. Every picture takes the same landscape slot, 1.6 times the row height, and fills it with object-fit: cover: a portrait photograph is honestly cropped to a landscape slot rather than making one item twice the width of its neighbours. The gap is 28px and the edges of the band are dissolved, so pictures arrive and leave rather than being cut at a straight line. The mask states no colour, so whatever your section is painted stays visible through it. Sixteen pictures dealt eight to a row. The block copies the run until it is longer than the frame plus one whole cycle, so there is never bare ground in the band, and it takes those copies away again when it stops. Full pattern notes ## Why it works, and how it is built Open a topic for the complete design reasoning, editing guidance and implementation notes. Design rationaleComposition, intent and nearest alternatives ### Overview Two rows of framed pictures running opposite ways past a band of two 300px rows, with the pointer driving them. ### The signature moment: the reader takes hold of the band Every other gallery in the catalogue waits to be read. This one is a control. Move the pointer into the left of the band and the pictures run backwards; hold it in the middle and they stop, so a room can actually be looked at; push it right and they hurry through at two and a half times their own speed. The two rows run opposite ways the whole time, so the band never reads as one moving block, and letting go glides it back to its resting speed rather than snapping. The speed is 0.7, which is slow on purpose: a picture that cannot be recognised before it leaves the frame is a picture nobody looked at. ### Why this is not gallery-spread or gallery-ledger Those two lay pictures out to be studied: a grid and a ruled list, both still, both showing everything at once. This one shows a few at a time and keeps moving, which is the right shape when the pictures are a mood rather than a catalogue, and the wrong one when a reader needs to compare them. If somebody has to find a particular room, give them the grid. It is also not hero-wall-field. That is an isometric plane the page scrolls past; this is flat, horizontal, and driven by the pointer rather than by travel down the page. Make it yoursVariations and the edits to make first ### What you change first - The pictures. Select the block and use "Fill items from media library" in its toolbar: pick sixteen at once and they are dealt into the items in order. A caption you have already written is never overwritten. - The room names. Each is an h3 inside its item. They are headings so a screen reader can list them; if that upsets your page's heading order, change the level rather than the markup. - The heading and the lede. The lede says out loud what the pointer does, because a control nobody knows about is a control nobody uses. If you take that sentence out, take the control out too. - The row height (Item height) if your pictures want more room: the band follows it, so there is one number rather than two. And Speed if 0.7 is too slow for yours. - Top speed and Still band if the control feels too eager or too dead. Top speed is how fast the pointer can drive a row at the frame's edges; Still band is the width of the resting zone in the middle, as a percentage of the frame. Theme behaviourInheritance, fixed decisions and contrast ### What it inherits from your theme Everything you can see. The band's ground is your section's ground, the plates behind the pictures are your own text colour mixed down to seven per cent, the hairline round each one is the same colour at sixteen, and the captions are your theme's face at your theme's weight. The heading, the lede and the eyebrow take your preset sizes. Nothing here states a colour or a family. The eyebrow reaches for role-label and falls back to contrast, so in a theme built by the theme tool it is the label colour that theme derived, and in a stock theme it is your ordinary ink. ### What it decides for itself Each row is 300px, stated rather than fluid, because a picture row whose height follows its content changes height when the theme's line height does, and the band is exactly its two rows plus the gap between them. Every picture takes the same landscape slot, 1.6 times the row height, and fills it with object-fit: cover: a portrait photograph is honestly cropped to a landscape slot rather than making one item twice the width of its neighbours. The gap is 28px and the edges of the band are dissolved, so pictures arrive and leave rather than being cut at a straight line. The mask states no colour, so whatever your section is painted stays visible through it. Sixteen pictures dealt eight to a row. The block copies the run until it is longer than the frame plus one whole cycle, so there is never bare ground in the band, and it takes those copies away again when it stops. Technical notesBlock mechanics, responsive behaviour and constraints ### What needs the plugin The running, the pointer control and the press-to-hold. Everything else is core blocks: with the plugin inactive, or with motion switched off in the block's inspector, the heading and lede are followed by the sixteen pictures as a plain stack, each with its caption. Nothing you typed lives in a block setting, so nothing you typed can disappear. A reader who asks their system for reduced motion always gets the still band. ### Included images The copied markup includes WordPress Photo Directory example photographs. The public image URLs keep the examples visible after pasting. Select an image or cover and choose Replace to use your own Media Library files. See image credits (https://patternpaste.com/image-credits/) for the sources and licenses. Pasting an image URL does not import a Media Library attachment. 18KB of core-block markup, 5 blocks (group, heading, image, paragraph, patternpaste/marquee), and nothing else: paste it into the block editor and it becomes editable blocks wearing your theme. Start free trial to copy (https://patternpaste.com/account/#plan) What you copy is yours forever. Cancel whenever. Back to the library (https://patternpaste.com/patterns/) Catalogue access ### £70 a year Save £50 Or £10 a month All patterns, variations and theme downloads. What you copy is yours forever. Cancel whenever. Start with three days of full access on sign-up, no card. Start free trial (https://patternpaste.com/account/#plan) Sign in (https://patternpaste.com/account/) Everything you copy is yours to keep, forever, on any site; access to the rest of the library runs while you subscribe. Cancel any time; access runs to the end of the period you have paid for, and there is no pro-rata refund. Prices are in pounds and are the full price in the UK, the US and eleven other countries; elsewhere the checkout adds your local VAT or sales tax. The terms name every country. #### Use it for - Hotel, pub and restaurant room galleries - Photography and interiors portfolios - Product ranges shown as a passing run - Venue and property tours - Case study openers that need pictures #### Pair with Hero Hero aperture An opening section on your theme's own paper: a tracked line, a display headline, one short paragraph on a reading measure, and then a picture that stops short of the edge on every side. The signature is the margin: the image is a window cut in the page rather than a band across it, and the paper around it is what you notice. A small opaque plate in the picture's bottom-right corner carries the caption, so no type ever sits on the photograph. The still-image version includes an example photograph; select your own clip for the video version. States no colour and no font of its own. (https://patternpaste.com/pattern/hero-aperture.html)Editorial Article footer The close of an article: a portrait of the author beside their name, the biography under both inside a currentColor slip held to the middle half of the measure, and the previous and the next post hanging off the two outer edges so the section reads as a doorway rather than a footer. The name, the biography and the two neighbours are dynamic core blocks, so they are the post's own and the preview here is sample data; the portrait is an ordinary image block you swap for your author's own. The previous and next links only resolve on a single post template, which is where this pattern belongs. (https://patternpaste.com/pattern/article-footer.html)Contact Contact cover ledger A full-bleed contact cover: a display heading in the top left, and a ruled ledger of address, hours, phone and email in the far lower-right corner, label left and value right between hairline rules, with the photograph running between them. A heavy veil of your theme's contrast colour keeps every line legible whatever photograph you choose. The ledger drops under the heading on a phone. Includes a replaceable example photograph. States no colour and no font of its own. Ships with a short hand-off row on your theme's paper below it. (https://patternpaste.com/pattern/contact-cover-ledger.html) #### Before you paste Install the Pattern Paste plugin first, then paste. This section embeds one of its blocks: the plugin comes with your access, downloads from your account, and takes a minute. Paste without it and the section arrives as a plain stack of your headings, text and images, with none of the motion. How to install it (https://patternpaste.com/docs/install-pattern-paste/). Requires a block theme on WordPress 6.7 to 7.0. Classic themes and page builders are outside our supported setup. Adaptive patterns use the block theme’s colour, spacing and typography presets; styled variations declare their own colours or type. How we test patterns (https://patternpaste.com/how-we-test/) Sample images stay in the copied blocks. Replace them in WordPress; pasting does not upload them to your Media Library. Video variations need your own clip. Image credits (https://patternpaste.com/image-credits/). #### What's inside Blocks group, heading, image, paragraph, patternpaste/marquee Core only NO Chains 42, deepest 3 rungs currentColor no color base, black, contrast, role-label, white spacing 50, 80 Continue exploring ## Next in Interactive Explore all 36 interactive patterns (https://patternpaste.com/interactive/)Also in Gallery (https://patternpaste.com/patterns/gallery/) Shot in Twenty Twenty-Five Footer Footer Needs plugin ### Footer marquee words Three rows of display type running across the foot of the page on your contrast colour, dealt from eighteen short phrases with a drawn mark between them and no plate behind anything, so the words are the whole of the band. 4 blocks Open preview (https://patternpaste.com/pattern/footer-marquee-words.html) Shot in Twenty Twenty-Five Gallery Gallery Needs plugin ### Gallery marquee mounts Twelve pictures hung in drawn frames, running two rows deep past the section with the pointer driving them. 5 blocks Open preview (https://patternpaste.com/pattern/gallery-marquee-mounts.html) Shot in Twenty Twenty-Five Gallery Gallery Needs plugin ### Gallery marquee photos A wall of photographs in motion: a short heading row, then three full-bleed rows of pictures 240px high running in alternate directions with 8px between them and nothing else in the rows, no captions, no cards and no plates. 5 blocks Open preview (https://patternpaste.com/pattern/gallery-marquee-photos.html)