Skip to main content

Features

  • Adds a slideshow to dexterity folderish types

  • Easy to adapt to custom dexterity types

  • Easy to upload multiple images using drag and drop

  • Easy to include youtube and vimeo videos in the slideshow

  • Adds a media view that shows the first image of the slideshow in folders and collections

  • Slideshow shows image description as caption

  • Uses slick carousel by Ken Wheeler (adaptable to other carousels)

eventview

How it works

An administrator can choose which types are upgraded with slideshow functionality by adding a ‘slideshow’ behaviour via the ‘Site Setup’/’Dexterity content types’. A folder named ’slideshow’ appears inside of items with slideshow behaviour. Using drag and drop functionality multiple images can be uploaded to the slideshow folder. A slideshow with the several images appears automatically in the view of any item that contains more than one image int the ‘slideshow’ folder. In case the folder contains only one image, the view shows the image but not the next/previous buttons. In case the folder contains no images, the slideshow does not appear in the page.

Videos from YouTube and Vimeo can also be added to the slideshow. Create an item of type link inside the slideshow folder pointing to the video on youtube or Vimeo. Make sure the URL is a canonic YouTube or Vimeo url.

Implementation details

  • Folderish content types are adapted with ICanContainMedia interface that provides MediaHandling class. This class adds functionallity to set the leading media.

  • There is two FieldIndex and metadata added to portal_catalog: hasMedia (True/False) and leadMedia (UID of the leading picture).

  • An event handler is added to folderish content types and is triggered on modified events. This event updates the indexes in the portal_catalog.

Dependencies

  • collective.folderishtypes

  • collective.slickslideshow

  • collective.quickupload

  • collective.FolderContentsPortletManager

Todo

  • Use collective.upload once is ready for production;

  • Add collective.quickupload portlet automatically to Folder contents portlet manager

  • Slideshow behaviour should only be added to folderish types

  • How to retrieve the picture that appears as leading while using lead media a more efficient or correctly way?

Changelog

0.1 (2014-11-12)

  • Initial release

Release files for collective.leadmedia 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.leadmedia 0.1
File Size Uploaded
collective.leadmedia-0.1.tar.gz 24.8 kB Details

Release files / collective.leadmedia-0.1.tar.gz

Download URL collective.leadmedia-0.1.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7d737c74dcdc5dbef2e77511f783e5888956748abe65249d9656a9a851101110
BLAKE2b-256 checksum
How to use checksums
ad3415c4b494862fb88c941b3a79777ee3907e6c0842525cfad03e4a6f2e9cd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page