Giter VIP home page Giter VIP logo

kirby-gallerygrid's Introduction

Version 1.0.0 - 2016-04-22

  • Initial Public Offering...

Version 1.2.5 - 2016-04-24

  • Toggle grid / list view
  • Minor bugfixes
  • Better CSS logic
  • FontAwesome icon for files
  • Minified assets

Version 1.2.7 - 2016-07-04

  • Bugfix when no images are present

What is it?

Kirby - GalleryGrid enables you to see a live preview of every image in the file-panel.

More info about Kirby can be found at http://getkirby.com

##Installation##

  • Download the .zip-file and extract it to the root of your site.
  • The plug-in acts as a field, so it must be place in the site\fields folder of your site.
  • Once the "plug-in" is placed in the right directory, add the GalleryGrid field to every blueprint you want to.
  • There is an example blueprint included in the .zip-file, but basically the field is used like this;
fields:

  gallerygrid:
    type: gallerygrid

Since the field itself is not visible, it doesn't matter where you place it in the blueprint (on top, or below... it doesn't matter).

That's it - all blueprints with this field (or plug-in) will now show a preview of an image / file, instead of a text-list.


##Configuration##

The plug-in (or field) does have a simple configuration option.

You can set the size of the previe-thumbnail, in your config.php file (an example is included in the .zip-file).

  • s : 50x50 px
  • m : 75x75 px (Kirby default)
  • l : 100x100 px

In your config.php you can set one of the above options like this;

c::set("kirbyGalleryGrid", "m");

Kirby will render all thumbnails in the size, set by the config-file.


Kirby - GalleryGrid

Version 1.0.0


Kirby - GalleryGrid

Version 1.2.5

kirby-gallerygrid's People

Contributors

dmotion avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.