Skip to header Skip to main navigation Skip to main content Skip to footer
Cookies UI
Site branding
Alaa Haddad - Drupal Expert
Consultant • Architect • Developer • Themer - Expert Drupal Solutions
Main navigation
Alaa Haddad Offers Exceptional Drupal Custom Theming and Modules in Austin TX Alaa Haddad - Drupal Expert
  • Professional Profile
  • Drupal Services
    • Drupal Development
    • Drupal Developer
    • Drupal Themer
    • Drupal Architect
    • Drupal Consultant
  • My Drupal Modules & Themes
      • Cloudflare Purge
      • Solo Copy Blocks
      • W3CSS Paragraphs
      • Paragraphs Bundles
      • Acquia Purge Varnish
      • Reference Blocked Users
      • Module Matrix
      • Paragraphs Bundles Import
      • Selectify
      • Solo Utilities
      • Utilikit
      • Solo
      • Amun
      • Anhur
      • Amunet
      • W3CSS Theme
      • 3D Carousel
      • 3D FlipBox
      • Accordion
      • Carousel
      • Hero
      • Lightbox
      • Parallax
      • Reveal
      • Slideshow
      • Tabs
  • Blog
  • Videos
  • Contact
  • Hire Me (opens in new tab)

Views Slideshow (Drupal Module)

Breadcrumbs

Breadcrumb

  • Home
  • Drupal Modules
  • Views Slideshow (Drupal Module)

Main page content

Alaa Haddad, professional Drupal developer based in Austin, TX   Alaa Haddad
  10:43 PM CDT, Sun September 13, 2026
Share

Views Slideshow turns a Drupal View into an accessible, autoplaying slideshow — or a full-width hero banner with overlay content — built in vanilla JavaScript with deep linking and a JavaScript API for custom controls. It is a Views style plugin, machine name vvjs, with no jQuery dependency at all.

Two display modes, one module

Views Slideshow does two distinct jobs depending on how you configure it:

  • Standard slideshow — any number of fields per row, cycling through slides with autoplay, arrows, dots or numbered navigation.
  • Hero slideshow — a full-width banner where the first field is an image or media field and every other field becomes overlay content (heading, text, a button) positioned over the image in one of twelve layouts.

Both modes share the same configuration screen and the same underlying engine, so switching a standard slideshow into a hero banner is a checkbox, not a rebuild.

Requirements

Views Slideshow requirements, from vvjs.info.yml
RequirementValue
Drupal core^11.3 || ^12
PHP8.3+
Core modulesViews, Filter
Contributed dependencyVVJ Core — required by every VVJ v2 module, pulled in automatically by Composer

There is no Drupal 10 support on the 2.x branch. If you need Drupal 10, install the 1.x series; for a path off Drupal 10 entirely, that migration is work I do.

Row structure

Set the row style to Fields. Every view built with this plugin carries the CSS class vvj-slideshow alongside js-view-dom-id. For hero mode, the first field must be an Image or Media field using an image or responsive image formatter — not a plain URL field — and it can be clickable. All remaining fields render as the overlay content. Slides sit in one wrapper element, navigation in another, and indicators (arrows and dots) in a third; the active slide and its matching nav control both receive an active class.

Configuration

Key format settings, from vvjs.schema.yml
SettingControls
Auto-advance timingOff, or an interval between roughly 2 and 15 seconds per slide
NavigationNone, dot indicators, or numbered indicators
ArrowsNone, sides, sides on large screens only, top, or top on large screens only
Slide animationNone, zoom, fade, or slide from top, bottom, left or right
Transition typeWhen animation is off: instant switch, or crossfade — classic, staged, or dynamic — with a duration between 200ms and 2000ms
Show total slides / progress bar / play-pauseIndependent toggles for a "1 of N" counter, an animated progress bar, and a play/pause control
Pause on hover, looping, swipe, keyboardIndependent on/off toggles for each behavior
Start indexWhich slide shows first — useful for staggered layouts with multiple slideshows on one page
Responsive breakpoint576, 768, 992, 1200 or 1400px, controlling layout and "large screens only" arrow behavior
Hero layoutMinimum height, maximum content width, overlay position (12 options), overlay background color and opacity
Enable CSS libraryTurn the shipped stylesheet off for full custom styling

Deep linking to a specific slide

Turn on deep linking and set a URL identifier (for example gallery), and each slide gets a shareable URL fragment such as #gallery-3. A visitor can bookmark a slide, share it directly, or land on it from an external link rather than the first slide every time — useful for portfolio pieces, individual products in a gallery, or a specific step in an educational sequence.

JavaScript API

Every instance is reachable through Drupal.vvjs by its deep-link identifier, so you can drive a slideshow from a separate thumbnail view, an external control, or an analytics hook without touching the module's internals:

Drupal.vvjs.goToSlide('gallery', 3);
Drupal.vvjs.nextSlide('gallery');
Drupal.vvjs.prevSlide('gallery');

const current = Drupal.vvjs.getCurrentSlide('gallery');
const total   = Drupal.vvjs.getTotalSlides('gallery');
const paused  = Drupal.vvjs.isPaused('gallery');

Drupal.vvjs.pause('gallery');
Drupal.vvjs.resume('gallery');
Drupal.vvjs.pauseAll();
Drupal.vvjs.resumeAll();

const instance = Drupal.vvjs.getInstance('#vvjs-12345'); // 
const all = Drupal.vvjs.getAllInstances();

Typical uses: a separate thumbnail view that drives the main slideshow, custom navigation placed in a menu or block, jumping to a slide based on a filter or search result, or synchronizing two related slideshows.

Accessibility

Views Slideshow ships ARIA roles for announcing slide changes, full keyboard support — arrow keys to navigate, Space to pause or play, Home and End for the first and last slide — swipe support on touch devices, focus management so only the active slide is reachable, and reduced-motion handling for visitors who have asked their operating system to limit animation.

Custom tokens in Views header and footer

With Global: Text area or Global: Unfiltered text and "Use replacement tokens from the first row" enabled, Drupal's default tokens will not resolve. Use the module's own tokens instead — {{ title }} becomes [vvjs:title], {{ field_image }} becomes [vvjs:field_image] — and append :plain to strip HTML, as in [vvjs:title:plain]. Complex rewrite expressions with embedded tokens are not supported; reference individual fields instead. Resolution runs through the shared vvj_core.token_resolver service in v2, with the same token syntax as v1.

Installation

composer require drupal/vvjs
drush en vvjs -y
drush cr

Then edit your view, choose Views Vanilla JavaScript Slideshow as the format, and configure it under Format Settings.

A known limitation

Views Slideshow does not support the Views Grouping Field feature — grouping rows by a field is not compatible with the current implementation, so avoid combining the two.

Common questions

Can I run a hero banner and a regular gallery on the same site?

Yes — hero mode is a per-view setting, not a separate module, so you can run both patterns from the same codebase.

What happens to the hero layout on mobile?

It collapses to a regular stacked card below your configured responsive breakpoint rather than trying to preserve the overlay at a width where it would not read well.

Can I link directly to slide 3 of a gallery?

Yes, if deep linking is enabled and given a URL identifier — the resulting fragment (like #gallery-3) is shareable and bookmarkable.

Do I need custom JavaScript to build a thumbnail navigator?

No custom module code — the Drupal.vvjs API is designed for exactly this: a separate thumbnails view calling goToSlide() on the main slideshow.

Will it run on Drupal 10?

Not on the 2.x branch, which requires Drupal 11.3 or later, or Drupal 12. Stay on 1.x for Drupal 10.

Related modules

Views Slideshow is one of ten Views display styles built on the same VVJ Core foundation. For a two-state interaction instead of a sequence, see Views Reveal; for a label-driven set of panes, see Views Tabs. Pages built with Paragraphs Bundles can use the same slideshow engine without a view at all.

Need a slideshow or hero banner built properly?

Views Slideshow is free and GPL-licensed, like all my contributed work. If you want a hero banner, product gallery or portfolio built around it, or a Drupal 10 to 11/12 upgrade so you can run the current branch, that is my day job. Read about my Drupal services, see what a Drupal developer handles day to day, or get in touch.

Views Vanilla JavaScript Slideshow (VVJS)
Slide 1 of 27
Acquia Purge Varnish - API V2 (Drupal Module)
Slide 2 of 27
Amun - W3CSS Sub-Theme (Drupal Theme)
Slide 3 of 27
Amunet - W3CSS Sub-Theme (Drupal Theme)
Slide 4 of 27
Anhur - W3CSS Sub-Theme (Drupal Theme)
Slide 5 of 27
Cloudflare Purge (Drupal Module)
Slide 6 of 27
Module Matrix (Drupal Module)
Slide 7 of 27
Paragraphs Bundles (Drupal Module)
Slide 8 of 27
Paragraphs Bundles Import (Drupal Module)
Slide 9 of 27
Reference Blocked Users (Drupal Module)
Slide 10 of 27
Selectify (Drupal Module)
Slide 11 of 27
Solo (Drupal Theme)
Slide 12 of 27
Solo Copy Blocks (Drupal Module)
Slide 13 of 27
Solo Utilities (Drupal Module)
Slide 14 of 27
Utilikit (Drupal Module)
Slide 15 of 27
Views 3D Carousel (Drupal Module)
Slide 16 of 27
Views 3D FlipBox (Drupal Module)
Slide 17 of 27
Views Accordion (Drupal Module)
Slide 18 of 27
Views Carousel (Drupal Module)
Slide 19 of 27
Views Hero (Drupal Module)
Slide 20 of 27
Views Lightbox (Drupal Module)
Slide 21 of 27
Views Parallax (Drupal Module)
Slide 22 of 27
Views Reveal (Drupal Module)
Slide 23 of 27
Views Slideshow (Drupal Module)
Slide 24 of 27
Views Tabs (Drupal Module)
Slide 25 of 27
VVJ Core (Drupal Module)
Slide 26 of 27
W3CSS Paragraphs (Drupal Module)
Slide 27 of 27
W3CSS Theme (Drupal Theme)
1 of 27

Our mission is to make Drupal more accessible and user-friendly, empowering businesses of all sizes, especially small enterprises with powerful tools that streamline content customization and enhance digital experiences.

Need help with your Drupal project? Hire Me through Flash Web Center, LLC.

Search

The Drupal 11 Module and Theme Stack, With Versions Checked

ARIA Live Regions in Drupal 11: What Core Does, What You Add

Drupal Architect: The Decisions Expensive to Reverse

Drupal Services: Development, Theming, Upgrades | Austin TX

Paragraphs Bundles

Drupal Module - Paragraphs Bundles

Drupal Theme - Solo

Drupal Theme - Solo

Drupal Work List - Drupal Work

Reference Blocked Users (Drupal Module)

Solo Utilities (Drupal Module)

Views Hero (Drupal Module)

Solo (Drupal Theme)

Paragraphs Bundles Import (Drupal Module)

Drupal Theme - W3CSS Theme

Drupal Theme - W3CSS Theme

Drupal Module - W3CSS Paragraphs

Drupal Module - W3CSS Paragraphs

Inspiration

Inspiration is the fuel that powers our creative engine, often coming from our surroundings, experiences, or the works of others. It's that magical moment when something clicks inside your brain, and you suddenly see a path forward that you hadn't noticed before. Inspiration can strike at any time, providing the motivation and energy needed to explore new possibilities and bring your ideas to life.

Unique Ideas

Unique Ideas

Unique ideas are the seeds of innovation, representing original thoughts or concepts that stand out from the usual. They're the sparks that ignite the process of creating something new and different, often leading to unexpected and groundbreaking solutions or products. Whether in art, science, business, or technology, unique ideas challenge the status quo and pave the way for progress.

Brainstorming

Brainstorming

Brainstorming is a creative group activity designed to generate a large number of ideas or solutions to a problem. It's a free-flowing and open-ended discussion where every suggestion is welcomed and considered, no matter how outlandish it may seem. Brainstorming encourages thinking outside the box, fostering an environment where creativity and collaboration lead to innovative solutions.

Planning

Planning

Planning is the blueprint for turning your ideas into reality. It involves setting goals, outlining steps, and organizing resources in a way that makes achieving your objectives possible. Good planning considers potential challenges and opportunities, making it easier to navigate the journey from concept to completion. It's about preparing the groundwork so that your projects can grow and flourish.

Drupal Developer

A Drupal Developer stands as the technical powerhouse behind dynamic websites, wielding expertise in PHP, custom module development, and Drupal's sophisticated API ecosystem. This role transforms business requirements into functional, secure, and scalable web solutions that power everything from small business sites to enterprise platforms serving millions of users. A Drupal Developer's expertise spans the entire development lifecycle—from architecting custom modules and integrating third-party services to optimizing performance and ensuring security compliance. Discover the complete guide to Drupal Developer skills, career paths, and hiring strategies.

Drupal Themer

A Drupal Themer serves as the artistic craftsperson who transforms wireframes and design mockups into pixel-perfect, accessible, and responsive user experiences using Twig templates, CSS, and JavaScript. This specialized role bridges the gap between design vision and technical implementation, ensuring every website not only looks exceptional but performs flawlessly across all devices and meets WCAG accessibility standards. A Drupal Themer's work encompasses the entire front-end ecosystem—from creating custom theme architectures and optimizing Core Web Vitals to implementing complex responsive designs and ensuring seamless integration with Drupal's rendering system. Explore the comprehensive guide to Drupal Themer expertise, theming best practices, and career advancement.

Drupal Architect

A Drupal Architect emerges as the strategic visionary of web construction, armed with encyclopedic knowledge of enterprise architecture patterns, infrastructure design, and Drupal's extensive technological ecosystem. This senior role operates at the highest technical level, making critical decisions that determine whether complex implementations scale successfully or collapse under real-world demands. A Drupal Architect's responsibilities begin long before development starts—during strategic planning phases where the foundation for secure, performant, and maintainable systems is established through careful evaluation of technology stacks, integration strategies, and scalability requirements. Learn about Drupal Architect skills, enterprise architecture strategies, and career progression to principal roles.

Footer menu

  • Contact
  • Professional Resume
  • Resume Summary
  • Technical Skills
  • Privacy Policy
  • Terms & Conditions
  • Search
  • Login
  • Sitemap

Copyright © 2026 Flash Web Center, LLC - All rights reserved

Developed & Designed by Alaa Haddad