All Projects → BenjaminBrandmeier → Angular2 Image Gallery

BenjaminBrandmeier / Angular2 Image Gallery

Licence: mit
Image Gallery built with Angular 8+, node.js and GraphicsMagick

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Angular2 Image Gallery

React Alice Carousel
React responsive component for building content galleries, content rotators and any React carousels
Stars: ✭ 419 (+45.49%)
Mutual labels:  gallery, image-gallery
React Upload Gallery
React for Upload Image Gallery. Drag & Drop, Sortable, Customize.
Stars: ✭ 33 (-88.54%)
Mutual labels:  gallery, image-gallery
React Viewer
react image viewer, supports rotation, scale, zoom and so on
Stars: ✭ 502 (+74.31%)
Mutual labels:  gallery, image-gallery
angular-super-gallery
AngularJS super image gallery
Stars: ✭ 46 (-84.03%)
Mutual labels:  gallery, image-gallery
Gallery shell
📷 Bash Script to generate static responsive image web galleries.
Stars: ✭ 198 (-31.25%)
Mutual labels:  gallery, image-gallery
Filterizr
✨ Filterizr is a JavaScript library that sorts, shuffles and filters responsive galleries using CSS3 transitions ✨
Stars: ✭ 546 (+89.58%)
Mutual labels:  gallery, image-gallery
Lightgallery.js
Full featured JavaScript image & video gallery. No dependencies
Stars: ✭ 5,168 (+1694.44%)
Mutual labels:  gallery, image-gallery
Chevereto Free
Self-hosted Image Hosting solution. Start your own Flickr/imgur alternative with your own rules.
Stars: ✭ 2,275 (+689.93%)
Mutual labels:  gallery, image-gallery
Ubergallery
An easy to use, simple to manage, web photo gallery written in PHP.
Stars: ✭ 189 (-34.37%)
Mutual labels:  gallery, image-gallery
React Awesome Slider
React content transition slider. Awesome Slider is a 60fps, light weight, performant component that renders an animated set of production ready UI general purpose sliders with fullpage transition support for NextJS and GatsbyJS. 🖥️ 📱
Stars: ✭ 2,343 (+713.54%)
Mutual labels:  gallery, image-gallery
react-native-image-page
react-native image-carousel with zoom-pan gestures and full-screen support, work on both iOS and Android
Stars: ✭ 19 (-93.4%)
Mutual labels:  gallery, image-gallery
React Image Gallery
React carousel image gallery component with thumbnail support 🖼
Stars: ✭ 2,946 (+922.92%)
Mutual labels:  gallery, image-gallery
pigallery
PiGallery: AI-powered Self-hosted Secure Multi-user Image Gallery and Detailed Image analysis using Machine Learning, EXIF Parsing and Geo Tagging
Stars: ✭ 35 (-87.85%)
Mutual labels:  gallery, image-gallery
ngx-image-gallery
Probably the best Angular 4+ modal and inline image gallery. Angular upgrade for ng-image-gallery.
Stars: ✭ 80 (-72.22%)
Mutual labels:  gallery
react-gesture-gallery
a react image gallery with gesture support
Stars: ✭ 14 (-95.14%)
Mutual labels:  gallery
basicSlider
A slider in its purest form.
Stars: ✭ 27 (-90.62%)
Mutual labels:  gallery
Vue Image Lightbox
A Vue component to display an image gallery lightbox
Stars: ✭ 258 (-10.42%)
Mutual labels:  image-gallery
image-uploader
Simple Drag & Drop image uploader plugin to static forms, without using AJAX
Stars: ✭ 70 (-75.69%)
Mutual labels:  gallery
gatsby-theme-gallery
🏞 A Gatsby Theme for adding a gallery to your site.
Stars: ✭ 40 (-86.11%)
Mutual labels:  gallery
ios-permissions-service
An easy way to do permissions requests & handling automatically.
Stars: ✭ 25 (-91.32%)
Mutual labels:  gallery

Angular 2 Image Gallery

Build Status BrowserStack Status npm version npm downloads

----> compatible with Angular 8+ <----

Responsive image gallery designed for high resolution images.

The project consists of a gallery, a viewer and a script for image preparation.

Before using the gallery, you have to process all of your images that will be part of your gallery with the convert script. The processed images will be stored to your applications assets or, if you wish, at a remote location. During runtime everything runs client-side and there is no separate server-side communication involved. The viewer takes care an optimal image quality is served based on the screen resolution.

Demo

https://oidamo.de/gallery-demo.html

How to use the gallery in your project

Pre-requirements

Install graphicsmagick: http://www.graphicsmagick.org/README.html#installation

Embed in your project

1. Install angular2-image-gallery

npm install angular2-image-gallery --save
npm install hammerjs --save

2. Import angular2-image-gallery in your Angular module

imports: [
  Angular2ImageGalleryModule
],

3. Add hammer.js for support of mobile devices

Add the following line to your main.ts file:

import 'hammerjs';

4. Run convert script

node node_modules/angular2-image-gallery/convert.js <path/to/your/images>

Add a flag to define the order of the images inside the gallery

-n sort by file name (default)

-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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].