forked from vimalavinisha/angular2-image-popup
-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom DownloadUrl #211
Comments
good idea to create a dedicated issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a...
As per #183 (comment)
Current behavior
Calling modalGalleryService.open with the option config.libConfig.currentImageConfig.downloadable: true results in a download button on the page which downloads the file specified in modal.img
Expected behavior
It would be great that the download button downloads the "extUrl" or another property than "img".
Maybe a "downloadUrl" property which takes priority over img when specified.
What is the motivation / use case for changing the behavior?
The reason behind this is that we show a resized image on the Webapp and allow the download of the full sized image.
Environment (the most important section to fill very carefully)
The text was updated successfully, but these errors were encountered: