Skip to main content

Add magnetic popup to Plone5

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]

Project details


Download files

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

Source Distribution

medialog.magneticpopup-1.1.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

medialog.magneticpopup-1.1-py2-none-any.whl (30.0 kB view details)

Uploaded Python 2

File details

Details for the file medialog.magneticpopup-1.1.tar.gz.

File metadata

  • Download URL: medialog.magneticpopup-1.1.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for medialog.magneticpopup-1.1.tar.gz
Algorithm Hash digest
SHA256 283f5b9ff79b8d7a706f0f7dc1522f11ce6d5ccb1036119a4bdbcccf9b373423
MD5 f67c050d7403d5efd49e6f49ffd18daf
BLAKE2b-256 1861ca50185ec4dacdbbf18affcc9cfb3eb649c58461fa010fde8f2113fbce94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: medialog.magneticpopup-1.1-py2-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for medialog.magneticpopup-1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 26565224080cf47a51c7ff010dac1198a0082c58f69f1754b5b1f17fa2c53dbd
MD5 be1869e37efe3eb6a5738e8410f57a76
BLAKE2b-256 131fd18fd4b097cb0953dc029291de45ce1bbc4c6ab496824c0bf1bf28774a74

See more details on using hashes here.

Supported by

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