An open-source, web-based viewer for zoomable images, implemented in pure JavaScript.
Go to file
Alistair Buxton 7552806a47 Force reload tiles when the tile's flip doesn't match the image
Flipping an image changes the bounds of each tile. The existing
code assumes that cannot happen. getTile() calculates the tile
bounds the first time it is asked for a particular tile. It then
caches and returns the same time on every subsequent call.

getTile() has a check to test if a tile exists in the cache. If
it does not, the tile is created and inserted. In order to make
tiles be rebuilt after a flip, we only need to check if the tile's
flip matches the image's flip. If not, we can recreate the tile
as if it did not exist.

To make this a bit clearer, the tile's flipped flag is now set
in getTile() rather than positionTile().

This makes setFlip() work.
2021-03-22 06:45:26 +00:00
.github Create FUNDING.yml 2020-12-12 17:15:29 -08:00
.vscode Fix version object not filled. Fix #1024 2017-01-07 17:38:38 +01:00
images Changes back showFlipControl and showNavigator variables to false default state 2018-04-09 15:06:29 +01:00
nbproject Fix formatting on netbeans. 2015-11-26 17:24:37 -05:00
psd Add psd with button source 2017-02-20 20:41:14 +01:00
src Force reload tiles when the tile's flip doesn't match the image 2021-03-22 06:45:26 +00:00
test Force reload tiles when the tile's flip doesn't match the image 2021-03-22 06:45:26 +00:00
.editorconfig Fix editorconfig config. 2015-06-11 10:49:32 -04:00
.eslintrc.hound.json Add eslint and hound 2017-01-16 21:41:07 +01:00
.eslintrc.json stricter linting 2020-06-25 16:01:14 -07:00
.gitignore gitignore update 2019-10-30 13:49:44 -07:00
.hound.yml Remove jshint 2017-01-16 21:44:36 +01:00
.travis.yml Tell travis to install grunt before doing anything else. 2016-01-26 19:14:45 -05:00
changelog.txt Merge branch 'master' into ms-firefox-test 2021-03-18 11:20:51 -07:00
CONTRIBUTING.md Upgraded grunt-contrib-qunit to ^3.1.0 which utilizes pupetter instead of phantomjs 2019-07-17 20:02:40 -04:00
Gruntfile.js Browser sniffing and pointer events fixes and enhancements 2020-07-24 20:05:39 -07:00
LICENSE.txt Include 2010 in "OpenSeadragon contributors" copyright dates 2013-05-13 23:32:09 -04:00
openseadragon.sublime-project Coordinate conversion functions for TiledImage 2014-11-21 16:32:04 -08:00
package-lock.json Merge pull request #1857 from openseadragon/dependabot/npm_and_yarn/lodash-4.17.19 2021-03-15 11:20:25 -07:00
package.json stricter linting 2020-06-25 16:01:14 -07:00
README.md Attempting to fix Gitter badge for npm 2016-05-26 16:00:04 -07:00

OpenSeadragon

Gitter Build Status

An open-source, web-based viewer for zoomable images, implemented in pure JavaScript.

See it in action and get started using it at http://openseadragon.github.io/.

Stable Builds

See the GitHub releases page.

Development

If you want to use OpenSeadragon in your own projects, you can find the latest stable build, API documentation, and example code at http://openseadragon.github.io/. If you want to modify OpenSeadragon and/or contribute to its development, read the contributing guide for instructions.

License

OpenSeadragon is released under the New BSD license. For details, see the LICENSE.txt file.