themyth92 / ngx-lightbox

Lightbox2 use with angular >= 5
MIT License
115 stars 67 forks source link

feat: button to download picture outside of ngx-lightbox #161

Open pierresh opened 4 months ago

pierresh commented 4 months ago

With this commit, we can receive an event when the end-user clicks on the Download button, and then the download of the picture can be handled in the web app, outside of ngx-lightbox, it is then possible to use an authentication token for example.

rissom commented 4 months ago

Looks good

kindlehub commented 3 months ago

This looks like a great feature, and I would like to get started using it as soon as possible.

pierresh commented 3 months ago

Yes, it would be great if it could be merged and available on npm :)

For the time being, you could unzip and replace this folder in /node_modules/

ngx-lightbox.zip

pierresh commented 2 months ago

Unfortunately, this library seems not maintained anymore. For those interested in this feature I created an npm package (also includes its update to Angular 17).

npm install @pierresh/ngx-lightbox