Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mkdocs-image-gallery-plugin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mkdocs-image-gallery-plugin

An MkDocs plugin to generate an image gallery from a folder of images

  • 1.1.1
  • PyPI
  • Socket score

Maintainers
1

MKDocs plugin to autogenerate a gallery based on a folder of images

How to use this plugin?

Add this plugin to your mkdocs.yml configuration as follows:

plugins:
  - image-gallery:
      image_folder: "./assets/images/gallery"  # Folder in the docs directory containing images

Short Code Usage

Add these short codes to any markdown page in your docs to use the image gallery plugin.

Display Preview Gallery {{gallery_preview}}

Display Full Gallery {{gallery_html}}

Simple.

Add to Main Nav

Dont forget to add the page that contains your {{gallery_html}} short code to the main nav config in mkdocs.yml to have a link in the main navigation

Example:

nav:
  - Gallery: gallery.md

The Future

More customization options coming.

Notes

This plugin requires glightbox plugin to display clicked images in a lightbox.

pip install mkdocs-glightbox

Server URLs

Offline plugin causes .html in the gallery urls. This plugin supports both server urls and offline urls.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc