Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vanjacosic/jquery-somewheregallery

A simple jQuery plugin for displaying sparks from Somewhere (http://somewherehq.com)
https://github.com/vanjacosic/jquery-somewheregallery

Last synced: 1 day ago
JSON representation

A simple jQuery plugin for displaying sparks from Somewhere (http://somewherehq.com)

Awesome Lists containing this project

README

        

jquery-somewheregallery
================

A simple jQuery plugin for displaying sparks from Somewhere (http://somewherehq.com)

Made by Vanja Cosic from Opbeat (http://opbeat.com) for the guys at Somewhere and everyone else!

## Usage

1. Include jQuery on your page:

```html

```

2. Include the plugin:

```html

```

3. Initialize the plugin:

```javascript
$('.element').somewhereGallery({
profile: 'profilename'
});
```

The file `demo.html` also demonstrates usage of the plugin.

## Options

### Required options

- **profile**: (string) - The Somewhere profile to show sparks from.

### Other options

- **imageSize**: (string, options: `'image'`, `'profile_image'`, `'avatar_image'`, `'talk_image'`)
- **debug**: (boolean, default: `false`) - Show logging data for development and testing purposes.
- **baseURL**: (string, default: `'http://somewherehq.com/'`) - Base API url, shouldn't be changed.

## Changelog

See the changelog on the [Releases page](https://github.com/vanjacosic/jquery-somewheregallery/releases).

## Compatibility

jQuery SomewhereGallery has so far been test with jQuery 1.8+ on following browsers:

* Chrome 27+ (Mac)
* Firefox 22+ (Mac)
* Safari 6+ (Mac)

More testing to come.

## License

This software is made freely available under the open source MIT License.