Adds Various configuration fields and viewlets to manage and show content related images and attachments
Project description
What can this package do for you?
This packages adds a dexterity behavior to manage content related images and attachments.
Configure and activate
You have to define a Media Root Path where the uploaded Media is stored. The default media container is (site_root|nav_root)/media and can be changed in the Related Media Controlpanel.
The behavior is automatically enabled for “Documents”. Edit the data in the new tab “Related Media”
Media Base Path Strategy
When a Document is created we generate a Related Media Base Path in the background to store all the uploaded Media. This base path is located in the configured Media Root Path above.
The Edit form renders a structure pattern of the base path location where you can upload/rearrange/sort/rename/delete the related media inplace.
Further settings (for gallery css classes handling the images) as well as additional Images and Files (located somewhere else as the base path) are below
View
Images are displayed in a viewlet below the content title with the selected css class.
Attachments are displayed in a viewlet below the content body.
This package does not include any CSS or JS resource to enable some nice gallery experience. You can define this in your themen package.
Changelog
2.1.3 (2020-07-22)
Fix bigbug in util method when related base_path is missing. fixes #2 [petschki]
2.1.2 (2020-07-02)
Fix issue with unauthorized media folder [petschki]
Update/enhance default settings in controlpanel [petschki]
bugfix in workflow synchronization of related media base path [petschki]
2.1.1 (2020-05-27)
Fix imports to support plone.app.contenttypes < 2.0 [petschki]
2.1 (2020-05-27)
Features:
global setting to always update first related image as leadimage. This is disabled per default. [petschki]
2.0.3 (2020-05-26)
fix attachment viewlet to be hidden when no files are related [petschki]
2.0.2 (2019-12-13)
Fix bug in workflow sync event when pasting objects [petschki]
2.0.1 (2019-11-22)
merged HISTORY.txt and CHANGES.rst [petschki]
2.0.0 (2019-11-22)
Python 3 / Plone 5.2 compatibility [petschki]
Media Base Path feature [petschki]
test setup and CI [petschki]
1.1.1 (2018-05-25)
Update documentation. [petschki]
1.1 (2018-05-25)
fix image_size vocabulary. Plone 5 compatibility. [petschki]
1.0 (2018-05-23)
Fix issue with disapearing images when ‘include_leadimage’ was deactivated [petschki]
support for Event Occurrences. [petschki]
add markup for fancybox library [petschki]
Separate viewlet caption and overlay caption [petschki]
1.0b1 (2015-07-15)
title caption toggle for gallery images [petschki]
1.0a1 (2015-07-14)
Initial release
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
Hashes for collective.behavior.relatedmedia-2.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef316ad58fb76d4561dbcef2ed4c26371bc6e522e27abbe4a1a622000ddeb009 |
|
MD5 | 56279596103f2dad5283960855f69d84 |
|
BLAKE2b-256 | d708cb82a90c5287474457429ff380289aba0ba69e08ce2d810a08eba8a6ca47 |