question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Q: how to keep the zoom constant for a sequence of images?

See original GitHub issue

i have a squence of images, i want if i zoom one of these images, the images after it can keep the zoom constant and fixed position? i know sequenceMode: true, preserveViewport: true, can solve the priblem. But, i show different DZi images like belows

function change(){
 OpenSeadragon({	
	 //$("#aa").mousedown(function(){ 
	    //OpenSeadragon({	
              id: "openSeadragon1", //the div taht will be showed
              prefixUrl: "./images/",
			  sequenceMode: true,
			  preserveViewport:true,
              tileSources: [{
              Image: {
              xmlns:  "http://schemas.microsoft.com/deepzoom/2009",
              Url: src[i],
              Overlap: "1",
              TileSize: "256",
              Format : "png",
              Size:{
                 Height: "3635",
                 Width:  "13352"
                   }  
                     }
					 }]
              });
		 }}
window.setInterval("change()",200)

so, the sequence mode does not work, is there other solution?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
iangilmancommented, Jul 13, 2017

Not really, unless you want to build master from this repository. At any rate, we’re expecting to release tomorrow.

1reaction
iangilmancommented, Jul 7, 2017

To avoid the flickering, you’ll have to use the multi-image API rather than sequence mode. Here’s an example: https://codepen.io/iangilman/pen/PjdyGv

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I keep images zoomed at the same level ... - Super User
Open the first image. Zoom to the desired level and position. On the IrfanView menu bar, select View->Lock Zoom (Shift+L) and View->Keep Scroll...
Read more >
Zooming and panning within a fixed-size frame
Step 1: Nest your still image. Step 2: double click on the nested sequence. Step 3: animate with keyframe. Don't resize.
Read more >
Keep zoom level for sequence of images - HoloViz Discourse
Anyway, I noticed that when I zoom into an image area of a stack of images for which I conveniently get a slider...
Read more >
How to make the aspect ratio of the zoom-in window fixed?
So I'm using AppDesigner to dipslay a sequence of 2D images. ... to keep the aspect ratio of the image constant when zooming...
Read more >
How to maintain page background image zoom fixed? CSS
Specify background-size:widthpx heightpx and when the browser zooms you need to detect the zoom scale (see How to detect page zoom level in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found