question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I see an issue in demo page:

  • OSX version 10.12.5
  • Chrome version 61.0.3141.7

Steps to reproduce:

  1. go to the demo page
  2. click on an image to open zooming
  3. try to resize the windows

I’m not sure it’s a bug or a missing feature but here image are not responsive.

If it’s not a bug it could be nice to add this option into zooming.js core, it shouldn’t be difficult to do.

Anyway thanks @kingdido999 for this nice plugin I like it a lot 😄 !

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kingdido999commented, Aug 6, 2017

@jimblue Actually your idea makes a lot of sense to me the more I think about it! Now zoomed image will be closed on window resize (and device orientation change) by default, user can opt-out by setting the new option closeOnWindowResize: false. Please try it out on demo page!

0reactions
jimbluecommented, Aug 8, 2017

working great thanks @kingdido999 !

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Create Responsive Images - W3Schools
Go to our CSS Images Tutorial to learn more about how to style images. Go to our CSS RWD Tutorial to learn more...
Read more >
Responsive images - Learn web development | MDN
In this article, we'll learn about the concept of responsive images — images that work well on devices with widely differing screen sizes, ......
Read more >
Responsive images - web.dev
Give your visitors the most appropriate images for their devices and screens. ... Text on the web automatically wraps at the edge of...
Read more >
CSS Responsive Image Tutorial: How to Make Images ...
Making an image fluid, or responsive, is actually pretty simple. When you upload an image to your website, it has a default width...
Read more >
A Guide to the Responsive Images Syntax in HTML - CSS-Tricks
Optimizing quality: The point of responsive images is loading the smallest, most impactful resource that you can. You can't achieve that without ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found