
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
angular2-image-gallery
Advanced tools
----> compatible with Angular 19 (and older versions) <----
Responsive image gallery designed for high resolution images.
The project consists of a gallery (+ viewer) and a script for image preparation.
https://oidamo.de/blog/gallery-demo
Before Using the gallery, you have to process all of your images with the convert script.
The processed images will be stored to your applications assets.
The viewer takes care of an optimal image quality being served based on the users screen resolution.
Follow the instructions: http://www.graphicsmagick.org/README.html#installation
npm install angular2-image-gallery hammerjs --save
imports: [
...,
Angular2ImageGalleryModule,
HammerModule
],
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
-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
<gallery
[flexBorderSize]="3"
[flexImageSize]="7"
[galleryName]="'yourGalleryName'"
[maxRowsPerPage]="100"
(viewerChange)="yourNotificationFunction($event)"
[includeViewer]="true"
[lazyLoadGalleryImages]="true"
></gallery>
All parameters are optional.
Fetching your images from an external data source: CLICK HERE
This is possible, but not the intent of this project. Please CLICK HERE
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.
FAQs
Responsive Angular 19 image gallery
We found that angular2-image-gallery demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.