fancybox
fancybox copied to clipboard
Download button download scaled image instead of original one
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.