Package: plone.gallery
A photo gallery view for Plone CMS.FeaturesShows photos of different sizes nicely and responsiveAllows to zoom and browse thru the photosHas a white and blackmodeFullscreen and Autoplay modeFlexible setting of grid image scale and zoom image scale in gallery control panelworks for folders and collectionscomes with TinyMCE templates for adding static galleries in Document,News items aso.come with a gallery_shortcode to use in richtext like in TinyMCE editor.It uses the librariesspotlightandflexbinin combination for that.Works from Phone to Big screenTinyMCE templatesAlso usable in TinyMCE with templates.To enable the templates, add these lines to the templates field in TinyMCE control panel.[{"title":"3 pictures as gallery","description":"Photo gallery: 4 photos","url":"++plone++plone.gallery/tinymce-templates/gallery-grid-3.html"},{"title":"4 pictures as gallery","description":"Photo gallery: 4 photos","url":"++plone++plone.gallery/tinymce-templates/gallery-grid-4.html"},{"title":"6 pictures as gallery","description":"Photo gallery: 6 photos","url":"++plone++plone.gallery/tinymce-templates/gallery-grid-6.html"},{"title":"8 pictures as gallery","description":"Photo gallery: 8 photos","url":"++plone++plone.gallery/tinymce-templates/gallery-grid-8.html"}]Gallery shortcodeYou can use thegallery_shortcodeas follows in TinyMCE.Somewhere in the text place this placeholder: [gallery_shortcode]<p>Tempor eu labore sint occaecat et esse. Irure nisi incididunt commodo exercitation aliqua. Ullamco quis quis sunt velit duis consectetur dolor aute cupidatat deserunt amet. Velit sunt eiusmod nulla proident consequat eu. Irure eiusmod aute reprehenderit occaecat laboris fugiat exercitation consectetur laboris nisi. Non ullamco commodo enim aute ex mollit est amet nostrud eu dolor. Mollit quis esse commodo irure duis veniam velit adipisicing.</p>[gallery_shortcode]<p>Tempor eu labore sint occaecat et esse. Irure nisi incididunt commodo exercitation aliqua. Ullamco quis quis sunt velit duis consectetur dolor aute cupidatat deserunt amet. Velit sunt eiusmod nulla proident consequat eu. Irure eiusmod aute reprehenderit occaecat laboris fugiat exercitation consectetur laboris nisi. Non ullamco commodo enim aute ex mollit est amet nostrud eu dolor. Mollit quis esse commodo irure duis veniam velit adipisicing.</p>The outputfilter will now render all photos in referenced under related photos or contained in the context as a gallery.You can either reference photos with the related photos field or place them into the current page if you have a folderish page.TranslationsThis product has been translated intoGerman (MrTango)InstallationInstall plone.gallery by adding it to your buildout:[buildout]

...

eggs =
    plone.galleryand then runningbin/buildoutUsagePlease make sure that you have reasonable image sizes set in your portal. Something as follow should be good.large 1400:1400
preview 600:600
mini 400:400
thumb 200:200The large size is used for the zoom and mini for the preview grid view.
Changing the other too just make sense if you change something.After you have the correct sizes, you can just change the view on every Folder or Collection in Plone to “Photo gallery”.TODOmake flexbin-row-height and flexbin-space configureableContributeIssue Tracker:https://github.com/plone/plone.gallery/issuesSource Code:https://github.com/plone/plone.galleryLicenseThe project is licensed under the GPLv2.ContributorsMaik Derstappen,md@derico.deChangelog1.1.6 (2023-04-04)Fix serious bug in GalleryList view, which could slow down the website a lot.
[MrTango]1.1.5 (2023-03-22)prevent outputfilter from running when addon is not enabled
[MrTango]1.1.4 (2023-03-22)deactivate tinyMCE templates in config, to prevent overriding existing config.
[MrTango]1.1.3 (2023-03-20)prevent error when related_photos attribute is None
[MrTango]1.1.2 (2023-02-24)Extend related photo list with photos from context, not override them
[MrTango]1.1.1 (2023-02-24)Add gallery gallery_shortcode feature to be used in RichText. Photos are coming from the new related photos behavior or are contained if it is a folderish type.
[MrTango]1.1.0 (2023-02-22)Add TinyMCE templates with galleries and therefor always enable flexbin and spotlight resources
[MrTango]Fix traceback for missing cmf.ManagePortal permission (#12)
[laulaz]1.0.6 (2022-11-23)Just improving the PyPi description
[MrTango]1.0.5 (2022-11-22)Declare Plone 6 support and update CI
[MrTango]1.0.4 (2022-07-26)Fix gally view for collections
[MrTango]1.0.3 (2022-07-26)Fix missing plone.app.contentmenu zcml dependency for plone_displayviews menu
[laulaz]Add gallery control panel to allow setting grid_image_scale and zoom_image_scale
[MrTango]1.0.2 (2021-09-29)fix python_requires definition in setup.py
MrTangogeneral cleanup and add an uninstall profile
MrTango1.0.1 (2020-07-07)Fix scale size in gallery grid view
[MrTango]1.0 (2020-07-07)Cleanup, fixed travis setup and isort version in tox setup
[MrTango]1.0a4 (2020-06-12)render img tag manually, to avoid having width and height attributes set
[MrTango]1.0a3 (2020-06-12)Fix flexbin image height
[MrTango]Fix title and description in spotlight view
[MrTango]1.0a2 (2020-06-11)Fix resources files in released package
[MrTango]Support also Collections not only Folders
[MrTango]1.0a1 (2020-06-11)Initial release.
[MrTango]