Skip to content

Releases: ROLLPIX/M2-images-skeleton

v1.0.1 - Critical bugfixes

Choose a tag to compare

@nmarquev nmarquev released this 25 Feb 23:02

v1.0.1 - Critical bugfixes

Fixed

  • Skeleton styles persisted permanently — all CSS (position, overflow, min-height) now scoped to .rp-skeleton-active class, fully removed when skeleton ends
  • Mageplaza banner not detected as loaded — slider init classes (owl-loaded, slick-initialized) now checked on descendants, not just parent element
  • ::before on void elements — JS now skips <img>, <input> and other replaced elements where pseudo-elements cannot work
  • Icons and small images affected — elements smaller than 50x50px are now skipped automatically
  • Base CSS breaking layouts — removed !important overrides on position/overflow that interfered with third-party modules
  • CMS Block Images preset — changed selector from .widget img (broken) to .block-static-block .content (container-based)

Upgrade

composer require rollpix/module-skeleton-preloader:1.0.1
bin/magento setup:upgrade
bin/magento setup:static-content:deploy -f
bin/magento cache:flush

v1.0.0 - Rollpix_SkeletonPreloader

Choose a tag to compare

@nmarquev nmarquev released this 25 Feb 22:08

Rollpix_SkeletonPreloader v1.0.0

Initial release of the Skeleton Preloader module for Magento 2.

Features

  • 4 animation effects: Shimmer, Pulse, Wave, Static
  • 6 built-in presets: Mageplaza Banner, Product Images (Listing), Product Image (PDP), Category Image, CMS Block Images, Page Builder Images
  • Custom selectors via JSON configuration in admin
  • CSS-first approach: Critical CSS injected inline in <head> for instant CLS prevention
  • Smart detection: MutationObserver for JS-initialized sliders, img.onload for standard images, hybrid fallback
  • Per-page filtering: Configure which page types display skeletons (Home, Category, Product, CMS)
  • Safety timeout: Configurable fallback to auto-remove skeletons
  • Configurable fade-out animation duration

Requirements

  • Magento 2.4.7 ~ 2.4.8
  • PHP 8.1 ~ 8.3

Installation

composer config repositories.rollpix-skeleton vcs https://github.com/ROLLPIX/M2-images-skeleton.git
composer require rollpix/module-skeleton-preloader:^1.0
bin/magento module:enable Rollpix_SkeletonPreloader
bin/magento setup:upgrade
bin/magento cache:flush

Admin Configuration

Stores > Configuration > Rollpix > Skeleton Preloader