Skip to content
Permalink
Browse files
Fotorama directive to display a gallery using http://fotorama.io jQue…
…ry plugin

Usage:

.. fotorama::
   ⌨️ true
   :allowfullscreen: native

   image0.jpg
   image1.jpg
   image2.jpg
   image3.jpg
  • Loading branch information
humitos committed Aug 4, 2015
1 parent 0546186 commit 715a2ceddc54ed2d2fcd74f88b542429ccaac9c2
Show file tree
Hide file tree
Showing 8 changed files with 228 additions and 0 deletions.
@@ -0,0 +1,25 @@
Fotorama directive to display a gallery using http://fotorama.io jQuery plugin

# Usage

```
.. fotorama::
:keyboard: true
:allowfullscreen: native
image0.jpg
image1.jpg
image2.jpg
image3.jpg
```

# Gallery centered

If you want to get your fotorama images centered on the web page you
can add this code to your `custom.css`:

```
.fotorama__wrap {
margin: 0 auto;
}
```
@@ -0,0 +1,10 @@
# Default options for fotorama_directive plugin
# To see all the options go to: http://fotorama.io
FOTORAMA_OPTIONS = {
'nav': 'thumbs',
'ratio': '16/9',
'keyboard': 'true',
'thumbwidth': 256,
'thumbheight': 256,
'allowfullscreen': 'native'
}

Some generated files are not rendered by default. Learn more.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

@@ -0,0 +1,12 @@
[Core]
Name = fotorama_directive
Module = fotorama_directive

[Nikola]
MinVersion = 7.4.0

[Documentation]
Author = Manuel Kaufmann
Version = 0.1
Website = http://plugins.getnikola.com/#fotorama_directive
Description = Fotorama directive to display a gallery using http://fotorama.io jQuery plugin

0 comments on commit 715a2ce

Please sign in to comment.