Readme formatting
This commit is contained in:
@@ -189,7 +189,7 @@ For example, to disable the home page at `/` and at `/share` you need to change
|
||||
Options that control how the gallery page is rendered. Configured under `ipp.gallery`.
|
||||
|
||||
| Option | Type | Description |
|
||||
|----------------------|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
|----------------------|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `singleImage` | `bool` | By default a link to a single image will directly open the image file. Set to `true` if you want to show a gallery page instead for a single item. |
|
||||
| `singleItemAutoOpen` | `bool` | When a share contains a single item and is opened on its gallery page, automatically open the lightbox on the asset. Default `true`. |
|
||||
| `showTitle` | `bool` | Show a title on the gallery page. This is taken from the album title if it is an album being shared, otherwise the "Description" from the shared link will be used. |
|
||||
@@ -216,7 +216,7 @@ Example: show the gallery title and group photos by month:
|
||||
The gallery's lightbox is powered by [PhotoSwipe](https://photoswipe.com/). Configured under `ipp.lightbox`.
|
||||
|
||||
| Option | Type | Description |
|
||||
|----------------|--------|------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
|----------------|----------|------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `showArrows` | `bool` | Show the prev/next arrows on desktop. They appear when the user hovers the lightbox. Default `true`. |
|
||||
| `showDownload` | `bool` | Show a download button in the lightbox toolbar. Only takes effect when downloads are also allowed by `allowDownloadAll`. Default `true`. |
|
||||
| `mobileArrows` | `bool` | Show prev/next arrows on mobile (under 640px viewport). Off by default since swipe is the natural mobile navigation. |
|
||||
|
||||
Reference in New Issue
Block a user