Vaadin-Blueimp Image Gallery

A Vaadin 7 component for the Blueimp Image Gallery

License

License

Categories

Categories

Vaadin User Interface Web Frameworks
GroupId

GroupId

com.github.lotsabackscatter
ArtifactId

ArtifactId

vaadin-blueimp-gallery
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Vaadin-Blueimp Image Gallery
A Vaadin 7 component for the Blueimp Image Gallery
Project URL

Project URL

https://github.com/lotsabackscatter/vaadin-blueimp-gallery
Source Code Management

Source Code Management

https://github.com/lotsabackscatter/vaadin-blueimp-gallery

Download vaadin-blueimp-gallery

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.lotsabackscatter/vaadin-blueimp-gallery/ -->
<dependency>
    <groupId>com.github.lotsabackscatter</groupId>
    <artifactId>vaadin-blueimp-gallery</artifactId>
    <version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.lotsabackscatter/vaadin-blueimp-gallery/
implementation 'com.github.lotsabackscatter:vaadin-blueimp-gallery:1.0'
// https://jarcasting.com/artifacts/com.github.lotsabackscatter/vaadin-blueimp-gallery/
implementation ("com.github.lotsabackscatter:vaadin-blueimp-gallery:1.0")
'com.github.lotsabackscatter:vaadin-blueimp-gallery:jar:1.0'
<dependency org="com.github.lotsabackscatter" name="vaadin-blueimp-gallery" rev="1.0">
  <artifact name="vaadin-blueimp-gallery" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.lotsabackscatter', module='vaadin-blueimp-gallery', version='1.0')
)
libraryDependencies += "com.github.lotsabackscatter" % "vaadin-blueimp-gallery" % "1.0"
[com.github.lotsabackscatter/vaadin-blueimp-gallery "1.0"]

Dependencies

compile (4)

Group / Artifact Type Version
com.vaadin : vaadin-server jar 7.1.15
com.google.code.findbugs : jsr305 jar 2.0.3
com.google.guava : guava jar 17.0
com.google.code.gson : gson jar 2.2.4

Project Modules

There are no modules declared in this project.

Vaadin Blueimp Image Gallery

Add the Blueimp Image Gallery to your Vaadin 7 Application.

Build Status

Download

Download the latest release via Maven Central:

<dependency>
    <groupId>com.github.lotsabackscatter</groupId>
    <artifactId>vaadin-blueimp-gallery</artifactId>
    <version>1.0</version>
</dependency>

Or Download the latest SNAPSHOT via the Sonatype Maven Repository:

<repositories>
    <repository>
        <id>oss-sonatype</id>
        <name>oss-sonatype</name>
        <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

...

<dependency>
  <groupId>com.github.lotsabackscatter</groupId>
  <artifactId>vaadin-blueimp-gallery</artifactId>
  <version>1.1-SNAPSHOT</version>
</dependency>

Usage

Simply create a layout and add the Gallery component to it!

VerticalLayout layout = new VerticalLayout();
Gallery gallery = new Gallery();
layout.addComponent(gallery);

Then, just create the images and show the gallery!

Image apple = new Image.Builder().title("Apple")
        .href("apple.jpg")
        .thumbnail("thumbs/apple.jpg").build();
        
Image banana = new Image.Builder().title("Banana")
        .href("banana.jpg")
        .thumbnail("thumbs/banana.jpg").build();        

gallery.showGallery(apple, banana);

Developed By

License

Copyright 2014 Dylan Watson.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Versions

Version
1.0