-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
8 changed files
with
228 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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; | |||
} | |||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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 about how customized files appear on GitHub.
Oops, something went wrong.
Loading
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.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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 |
Oops, something went wrong.