Giter Club home page Giter Club logo

panzoom-positioning-image-center's Introduction

panzoom-positioning-image-center

Reply to the question http://stackoverflow.com/questions/32583854/

Panzoom is Qjuery image viewer with zoom: https://github.com/timmywil/jquery.panzoom

Download all the repository, open file demo-min.html in your browser. Tested in: Chromium, Firefox.

I've managed to make panzoom position image at center, scaled to the page size. Adding images dynamically is also supported. If you have trouble with displaying the first image, try to load some other with the button. I've added big borders and backgrounds to indicate positions of different elements. However, "Reset" button is not working properly at the moment. Also buttons are fixed and the bottom of the page, but I think the one who wants can move them where it is needed.

panzoom-positioning-image-center's People

Contributors

hcl14 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

alekbless

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.