PHPackages                             fritzmg/contao-magnific-popup - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. fritzmg/contao-magnific-popup

Abandoned → [fritzmg/contao-lightcase](/?search=fritzmg%2Fcontao-lightcase)ArchivedContao-module[Utility &amp; Helpers](/categories/utility)

fritzmg/contao-magnific-popup
=============================

Magnific Popup lightbox for Contao

2.0.1(9y ago)112.5kGPL-2.0CSSPHP &gt;=5.2

Since Oct 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/fritzmg/contao-magnific-popup)[ Packagist](https://packagist.org/packages/fritzmg/contao-magnific-popup)[ Docs](http://www.inspiredminds.at)[ RSS](/packages/fritzmg-contao-magnific-popup/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

[![](https://camo.githubusercontent.com/4a9a2b3a5e76b82773f6c4f38f061b8a32988cdc7efbb3956d4b45751e356db9/68747470733a2f2f696d672e736869656c64732e696f2f6d61696e74656e616e63652f7965732f323031372e737667)](https://github.com/fritzmg/contao-magnific-popup)[![](https://camo.githubusercontent.com/d17290c7d0e4da508352ca6e68a70be3046e81bc793869352ae527c0dad724a0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f667269747a6d672f636f6e74616f2d6d61676e696669632d706f7075702e737667)](https://packagist.org/packages/fritzmg/contao-magnific-popup)[![](https://camo.githubusercontent.com/5ed39b72d670fa65c500bcfdff9bd026b88380349817fd20d85f6b037795f4aa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f667269747a6d672f636f6e74616f2d6d61676e696669632d706f7075702e737667)](https://packagist.org/packages/fritzmg/contao-magnific-popup)

Contao Magnific Popup
=====================

[](#contao-magnific-popup)

Contao extension to integrate the [Magnific Popup](https://github.com/dimsemenov/Magnific-Popup) overlay.

Usage
-----

[](#usage)

Simply activate the `j_magnific_popup` template in your page layout under *jQuery*. Do *not* activate `j_colorbox` or `moo_mediabox` as well!

The Magnific Popup will work with all links that use the `data-lightbox="..."` parameter. Of course you can still initialize and manipulate the Magnific Popup via your own JavaScript.

Customizing
-----------

[](#customizing)

If you want to use your own custom parameters, simply create your own `j_magnific_popup` template and insert your custom options there. For example, if you want to enable the zoom feature of Magnific Popup:

```
  ContaoMagnificPopup.init({
    // put your custom configuration here
    zoom: { enabled: true }
  });
```

Refer to the [Magnific Popup Documentation](http://dimsemenov.com/plugins/magnific-popup/documentation.html) for all available parameters.

Types
-----

[](#types)

By default, the extension defines the type for all Magnific Popup instances as `image`. You can set any of the types supported by Magnific Popup through several ways:

- through the `data-lightbox` parameter itself, e.g.

    ```
    Page
    ```

    You can still also define a custom grouping name anywhere in the parameter:

    ```
    Page
    ```
- by using your own Magnific Popup initialisation
- by setting the type globally through the options in your own `j_magnific_popup` template

Additional Parameters
---------------------

[](#additional-parameters)

To support some compatibility with the old lightbox parameters of Contao, you can also define the width and height of the iframe popup like so:

```
Page
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~171 days

Recently: every ~214 days

Total

6

Last Release

3406d ago

Major Versions

1.1.2 → 2.0.02017-03-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/25f6ec05570f72d0fcc4d0a4fef2309799d53badf8b30484284e73724661e0d8?d=identicon)[fritzmg](/maintainers/fritzmg)

---

Top Contributors

[![fritzmg](https://avatars.githubusercontent.com/u/4970961?v=4)](https://github.com/fritzmg "fritzmg (1 commits)")

---

Tags

contaoresponsivepopuplightboxoverlaymagnific

### Embed Badge

![Health badge](/badges/fritzmg-contao-magnific-popup/health.svg)

```
[![Health](https://phpackages.com/badges/fritzmg-contao-magnific-popup/health.svg)](https://phpackages.com/packages/fritzmg-contao-magnific-popup)
```

###  Alternatives

[metamodels/core

MetaModels core

10156.4k67](/packages/metamodels-core)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3189.0k6](/packages/codefog-contao-news-categories)[terminal42/contao-node

Node bundle for Contao Open Source CMS

3177.0k6](/packages/terminal42-contao-node)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
