Extension:LightGallery/pl
Appearance
Status wydania: stabilne |
|
|---|---|
| Realizacja | Interfejs użytkownika |
| Opis | A simple and fancy FancyBox alternative |
| Autor(zy) | Nikolay Filippov (Soljkddyskusja) |
| Ostatnia wersja | 0.0.2 (2019-06-07) |
| MediaWiki | 1.25+ |
|
|
|
| Licencja | Licencja GNU General Public License 3.0 wyłącznie |
| Pobieranie | GitHub:
Uwaga: |
The LightGallery extension displays thumbnailed images in modal window that floats overtop of web page. This can create a more user friendly environment, where the user doesn't leave the page every time they click a thumbnail.
Instalacja
- Download i umieść plik(i) w katalogu o nazwie
LightGalleryw swoim kataloguextensions/. - Dodaj poniższy kod na dole twojego pliku LocalSettings.php:
require_once "$IP/extensions/LightGallery/LightGallery.php";
Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Konfiguracja
You can set LightGallery options by setting a $lgLightGalleryOptions variable in LocalSettings.php after including the extension in LocalSettings.php.
- Example
require_once "$IP/extensions/LightGallery/LightGallery.php";
$lgLightGalleryOptions = '{thumbnail: true, mode: "lg-fade", getCaptionFromTitleOrAlt: true, subHtmlSelectorRelative: true, animateThumb: false, showThumbByDefault: false }';
Użycie
To initialize the gallery, use the class .LightGallery on your <gallery>.
<gallery class="LightGallery">
file:images1.png|desc
file:images2.png
file:images3.png
</gallery>
User rights
This project includes LightGallery is licensed under GPLv3 GNU GPL license v3 license.
