test-angular2-image-gallery
v1.0.0
Published
[](https://travis-ci.org/BenjaminBrandmeier/angular2-image-gallery) 
-d sort chronologically by the original creation time (e.g. for coverages of a wedding)
-c sort by primary image color
Additional optional parameter to support multiple galleries. Add it if you want to put your images into a separate gallery.
--gName=yourGalleryName
5. Embed gallery in your template
<gallery
[flexBorderSize]="3"
[flexImageSize]="7"
[galleryName]="'yourGalleryName'"
[maxRowsPerPage]="100"
(viewerChange)="yourNotificationFunction($event)">
</gallery>All parameters are optional. You may play around on the demo site to find out what parameters suit your needs.
The viewerChange event notifies you when the viewer component gets opened or closed.
That's it, start your application and have a look!
Fetching images from an external data source
If you'd like to know how you could fetch your images from an external data source CLICK HERE
I don't want to use the convert script and provide my own metadata JSON
This is possible, but not the intent of this project. Please CLICK HERE
Currently used tools
- Angular 7.0.0
- NodeJS 8.11.2
- graphicsmagick
Troubleshooting
If the conversion process fails, make sure you have enough swap space provided.
If you experience any other issues, please raise an issue on GitHub.
