allow to define aspect ratio
This commit is contained in:
@@ -47,6 +47,7 @@ All parameters:
|
||||
|
||||
- `src`: Must contain either a comma-separated list of paths to images, or a directory path containing images.
|
||||
- `lightbox`: Whether a click on an image shall open a lightbox modal. Default: `true`.
|
||||
- `aspectratio`: Define the aspect ratio of the images in the slideshow/gallery. Default: `16/10`.
|
||||
- `mode`: Can be either `gallery` or `slideshow`. Default: `gallery`.
|
||||
- For gallery mode:
|
||||
- `columns`: Amount of columns the images are displayed in. Default: `4`.
|
||||
|
||||
Reference in New Issue
Block a user