Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Download button download scaled image instead of original one #2590

Open
civita opened this issue May 5, 2021 · 0 comments
Open

Download button download scaled image instead of original one #2590

civita opened this issue May 5, 2021 · 0 comments

Comments

@civita
Copy link

civita commented May 5, 2021

Hello,
I use Fancybox in Wordpress, and found that the href to the download button changed from original image (no suffix) to the resized image (xxx-2048x2048.jpg for example) after any button (left, right, share, etc.) is clicked. The size of image is based on the width of the browser. The link should not be replaced. The reason might be that current.opts.image.src or current.src is not updated to the original image after other button is clicked.

This issue can be reproduced by clicking any button with narrow width window and then click download button.

If more information regrading this is needed, please let me know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant