Package: sc.photogallery
Table of ContentsLife, the Universe, and EverythingMostly HarmlessKnown issuesDon’t PanicInstallationUsageInternalsNot Entirely UnlikeShare and EnjoyChangelog1.0b3 (2018-01-30)1.0b2 (2018-01-29)1.0b1 (2016-03-15)1.0a1 (2014-08-04)Life, the Universe, and EverythingA Photo Gallery content type with a slideshow view.Mostly HarmlessThese are some sites usingsc.photogallery:Portal Brasil 2016(BR)Got an idea? Found a bug? Let us know byopening a support ticket.Known issuesZIP functionality doesn’t seem to support Dexterity based images.See thecomplete list of bugs on GitHub.Don’t PanicInstallationTo enable this package in a buildout-based installation:Edit your buildout.cfg and add add the following to it:[buildout]
...
eggs =
    sc.photogalleryAfter updating the configuration you need to run ‘’bin/buildout’’, which will
take care of updating your system.Go to the ‘Site Setup’ page in a Plone site and click on the ‘Add-ons’ link.Check the box next toPhoto Galleryand click the ‘Activate’ button.NoteYou may have to empty your browser cache and save your resource registries
in order to see the effects of the product installation.UsageOriginal images in a Photo Gallery can be easily downloaded by enabling the display of an explicit link.
To use this feature, go to the Photo Gallery control panel configlet and select ‘Enable download?’.Ifftw.zipexportis installed, you will also be able to download all images on a ZIP file.InternalsPhoto Galleryuses Cycle2 slideshow plugin for jQuery and it can load its resources from the Plone JS registry if they are present there.If you’re usingPhoto Gallerywith other packages that use Cycle2 also (likecollective.nitforcovertile.cycle2),
it is highly recommended that you register those resources to load them once and avoid conflicts.You can use ajsregistry.xmlfile that includes the following:<javascriptid="++resource++collective.js.cycle2/jquery.cycle2.min.js"cacheable="True"compression="none"cookable="True"enabled="True"/><javascriptid="++resource++collective.js.cycle2/jquery.cycle2.carousel.min.js"cacheable="True"compression="none"cookable="True"enabled="True"/><javascriptid="++resource++collective.js.cycle2/jquery.cycle2.swipe.min.js"cacheable="True"compression="none"cookable="True"enabled="True"/>Not Entirely Unlikecollective.plonetruegalleryA gallery/slideshow product for Plone that can aggregate from Picasa and Flickr or use Plone images.Share and Enjoysc.photogallerywould not have been possible without the contribution of the following people:André NogueiraHéctor VelardeRodrigo Ferreira de SouzaCycle2 slideshow plugin for jQueryFont Awesome (icon)Wolfgang Beyer (Mandelbrot image setused in tests)Development sponsored by Simples Consultoria.ChangelogThere’s a frood who really knows where his towel is.1.0b3 (2018-01-30)Fix brown bag release.
[hvelarde]1.0b2 (2018-01-29)Remove indirect dependency on five.grok.
[hvelarde]Add compatibility with Python 3.
[hvelarde]Fix human readable file sizes (fixes#23).
[hvelarde]Process static resources using webpack.
[rodfersou]Fix registration of Photo Gallery views.
[hvelarde]Use HTML entities in Unicode Normalization Form C to avoid warnings when validating.
[hvelarde]1.0b1 (2016-03-15)Remove hard dependency on plone.app.referenceablebehavior as Archetypes is no longer the default framework in Plone 5.
Under Plone < 5.0 you should now explicitly add it to theeggspart of your buildout configuration to avoid issues while upgrading.
[hvelarde]Avoid photo distorting when landscape format is used.
[rodfersou]The Photo Gallery content type now includes a newallow_downloadfield to restrict the downloading of images on an item (closes#24).
[hvelarde]Add Brazilian Portuguese and Spanish translations.
[hvelarde]Make control panel configlet accesible to Site Administrator role (closes#20).
[hvelarde]Add download functionality to Photo Gallery;
if enabled, users will be able to easily download original images by using an explicit link.
Ifftw.zipexportis installed, they will be also able to download a ZIP file containing all images (closes#14).
[rodfersou, hvelarde]Implement lead image to be used in folder and collection views (closes#17).
[hvelarde]Load Cycle2 resources from the JS registry if available (closes#10).
[hvelarde]Add Photo Gallery tile for collective.cover.
[rodfersou, hvelarde]Remove dependency on five.grok (closes#7).
[hvelarde]Update template with carousel pager and more layout control (closes#4).
[rodfersou, agnogueira]Drop support for Plone 4.2.
[hvelarde]A Photo Gallery can now be set as the default page view on a container (closes#1).
[hvelarde]1.0a1 (2014-08-04)Initial release.