Metadata-Version: 2.1
Name: collective.behavior.relatedmedia
Version: 2.0.0
Summary: Adds Various configuration fields and viewlets to manage and show content related images and attachments
Home-page: https://github.com/kombinat/collective.behavior.relatedmedia
Author: 
Author-email: 
License: GPL
Platform: UNKNOWN
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: 5.0
Classifier: Framework :: Plone :: 5.1
Classifier: Framework :: Plone :: 5.2
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: setuptools
Requires-Dist: plone.api
Requires-Dist: plone.behavior
Requires-Dist: plone.app.dexterity
Provides-Extra: test
Requires-Dist: plone.app.testing[robot] ; extra == 'test'
Requires-Dist: plone.app.robotframework ; extra == 'test'
Requires-Dist: plone.app.contenttypes ; extra == 'test'
Requires-Dist: robotframework-selenium2library ; extra == 'test'
Requires-Dist: robotframework-selenium2screenshots ; extra == 'test'

############################################
Dexterity Content Related Images/Attachments
############################################


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 from the base path where you can upload/rearrange/sort/rename and delete the
related media inplace.

.. image:: https://raw.githubusercontent.com/kombinat/collective.behavior.relatedmedia/master/docs/collective.behavior.relatedmedia_basepath.png

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

.. image:: https://raw.githubusercontent.com/kombinat/collective.behavior.relatedmedia/master/docs/collective.behavior.relatedmedia_settings.png



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.

.. image:: https://raw.githubusercontent.com/kombinat/collective.behavior.relatedmedia/master/docs/collective.behavior.relatedmedia_view.png

This package does not include any CSS or JS resource to enable some nice
gallery experience. You can define this in your themen package.



Author
======

- Peter Mathis [petschki]

Changelog
=========

1.2 (unreleased)
----------------

- Nothing changed yet.


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


