Comments (4)
Good, thank you @casto101.
I am going to look into this for new releases.
from react-bnb-gallery.
Hi there, thank you so much for this package! My team is using the
ReactBnbGallery
Hi @casto101, thank you and your team for using this component.
but we have some tall and narrow images with text that need to be zoomed in on to be visible.
Could you please give me an example of what is happening to understand better this issue?
It would be awesome to be able to pass a zoom option to
GalleryPhoto
.
I think that I have an idea of it but it could be very useful if you can provide an image or a demo.
Alternatively, maybe
Gallery
could accept children and render a different image component instead ofGalleryPhoto
so that it could be zoomed?
Good idea, sounds like a feature and could be very helpful for other people.
from react-bnb-gallery.
This is an example of our use case. The image in the app is high resolution (1261px x 10861px), but due to its dimensions you really can't see what's in the image without zooming in.
I think an ideal UX would be similar to Google Maps, where there is a zoom in/out button in the controls, and it would be great if we could magnify to close to the image's original size. I've done some research on other libraries, and found that some also use native-like gestures to manage the zoom interaction. React Spring Lightbox is an example that uses the mousewheel and pinch to zoom. I also think it would be possible to use a different image rendering library (one with magnification) alongside React Bnb Gallery if you wanted to modify Gallery or GalleryPhoto to be a wrapper for a passed in image component.
from react-bnb-gallery.
I'm having the same issue. Some way to zoom into the images would be really cool. Could maybe also be achieved with a loupe!
from react-bnb-gallery.
Related Issues (20)
- Seem like you forgot to add "light" Props to typescript HOT 1
- zIndex prop is not bind correctly HOT 2
- activePhotoPressed not working in firefox
- The styles are not loaded after buld the entire project HOT 9
- Gallery not vertically centered on small screens HOT 1
- Error in the 'Getting Started' Example (missing wrapping element) HOT 3
- Set Relative Path in photo array HOT 1
- Missing react-bnb-gallery/dist/style.css HOT 2
- Image is missing alt HOT 3
- Pinch-to-Zoom on mobile triggers next image load HOT 1
- Thumbnails on 2 rows
- "wrap" option misleading
- Is there any way to disable full screen or add another div to the side HOT 1
- React 17 support HOT 5
- Incorrect thumbnail border HOT 1
- Support for locale HOT 2
- Support to add buttons
- Expect to use lodash-es instead of lodash HOT 2
- React 17.0.0 not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-bnb-gallery.