• Resolved windsketch

    (@windsketch)


    Hello,

    The href to the download button changed from original image (no suffix -OOOxOOO) to the resized image which based on the width of the browser. The link should not the replaced.

    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.

    • This topic was modified 3 years, 10 months ago by windsketch.
    • This topic was modified 3 years, 10 months ago by windsketch.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter windsketch

    (@windsketch)

    I found that this issue is referred to the javascript from FancyBox, and ended up adding one line

    
    current.opts.image.src =  current.src.replace(/-\d+x\d+.jpg$/, '.jpg');
    

    to change the variable current.opts.image.src when the download button is pressed.

    • This reply was modified 3 years, 10 months ago by windsketch.
    Plugin Author Nikita

    (@nko)

    Hey.

    I don’t see any problems with the Download button link. Can you provide an online example with your gallery?

    Regards, nK.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Download link changed after clicking sharing button’ is closed to new replies.