webdevpuneet.com
← All section templates

Gallery & Media Section Templates

3 free, editable gallery & media section templates. Photo galleries with filters and a lightbox, video sections and before-and-after sliders. Change the text, images, colours and fonts in your browser, add a GSAP animation, then export HTML, React or Vue.

Gallery & Media Section Templates

3 sections · Responsive · GSAP animation · HTML, React & Vue

Updated October 20, 2026

About these sections

Gallery & Media Section Templates

Visual proof is often what turns a visitor into a customer: the rooms they will sleep in, the dishes they will eat, the work you did for someone like them. These sections present photos and video in ways that load quickly, work on phones and stay accessible.

Use the Filterable Image Gallery when you have many photos to organise: visitors filter by category and open each photo in a keyboard-friendly viewer. Use the Video Section With Poster for a demo, trailer or customer story that loads only when someone presses play, which keeps the page fast and private. Use the Before & After Slider for results that are easier to see than to describe, such as a renovation, a haircut or a clean.

Every section is editable in your browser: upload images, add alt text, change colours and fonts, and export HTML, a ZIP, React or Vue. For scroll-driven galleries with pinned motion, see the scroll effects sections.

Write descriptive alt text for every photo, use consistent framing and sizes, and keep the number of photos to what a visitor will actually look at. Fewer, better pictures usually beat a long, unfiltered wall.

Filterable Image Gallery: A responsive photo gallery: a heading, optional filter buttons built from each photo’s tag, and a grid of uniform thumbnails that zoom gently on hover with a caption sliding up. Clicking a photo opens a full-screen viewer with next and previous buttons, a caption and a counter; Escape closes it and the arrow keys move between photos.

Video Section with Poster: A video section that stays fast and private: a heading, a 16:9 poster image with a large play button and optional duration, and a row of key points underneath. Nothing from YouTube or Vimeo loads until the visitor presses play; then the player replaces the poster in place. MP4 and WebM files play in the browser’s own player.

Before & After Slider: A results section built around a draggable divider: two photos sit on top of each other and the visitor slides the handle to reveal the before or the after, with Before and After labels in the corners and a caption underneath. It works with the mouse, touch and the arrow keys, and shows a fixed 50% split when JavaScript is off.

Browse other categories

More Section Categories

CategoryWhat it is forSectionsIncludes
HeroAbove-the-fold hero sections with a headline, supporting text, call-to-action buttons and an image, screenshot or background photo.5SaaS Split Hero, Centred Gradient Hero, Image Background Hero, App Product Hero, Personal Portfolio Hero
NavbarResponsive navigation bars with a logo, links and a call-to-action button.3Simple Sticky Navbar, Floating Pill Navbar, Navbar With Announcement Bar
FeaturesFeature grids, alternating image-and-text rows and benefit lists.5Icon Grid Features, Split Features With Image, Bento Grid Features, Alternating Feature Rows, How It Works Steps
PricingPricing tables and plan cards with highlighted plans and feature lists.5Three-Tier Pricing, Dark Glow Pricing, Single Plan Pricing, Pricing List Rows, Pricing Comparison Table
TestimonialsCustomer quotes, review walls and case-study highlights.6Testimonial Wall, Testimonial Carousel, Testimonial Marquee, Testimonial Spotlight, Case Study Showcase, Reviews Summary & Rating
FAQFrequently asked question sections with expandable answers.3FAQ Accordion, Split FAQ With Contact Card, FAQ Grid
Call to actionClosing call-to-action banners and sign-up blocks.4Gradient CTA Banner, Split CTA With Image, Newsletter Signup CTA, CTA Strip
Stats & logosSocial-proof numbers and customer logo strips.3Animated Stats Counters, Scrolling Logo Cloud, Stats With Logos (Dark)
TeamTeam grids with photos, names and roles.4Team Grid, Team Carousel, Interactive Team Accordion, Team With Hiring CTA
About usAbout us and our story sections: a picture, the story, the founder, key facts and company values.1About Us & Our Story
ContactContact sections with details, maps and forms.5Contact Form With Details, Contact Options Cards, Contact With Map, Booking Request Form, Opening Hours & Location
FormsForms for every job: contact, multi-step, quote request, survey, application, RSVP, support, donation, waitlist and code verification, with floating labels, selects, switches, ratings, steppers and file drop areas.13Centered Contact Form, Floating Label Form, Multi-Step Form, Quote Request Form, Feedback Survey Form, Job Application Form, Event RSVP Form, Support Ticket Form, Donation Form, Waitlist Form, Verification Code Form, Profile & Preferences Form, Form With Image
BlogBlog and article grids with cover images.6Blog Post Cards, Featured Post With List, Editorial Post List, Legal & Long-Form Text Page, Blog Post Page (Single Article), Blog Grid with Pagination
Scroll effectsScroll-driven sections built with GSAP: horizontal scroll galleries, pinned scroll stories and stacking cards.6Horizontal Scroll Gallery, Pinned Scroll Story, Stacking Cards, Scroll Path Timeline, 3D Scroll Carousel, Scroll Zoom Image Stack (Ken Burns)
Menus & listingsIndustry sections: restaurant menus with prices, property listings and class timetables.4Restaurant Menu, Property Listings, Product Grid, Class Timetable
MusicSections for bands, artists and labels: a music hero, an audio player with a track list, tour dates with tickets, a discography grid, a release countdown and streaming links.6Music Artist Hero, Audio Player & Track List, Tour Dates & Tickets, Discography Grid, New Release Spotlight, Streaming Links Bar
Login & Sign upLogin and register screens with email and password, social sign-in buttons, show password and a password strength hint.2Login Form (Sign In Page), Register Form (Sign Up Page)
PopupsPopups that open after a delay, on exit intent or on scroll, for sign-ups, offers and announcements.1Popup & Promo Modal
AccessibilityFloating accessibility toolbars that let visitors enlarge text, change contrast, hide images, pause animations and more.1Accessibility Toolbar Widget
Cursor & page effectsPage-wide effects that take no space in the layout: cursor followers that invert what is under them and floating back-to-top buttons.2Cursor Follower (Blend Mode Circle), Back to Top Button
TimelinesTimelines for company history, roadmaps and milestones, laid out along a scrollable line.1Horizontal Timeline
Social shareFloating social share bars that take no space in the layout, with share buttons for the popular networks.1Floating Social Share Bar
FooterWebsite footers with link columns, newsletter sign-up and social links.4Multi-Column Footer, Big Wordmark Footer, Footer With Newsletter, Minimal Footer

Real-world uses

Best Uses for Gallery & media Sections

📷
Photographer portfolios (Filterable Image Gallery)
Group shoots by weddings, portraits and brands, add the location in the caption and let clients browse each category.
🏨
Hotels and venues (Filterable Image Gallery)
Show rooms, the pool, dining and events in one filterable gallery so guests can see exactly what they are booking.
🎬
Product demos (Video Section with Poster)
Put a two-minute walkthrough under your hero, with three key points that sum up what the visitor will see.
🎓
Course trailers (Video Section with Poster)
Show a preview lesson or an instructor introduction on a course page, with the length shown on the play button.
💇
Salons and beauty (Before & After Slider)
Show a cut, colour or treatment result with consent from the client, and add the stylist and the time it took to the caption.
🏠
Renovation and design (Before & After Slider)
Compare a room before and after the work, with a caption listing what changed, the timescale and the materials used.

How it’s different

How These Section Templates Are Different

✎
Editable, not just copyable
Change text, links, images, colours and fonts in the browser before you export, instead of editing someone else’s code by hand.
◐
One theme for every section
Colours, fonts, radius and width are shared CSS variables, so every section you combine looks like one website.
⇲
Responsive by container
Container queries make each section adapt to its own width, in a full page, a column or a page builder.
✦
GSAP animation built in
Every section animates in with GSAP and ScrollTrigger, stays visible without JavaScript and respects reduced motion.
</>
HTML, React and Vue
Export a single HTML file, a ZIP with your images, a React component or a Vue component, or fork the code into My Code.
◍
Free, private, saved
No account and no watermark. Designs, uploaded images and fonts stay in your browser, with a backup file you can restore anywhere.

Step by step

How to Use

  1. 1
    Pick a sectionOpen one of the gallery & media sections above. Your edits autosave in your browser as you go.
  2. 2
    Edit the contentChange the text, buttons, links and images in the panel, and switch optional parts on or off.
  3. 3
    Add your brandPick colours, fonts, radius and width, or apply your saved brand kit; every section shares the same theme.
  4. 4
    Animate and previewChoose a GSAP entrance effect, press Play animation, and check desktop, tablet and mobile.
  5. 5
    ExportDownload HTML or a ZIP, copy a React or Vue component, or fork it into My Code.

Got questions?

Frequently Asked Questions

Open the Filterable Image Gallery, upload your photos, give each a category and alt text, and export the HTML or copy it into your page. Visitors can filter by category and open every photo in a viewer.

Not this one. Only the poster image loads at first. The YouTube or Vimeo player is added when the visitor presses play, so the page stays fast and the video host does not track people who never watch.

Use the same angle, distance and lighting for both photos, so the only difference is the result. Export both at the same size, about 1200 by 800 pixels, and write alt text for each.

Yes. The gallery viewer opens with Enter and closes with Escape, the slider uses a real range input with arrow-key control, and every image has its own alt text field.

Yes. Each section exports as a React component or a Vue single-file component, with the behaviour script included, or as plain HTML.

Filterable Image Gallery: A responsive photo gallery: a heading, optional filter buttons built from each photo’s tag, and a grid of uniform thumbnails that zoom gently on hover with a caption sliding up. Clicking a photo opens a full-screen viewer with next and previous buttons, a caption and a counter; Escape closes it and the arrow keys move between photos. Video Section with Poster: A video section that stays fast and private: a heading, a 16:9 poster image with a large play button and optional duration, and a row of key points underneath. Nothing from YouTube or Vimeo loads until the visitor presses play; then the player replaces the poster in place. MP4 and WebM files play in the browser’s own player. Before & After Slider: A results section built around a draggable divider: two photos sit on top of each other and the visitor slides the handle to reveal the before or the after, with Before and After labels in the corners and a caption underneath. It works with the mouse, touch and the arrow keys, and shows a fixed 50% split when JavaScript is off.

Yes. Every section is free for personal and commercial work, with no account, no watermark and no attribution: export it on its own as HTML, React, Vue or Next.js from its page, or use it in a website you build and export in the Website Builder.