SiteByter Drop Stack

Description

SiteByter Drop Stack turns a set of images into an animated pile. Each image drops into place at a random angle, landing slightly offset from the one before it, like photos dropped one at a time onto a desk. Images stagger in one after another instead of all appearing at once.

Build it visually. The Drop Stack Builder, a settings page under its own admin menu, is the fastest way to use the plugin. Pick images from the Media Library, set every option (timing, spread, size, trigger and more) through a normal form, and copy out a ready-to-paste shortcode. It works with any theme.

Two more ways to add it:

  • Classic Editor: a “Drop Stack” button next to “Add Media” opens the Media Library, lets you multi-select, and inserts the shortcode with your images already filled in.
  • Enfold Advanced Layout Builder: a native “Image Drop Stack” element with a form for every option. No shortcode needed. It does nothing on sites that don’t use Enfold.

Lightweight. No jQuery on the front end. CSS and JavaScript load only on pages that actually use a Drop Stack. No external requests, no tracking, no data collected. Respects prefers-reduced-motion.

Want more? SiteByter Drop Stack Pro adds the Fade effect, Polaroid frames, Aged, Black & White and Faded tones, coffee stains and handwritten captions. See sitebyter.com.

Usage

Basic, using Media Library attachment IDs:

[sitebyter_drop_stack images="12,45,78"]

Using raw URLs instead (or a mix of IDs and URLs):

[sitebyter_drop_stack images="12,https://example.com/wp-content/uploads/photo.jpg"]

All options:

[sitebyter_drop_stack images="12,45,78" size="large" item_width="320" width="500px" height="450" angle="25" delay="300" duration="1400" trigger="scroll" spread="30" spread_y="120" once="true"]

Attributes

  • images — comma-separated attachment IDs and/or image URLs. Required.
  • size — WP image size used when an ID is passed (thumbnail, medium, large, full). This only picks which source file is loaded (affects quality/file weight), not how big it displays. Default: large.
  • item_width — max on-page display width of each image, in px. This is what actually controls how big images look. Default: 320.
  • overflow — visible (default, pile can spill past the container — usually the better look) or hidden (clips exactly to height/width — safer on a row using Individual, not Equal, column heights, where nothing stretches to absorb the spill).
  • width — container width, any CSS unit. Default: 100%.
  • height — container height in px. Overflow is intentional/fine — keep item_width and spread roughly proportioned to it so the pile stays within its section. Default: 400.
  • spread — px radius of random horizontal jitter. Default: 30.
  • spread_y — px radius of random vertical jitter, independent of spread. Raise this (relative to height) for a taller, more scattered collage instead of a tight center pile. Default: 120.
  • angle — max rotation in degrees; each image lands at a random angle between -angle and +angle. Default: 25.
  • delay — ms stagger between each image’s drop start. Default: 300.
  • duration — ms length of the drop transition. Default: 1400.
  • trigger — scroll (plays when the stack scrolls into view) or load (plays immediately). Default: scroll.
  • once — true plays once and stays; false replays every time it re-enters the viewport. Default: true.

Screenshots

Installation

  1. Upload the sitebyter-drop-stack folder to /wp-content/plugins/, or install it from the Plugins screen.
  2. Activate the plugin.
  3. Go to Drop Stack in the admin menu, pick your images, and copy the shortcode into any post or page.

FAQ

Does it work with any theme?

Yes. The shortcode and the builder work with any theme. The Enfold element appears only when the Enfold theme is active.

Does it slow my site down?

No. Assets load only on pages that use the shortcode, there is no jQuery dependency, and images are lazy-loaded with width and height attributes to avoid layout shift.

Does it send any data anywhere?

No. It makes no external requests and stores no data. The builder only generates a shortcode.

How big do the images appear?

Use the item_width option. The size option only chooses which source file loads.

The pile spills outside its box. Is that a bug?

No, it’s intentional because it usually looks better. Keep item_width and spread roughly proportioned to height, or set overflow="hidden" to clip it.

Does it respect reduced-motion settings?

Yes. Visitors with prefers-reduced-motion enabled see a simple fade instead of the drop.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“SiteByter Drop Stack” is open source software. The following people have contributed to this plugin.

Contributors

Translate “SiteByter Drop Stack” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.12.1

  • Prepared for the WordPress.org release: no external requests, tightened escaping, readme rewritten.
  • The free version includes the Drop effect, all timing, spread, size and trigger options, the builder with setup tooltips, the Classic Editor button and the Enfold element.

1.12.0

  • Added setup tooltips to every Builder setting.

1.11.0

  • Internal release.

1.10.1

  • Fixed images occasionally snapping to a new position just after loading, most visible on the Fade effect. Images now carry real width and height attributes so the browser reserves their space up front.

1.9.1

  • Renamed from “MNDG Image Drop Stack” to “SiteByter Drop Stack”.

1.9.0

  • Added the Drop Stack Builder admin page.

1.8.1

  • Fixed a bug where two or more instances on one page could break unrelated Enfold rows.

1.8.0

  • Added the overflow attribute.

1.4.0

  • item_width now sets the display size. Added spread_y.

1.1.0

  • Added the Classic Editor button and the Enfold Layout Builder element.

1.0.0

  • Initial release.