Jump to content

Extension:LightGallery/pl

From mediawiki.org
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page Extension:LightGallery and the translation is 27% complete.
Podręcznik rozszerzeń MediaWiki
LightGallery
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+

  • $lgLightGalleryOptions
Licence Licencja GNU General Public License 3.0 wyłącznie
Pobieranie

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 LightGallery w swoim katalogu extensions/.
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    require_once "$IP/extensions/LightGallery/LightGallery.php";
    
  • Yes 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.