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

galiria

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

galiria

minimal image gallery

  • 1.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Galiria

Galiria is a minimal js and css image gallery.

Galiria gif

How to use it

Get the source using:

npm install galiria --save

bower install galiria --save

Include the minified .css and .js files in your .html file, and create an instance of Galiria with new Galiria().

Create a <div class="galiria">, and for each image, create a <figure> element with its <img> tag and <figcaption> and you should be on the go.

Just like this example:

<!DOCTYPE html>
<html>
<head>
  <title>Example</title>
  <!-- this is basic functionality of container. please use it. -->
  <link rel="stylesheet" href="components/galiria/build/galiria.min.css">

  <!-- this can be edited to fit your styling needs. -->
  <link rel="stylesheet" href="components/galiria/build/galiria.theme.min.css">
</head>
<body>
  <div class="galiria">
    <figure>
      <img src="http://placehold.it/1024x640">
      <figcaption>Figure Caption 1</figcaption>
    </figure>
    <figure>
      <img src="http://placehold.it/1024x640">
      <figcaption>Figure Caption 2</figcaption>
    </figure>
  </div>

  <script src="components/galiria/build/galiria.min.js"></script>
  <script>new Galiria()</script>
</body>
</html>

Keywords

FAQs

Package last updated on 14 Dec 2015

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