Plone Add-on Gallery

collective.behavior.relatedmedia

Upload and Manage Related Images and Attachments

This packages adds a dexterity behavior to upload and manage related images and attachments for rich media pages.

Install

Add to buildout configuration or pip install collective.behavior.relatedmedia.

Enable it in Plone Add-on controlpanel.

Configure

There is a Related Media Settings controlpanel in the Add-on configuration section.

Make sure you set a valid Media Container path where all the media is stored.

Edit

When you edit a Page go to the tab Related Media.

In the relateditems widgets you can select existing content from your page, or you upload new content via the uploader. Relation type is selected via the mimetype of the media. You can change the titles of the relations in an input field and rearrange the order within the widget via drag/drop.

View

The related media viewlets (image, attachment) are defined by:

Feel free to override the placement in your package zcml for example::

<include package="collective.behavior.relatedmedia" />
<configure package="collective.behavior.relatedmedia">
    <browser:viewlet
        name="collective.behavior.related_images"
        for="*"
        manager="plone.app.layout.viewlets.interfaces.IAboveContentTitle"
        template="widget_images_display.pt"
        permission="zope2.View" />
</configure>

Author

Contributors

Changelog

3.2.0 (2022-07-20)

3.1.1 (2022-07-04)

3.1.0 (2022-04-23)

3.0.4 (2022-03-16)

3.0.3 (2022-03-14)

3.0.2 (2022-03-09)

3.0.1 (2022-03-09)

3.0.0 (2022-01-18)

Breaking changes:

2.1.3 (2020-07-22)

2.1.2 (2020-07-02)

2.1.1 (2020-05-27)

2.1 (2020-05-27)

Features:

2.0.3 (2020-05-26)

2.0.2 (2019-12-13)

2.0.1 (2019-11-22)

2.0.0 (2019-11-22)

1.1.1 (2018-05-25)

1.1 (2018-05-25)

1.0 (2018-05-23)

1.0b1 (2015-07-15)

1.0a1 (2015-07-14)