All Projects → egoist → Zoom Image

egoist / Zoom Image

Licence: mit
Medium's Image Zoom (no dependencies, IE 10+)

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Zoom Image

Mimetic
Scalable Fonts & Zoom Detection
Stars: ✭ 24 (-75.26%)
Mutual labels:  zoom
Extended image
A powerful official extension library of image, which support placeholder(loading)/ failed state, cache network, zoom pan image, photo view, slide out page, editor(crop,rotate,flip), paint custom etc.
Stars: ✭ 1,021 (+952.58%)
Mutual labels:  zoom
Metasearch
Search aggregator for Slack, Google Docs, GitHub, and more 🔍
Stars: ✭ 81 (-16.49%)
Mutual labels:  zoom
React Prismazoom
A pan and zoom component for React, using CSS transformations.
Stars: ✭ 29 (-70.1%)
Mutual labels:  zoom
Zoomrip
⚰️ Ваша конференция в Zoom не состоится
Stars: ✭ 36 (-62.89%)
Mutual labels:  zoom
Logisim
Logisim Italian Fork
Stars: ✭ 61 (-37.11%)
Mutual labels:  zoom
Image Zoom
🔎 Medium.com style image zoom for React 🔍
Stars: ✭ 920 (+848.45%)
Mutual labels:  zoom
React Fit To Viewport
Stars: ✭ 92 (-5.15%)
Mutual labels:  zoom
Panzoom
Universal pan and zoom library (DOM, SVG, Custom)
Stars: ✭ 1,003 (+934.02%)
Mutual labels:  zoom
React Inner Image Zoom
A React component for zooming images.
Stars: ✭ 76 (-21.65%)
Mutual labels:  zoom
React Pan Zoom
Generic html wrapper for pan and zoom feature for react canvas like components
Stars: ✭ 31 (-68.04%)
Mutual labels:  zoom
Class bot
An Automated Background Python bot that notifies you during your classes when your name is called or the keywords "present"/"attendance" are called out.
Stars: ✭ 36 (-62.89%)
Mutual labels:  zoom
Ecola
Tree editor for touch screens
Stars: ✭ 64 (-34.02%)
Mutual labels:  zoom
Zoomy
Zoomy is an easy to use pinch-to-zoom Android library
Stars: ✭ 842 (+768.04%)
Mutual labels:  zoom
Night
Weekly Go Online Meetup via Bilibili|Go 夜读|通过 bilibili 在线直播的方式分享 Go 相关的技术话题,每天大家在微信/telegram/Slack 上及时沟通交流编程技术话题。
Stars: ✭ 10,058 (+10269.07%)
Mutual labels:  zoom
Zoom
Google Room Persistence Library Extend.谷歌官方Room数据库扩展库
Stars: ✭ 23 (-76.29%)
Mutual labels:  zoom
Handyview
Handy image viewer based on PyQt5. Convenient for viewing and comparing :-)
Stars: ✭ 60 (-38.14%)
Mutual labels:  zoom
Mapbox Gl Controls
Stars: ✭ 93 (-4.12%)
Mutual labels:  zoom
Photo view
📸 Easy to use yet very customizable zoomable image widget for Flutter, Photo View provides a gesture sensitive zoomable widget. Photo View is largely used to show interacive images and other stuff such as SVG.
Stars: ✭ 1,280 (+1219.59%)
Mutual labels:  zoom
Efimageviewzoom
DEPRECATED 🌃 A very simple IBDesignable UIImageView with pinch zoom swift
Stars: ✭ 71 (-26.8%)
Mutual labels:  zoom

zoom-image

NPM version NPM downloads donate

This is a fork of [nishanths/zoom.js] (https://github.com/nishanths/zoom.js) which is a vanilla js implementation of fat/zoom.js, I'm making the fork because the original one never works with a bundler and I don't know how to fix it there.

And the size of original version is 5.42 kB , while this is 3.7K.

Install

yarn add zoom-image

To use in browser, include following JS and CSS in your page, then you can invoke window.zoom to setup the image!

https://unpkg.com/zoom-image/css/zoom-image.css
https://unpkg.com/zoom-image/js/zoom-image.js

Usage

To use with a bundler like webpack:

import zoom from 'zoom-image'
import 'zoom-image/css/zoom-image.css'

zoom(document.querySelector('img'))

To destroy the listener for the img:

const destroyZoom = zoom(document.querySelector('img'))

// when you no longer need it
// eg: in a SPA component, call:
destroyZoom()

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

zoom-image © egoist, Released under the MIT License.
Authored and maintained by egoist with help from contributors (list).

egoistian.com · GitHub @egoist · Twitter @rem_rin_rin

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].