kotti_image_gallery

Add an image gallery to your Kotti site
Download

kotti_image_gallery Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Andreas Kaiser
  • Publisher web site:
  • http://binary-punks.com

kotti_image_gallery Tags


kotti_image_gallery Description

kotti_image_gallery is an extension to the Kotti CMS that allows you to add galleries with images to your Kotti site.It uses Bootstrap Carousel for the gallery view.Find out more about KottiSetupTo activate the kotti_image_gallery add-on in your Kotti site, you need to add an entry to the kotti.configurators setting in your Paste Deploy config. If you don't have a kotti.configurators option, add one. The line in your section could then look like this:kotti.configurators = kotti_image_gallery.kotti_configureWith this, you'll be able to add gallery and image items in your site.Image URLskotti_image_gallery provides on-the-fly image scaling by utilizing plone.scale (thanks to Tom Lazar for the hint).Images (including arbitrary scales) can be referenced by this URL schema: /path/to/image_content_object/image/download] where < image_scale > can be:- a predefined image scale (see below)- a string of the form < max_width >x< max_height > or- a URL path segment of the form < max_width >/< max_height >If the last URL path segment is download, the image will be served with Content-disposition: attachment otherwise it will be served with Content-disposition: inline.Predefined image scale sizesYou may define image scale sizes in your .ini file by setting values for kotti_image_gallery.scale_< scale_name > to values of the form < max_width >x< max_height > (e.g. kotti_image_gallery.scale_thumb = 160x120 with the resulting scale name thumb).thumb (160x120) and carousel (560x420) are always defined (because they are used in the default templates), but their values can be overwritten by setting kotti_image_gallery.scale_thumb and/or kotti_image_gallery.scale_carousel to different values in your .ini file.Work in progresskotti_image_gallery is considered alpha software, not suitable for use in production environments. The current state of the project is in no way feature complete nor API stable. If you really want to use it in your project(s), make sure to pin the exact version in your requirements. Not doing so will likely break your project when future releases become available.Product's homepage


kotti_image_gallery Related Software