Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.
/ module-notorama Public archive

Say no to Fotorama in Magento 2(.3) with Notorama.

Notifications You must be signed in to change notification settings

robaimes/module-notorama

Repository files navigation

Aimes_Notorama

I no longer have the capacity to work on this. This repository is no longer maintained.

You're welcome to fork, continue, or whatever you like.


Magento 2 module: Remove's Fotorama and, hopefully, headaches.

Replaces the Magento 2 standard Fotorama gallery with a slick variant, as also used in PageBuilder for Magento Commerce stores.

WARNING:

This module is currently considered unstable and should not be used outside of development.

  • This project is still a work in progress. There are currently no options available through layout arguments or view.xml as intended.
  • CSS is added via the layout <head> argument which is bad and will be moved to _module.less in future.

Features

  • Replaces / Removes Fotorama
  • Uses slick (Magento PageBuilder also uses this)
  • Uses slick lightbox for fullscreen image viewing
  • Adds placeholder / preview content before the Gallery fully initialises, leading to a much smoother page load experience
  • Images that are not immediately visible on the page are lazyloaded appropriately
  • Supports video from YouTube and Vimeo
  • Only initialises iframe elements when the relevant video thumbnail is clicked (and automatically plays the video to save clicking twice!)
  • Moderately flexible styling, although the base CSS still needs work