thousandmonkeys/m2-overlaymagnify-module

Put the default magnify preview over the top of the thumbnail in magento2.

Maintainers

Package info

github.com/lingwooc/overlayMagnify-magento2

Language:JavaScript

Type:magento2-module

pkg:composer/thousandmonkeys/m2-overlaymagnify-module

Statistics

Installs: 1 129

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 0

v1.1.0 2018-05-03 20:25 UTC

This package is not auto-updated.

Last update: 2026-03-08 10:03:55 UTC


README

Put the default magnify preview over the top of the thumbnail in magento2. Some fixes were required to make this work with touch screens and the full screen view.

Installation

  • composer require thousandmonkeys/m2-overlaymagnify-module
  • php bin/magento setup:upgrade
  • php bin/magento setup:di:compile
  • php bin/magento setup:static-content:deploy

Usage

It should just work.

Note this overrides the following settings from view.xml:

<var name="magnifier">
	<var name="top">100</var> <!-- Top position of magnifier -->
	<var name="left">45</var> <!-- Left position of magnifier -->
	<var name="width">7700</var> <!-- Width of magnifier block -->
	<var name="height">7700</var> <!-- Height of magnifier block -->
</var>