https://github.com/gerd-siebert/ngx-ratio-image
An Angular lib to show an image with variable ratio in container with a fixed ratio.
https://github.com/gerd-siebert/ngx-ratio-image
Last synced: 13 days ago
JSON representation
An Angular lib to show an image with variable ratio in container with a fixed ratio.
- Host: GitHub
- URL: https://github.com/gerd-siebert/ngx-ratio-image
- Owner: gerd-siebert
- License: mit
- Created: 2023-06-16T09:15:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-17T00:11:24.000Z (2 months ago)
- Last Synced: 2025-10-05T09:28:23.117Z (23 days ago)
- Language: TypeScript
- Size: 4.76 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- fucking-awesome-angular - ngx-ratio-image - An Angular library to show an image with variable ratio in container with a fixed ratio. (Third Party Components / Images)
- awesome-angular - ngx-ratio-image - An Angular library to show an image with variable ratio in container with a fixed ratio. (Third Party Components / Images)
README
# RatioImage
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.1.0.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.