Skip to main content

Add magnetic popup to Plone 6

Project description

Adds popup to images

Features

  • Images embedded in a page, as well as the image shown on the …jpg/view page, will popup in a jquery style lightbox.

  • If using a responsive theme, the popup image responds to the display size.

  • Upon clicking on embedded image, it pops up to its full size if display size permits, otherwise it scales down to size of display.

  • Title is taken from caption that was added to image or if none, from file name.

  • There is a control panel where you can choose image classes and image sizes

Examples

This add-on can be seen in action at the following sites:

Translations

This product has been translated into - Klingon (thanks, K’Plai)

Installation

  1. Install medialog.magneticpopup by adding it to your buildout:

    [buildout]
    
    ...
    
    eggs =
        medialog.magneticpopup
  2. Next, run: bin/buildout.

  3. Finally, go to your site setup/addons and enable this new addon.

Contribute

Support

If you are having issues, please let us know.

License

The project is licensed under the GPLv2.

Upload pypi

twine upload –repository-url https://upload.pypi.org/legacy/ dist/*

Contributors

Changelog

1.1 (25.03.2020)

  • Plone 5.2 support [espenmn]

1.0 (12.05.2019)

  • First official release [espenmn]

1.0a6 (30.03.2019)

  • add data popup size [espenmn]

1.0a5 (14.03.2019)

  • fix popup url so it works with news items [espenmn]

1.0a3 (12.12.2018)

  • Add img/js selector [espenmn]

1.0a2 (05.05.2018)

  • Change img selector to .image-left etc (local images) [espenmn]

1.0a2 (08.08.2017)

  • Change #content-core selector to #content [espenmn]

1.0a1 (08.08.2017)

  • Initial release. [espenmn]

1.1 (05.06.2025)

  • Update for Plone 6 / python 3 [espenmn]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

medialog.magneticpopup-1.1.1-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

medialog.magneticpopup-1.1.1-py2-none-any.whl (31.5 kB view details)

Uploaded Python 2

File details

Details for the file medialog.magneticpopup-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: medialog.magneticpopup-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 31.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/69.0.3 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for medialog.magneticpopup-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4251627a744455832f185a3a2453e40c577333842a907f24204fe0da805bf2b
MD5 7408ae3d77d3408b18a2c94832859ee7
BLAKE2b-256 2462f75c68d35e3e1a16eb129256fdec7e59208ad0bb072caee440284e154399

See more details on using hashes here.

File details

Details for the file medialog.magneticpopup-1.1.1-py2-none-any.whl.

File metadata

  • Download URL: medialog.magneticpopup-1.1.1-py2-none-any.whl
  • Upload date:
  • Size: 31.5 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/69.0.3 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for medialog.magneticpopup-1.1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 6e0c6860753fde3759213c365c8417bd560b5517d46b96eead133efbbc79345d
MD5 271a6aaf4133e41f0084069ea2fd0d5e
BLAKE2b-256 26740fdd0de81a5cbde60bde2fa93b1de8021b32a9fd8e902ad32916939cd60e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page