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:
classroom Plone site http://sci.mpls.k12.mn.us/
Translations
This product has been translated into - Klingon (thanks, K’Plai)
Installation
Install medialog.magneticpopup by adding it to your buildout:
[buildout] ... eggs = medialog.magneticpopup
Next, run: bin/buildout.
Finally, go to your site setup/addons and enable this new addon.
Contribute
Issue Tracker: https://github.com/collective/medialog.magneticpopup/issues
Source Code: https://github.com/collective/medialog.magneticpopup
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
Espen Moe-Nilssen, espen@medialog.no
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for medialog.magneticpopup-1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 283f5b9ff79b8d7a706f0f7dc1522f11ce6d5ccb1036119a4bdbcccf9b373423 |
|
MD5 | f67c050d7403d5efd49e6f49ffd18daf |
|
BLAKE2b-256 | 1861ca50185ec4dacdbbf18affcc9cfb3eb649c58461fa010fde8f2113fbce94 |
Hashes for medialog.magneticpopup-1.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26565224080cf47a51c7ff010dac1198a0082c58f69f1754b5b1f17fa2c53dbd |
|
MD5 | be1869e37efe3eb6a5738e8410f57a76 |
|
BLAKE2b-256 | 131fd18fd4b097cb0953dc029291de45ce1bbc4c6ab496824c0bf1bf28774a74 |