All Projects → shahen94 → React Native Image Fit

shahen94 / React Native Image Fit

Licence: mit
Image Viewer component for RN, similar to Facebook or LinkedIn

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Native Image Fit

Photobox
A lightweight CSS3 image viewer that is pretty to look and and easy to use
Stars: ✭ 735 (+665.63%)
Mutual labels:  image-viewer
Viu
Simple terminal image viewer written in Rust.
Stars: ✭ 911 (+848.96%)
Mutual labels:  image-viewer
Handyview
Handy image viewer based on PyQt5. Convenient for viewing and comparing :-)
Stars: ✭ 60 (-37.5%)
Mutual labels:  image-viewer
Feh
a fast and light image viewer
Stars: ✭ 766 (+697.92%)
Mutual labels:  image-viewer
Compare
image comparison tool
Stars: ✭ 25 (-73.96%)
Mutual labels:  image-viewer
Wbooru
色图事人类科技发展的关键动力(WPF + MEF)
Stars: ✭ 28 (-70.83%)
Mutual labels:  image-viewer
Nomacs
nomacs is a free image viewer for windows, linux, and mac systems.
Stars: ✭ 694 (+622.92%)
Mutual labels:  image-viewer
Jfbview
PDF and image viewer for the Linux framebuffer.
Stars: ✭ 78 (-18.75%)
Mutual labels:  image-viewer
Img Pan Zoom
Image pan zoom element, uses openSeadragon
Stars: ✭ 8 (-91.67%)
Mutual labels:  image-viewer
Mulimgviewer
MulimgViewer is a multi-image viewer that can open multiple images in one interface, which is convenient for image comparison and image stitching.
Stars: ✭ 57 (-40.62%)
Mutual labels:  image-viewer
Chafa
📺🗿 Terminal graphics for the 21st century.
Stars: ✭ 774 (+706.25%)
Mutual labels:  image-viewer
Terminalgraphics.jl
True graphics for your Julia REPL
Stars: ✭ 17 (-82.29%)
Mutual labels:  image-viewer
Viewer
⚠️ [Deprecated] No longer maintained, please use https://github.com/fengyuanchen/jquery-viewer
Stars: ✭ 985 (+926.04%)
Mutual labels:  image-viewer
Simplelightbox
Touch-friendly image lightbox for mobile and desktop
Stars: ✭ 744 (+675%)
Mutual labels:  image-viewer
Imageviewer
HDR, PFM, DDS, KTX, EXR, PNG, JPG, BMP image viewer and manipulator
Stars: ✭ 71 (-26.04%)
Mutual labels:  image-viewer
Qimgv
Qt5 image viewer with optional video support
Stars: ✭ 714 (+643.75%)
Mutual labels:  image-viewer
Lightgallery Desktop
A modern, electron and nodejs based image viewer for Mac, Windows and Linux.
Stars: ✭ 945 (+884.38%)
Mutual labels:  image-viewer
Pix Image Viewer
Desktop image viewer. View thousands of images in a zoomable, pannable grid.
Stars: ✭ 96 (+0%)
Mutual labels:  image-viewer
Imageglass Preview
🏔 A modern, versatile image viewer (preview)
Stars: ✭ 72 (-25%)
Mutual labels:  image-viewer
Rdimageviewercontroller
Simple viewer not only image but also custom view.
Stars: ✭ 49 (-48.96%)
Mutual labels:  image-viewer

react-native-image-fit

ImageViewer component for RN

Installation

$ npm install --save react-native-image-fit

or

$ yarn add react-native-image-fit

Usage

import { ImageViewer } from 'react-native-image-fit';

export const App = () => (
  <ImageViewer
    disabled={false} // by default
    source={require('./photo.png')} // or { url: 'https://...' }
    doubleTapEnabled={true} // by default double tap will zoom image
    onMove={(e, gestureState) => null}
    onPress={(opening) => console.log(opening)}
    mainImageStyle={styles.someStyle}
    zoomedImageStyle={styles.zoomedImageStyle}
    mainImageProps={{
        resizeMode: 'contain'
    }}
    zoomedImageProps={{
        resizeMode: 'contain'
    }}
  />
)

ImageViewer Component example

ezgif-3352117320

If this project was helpful to you, please Buy Me A Coffee

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].