Skip to content

Commit

Permalink
new
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris-B committed Aug 6, 2013
0 parents commit c64d126
Show file tree
Hide file tree
Showing 42 changed files with 5,918 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
215 changes: 215 additions & 0 deletions .gitignore
@@ -0,0 +1,215 @@
#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results

[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
*.ncrunch*
.*crunch*.local.xml

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.Publish.xml
*.pubxml

# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/

# Windows Azure Build Output
csx
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
App_Data/*.mdf
App_Data/*.ldf

#############
## Windows detritus
#############

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Mac crap
.DS_Store


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg
151 changes: 151 additions & 0 deletions README.md
@@ -0,0 +1,151 @@
nanoGALLERY for GetSimple
===========

Image gallery for the GetSimple CMS.
A powerful and easy to setup GetSimple plugin for displaying image galleries, with support for pulling in Flickr and Picasa/Google+ photo albums. Mobile-friendly and responsive.
Images are shown as clickable thumbnails, which will expand to full view via a modal popup window. Support custom themes.

Key features
--------
- Display image galleries from multiple data sources
- Slideshow
- Quick and easy setup
- Automatic thumbnails
- Display image captions and descriptions
- Breadcrumb for easy navigation in Flickr photosets or Picasa/Google+ albums
- Multiple galleries on one page
- Include pre-built themes
- Support for custom themes
- Customizable
- Responsive layout - mobile friendly
- Ignore desired albums or photosets (by keyword blacklisting)
- Possible image sources :
* Flickr account
* Picasa/Google+ account


Demonstration
-------------

[Go to the demonstration site](http://www.nanogallery4gs.brisbois.fr/)

Usage
-----

To display an image gallery insert a code like this one in a GetSimple page :

``` HTML
(%nanogallery userID=PicasaUserID%)
```

Replace PicasaUserID with your Picasa/Google+ user ID.

Note: syntax is case sensitive.

Example:

``` HTML
(%nanogallery userID=cbrisbois@gmail.com%)
```


History:
-----

* v3.1.3 - new : built-in themes
* v3.1.2 - bug fix multiple galleries on one page, new : javascript is now a jQuery plugin
* v3.1.1 - bug fix for IE on Windows Phone (thanks Gregor!), new option to force load jQuery
* v3.1.0 - added support of Flickr
* v3.0.1 - first public release


Installation
-----
Download the zip file. Extract the content of the zip file into the GetSimple 'plugins' directory.


Syntax and options
------------------
Arguments are separated by ```&```. Following arguments are supported

### General arguments
* ```displayCaption``` : ```true``` / ```false``` - display or not the title of the images (optional)
* ```thumbnailHeight``` : integer - Height in pixels of the thumbnails (optional)
* ```thumbnailWidth``` : integer - Width in pixels of the thumbnails (optional)
* ```theme``` : name of the theme ```light``` ```largedark``` ```largelight``` - the corresponding css-file must also be included in the html file (optional)

### Picasa/Google+ specific arguments
* ```userID``` : user ID of the Picasa/Google+ account (mandatory)
* ```kind``` : ```picasa``` - set the storage type (mandatory)
* ```album``` : album ID - to display only the specified album
* ```displayBreadcrumb``` : ```true``` / ```false``` - display or not the navigation breadcrumb
* ```blackList``` : list of keywords to ignore - album containing one the keyword in the title will be ignored. Keywords separator is '|'. (optional)

### Flickr specific arguments
* ```userID``` : user ID of the Flickr account (mandatory)
* ```kind``` : ```flickr``` - set the storage type (mandatory)
* ```photoset``` : photoset ID - to display only the specified photoset
* ```displayBreadcrumb``` : ```true``` / ```false``` - display or not the navigation breadcrumb
* ```blackList``` : list of keywords to ignore - photoset containing one the keyword in the title will be ignored. Keywords separator is '|'. (optional)




### Picasa/Google+ example:

Display albums from the user cbrisbois@gmail.com. Thumbnail size : 300x200 pixels.

```
(%nanogallery userID=cbrisbois@gmail.com&thumbnailWidth=300&thumbnailHeight=200%)
```

Display albums from the user cbrisbois@gmail.com. Thumbnail size : 300x200 pixels. Ignore album containing 'scrapbook' or 'profil' in the title.

```
(%nanogallery userID=cbrisbois@gmail.com&thumbnailWidth=300&thumbnailHeight=200&blackList=scrapbook|profil%)
```



### Flickr example:

Display albums from the user Kris_B (34858669@N00). Thumbnail size : 300x200 pixels.

```
(%nanogallery kind=flickr&userID=34858669@N00&thumbnailWidth=300&thumbnailHeight=200%)
```

Display albums from the user 34858669@N00. Thumbnail size : 300x200 pixels. Ignore album containing 'scrapbook' or 'profil' in the title.

```
(%nanogallery kind=flickr&userID=34858669@N00&thumbnailWidth=300&thumbnailHeight=200&blackList=scrapbook|profil%)
```


Debug mode
----------

To enable the debug mode:

* go to the GetSimple ```plugin``` directory
* rename the file ```nanogallery3_debug.off``` to ```nanogallery3_debug.on```

To disable the debug mode:

* go to the GetSimple ```plugin``` directory
* rename the file ```nanogallery3_debug.on``` to ```nanogallery3_debug.off```


Requirements
------------
* GetSimple CMS version 3.1 or superior
* Javascript must be enabled

Third party tools
-----------------
* jQuery
* fancybox2, credits: Janis Skarnelis


[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/de295d45496c01bb871078aac2bcfcac "githalytics.com")](http://githalytics.com/Kris-B/nanoGALLERY)

0 comments on commit c64d126

Please sign in to comment.