Skip to content

nibreh/yellow-plugin-justified-gallery

Repository files navigation

Justified Gallery plugin for Yellow 0.7.7

EXPERIMENTAL PLUGIN

Based on Justified Gallery v3.7.0 by Miro

Justified Gallery is a JavaScript library that allows you to create an high quality justified gallery of images.

This plugin comes in addition to Gallery plugin and you must have jQuery plugin on your site.

Screenshot

How to install plugin

  1. Download and install Datenstrom Yellow.
  2. Download and install Gallery Plugin.
  3. Download and install jQuery Plugin
  4. Download plugin. If you are using Safari, right click and select 'Download file as'.
  5. Copy master.zip into your system/plugins folder.

To uninstall delete the plugin files.

How to use Justified Gallery

Justified Gallery comes in addition to Gallery plugin. You don't have to do nothing, just use the gallery shortcut the same way as usual.

[gallery photo-album/]
[gallery photo-album/.*jpg]
[gallery photo-album/.*jpg - 70%]

How to configure Justified Gallery

It's not the perfect plugin because you can't configure Justified Gallery with shortcut.

You can custom justified gallery on line 26 in system/plugins/justifiedgallery.php:

Take a look to the documentation on the official website.

By default, this plugin use this configuration:

rowHeight : 200,
lastRow : 'nojustify',
margins : 3,
waitThumbnailsLoad:true

Tips

You must found balance between width of your site, width/quality of your pictures & rowHeight with Justified Gallery on line 26.

You don't have to use xx% if your pictures are < 500ko. This is enough for the Web.

In fact, It is generally recommended this config for pictures on a website:

  • pictures must be smaller than 500ko
  • 1280px is enough
  • Quality 70% is enough

You can do all this with ImageMagick.

Developers

Juh Nibreh for this plugin.
Miro Mannino for Justified Gallery Javascript (MIT Licence)

About

OBSOLETE - Justified Gallery by Miro for Yellow CMS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages