<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tilezoom Archives | WebCodingStudio</title>
	<atom:link href="https://webcodingstudio.com/blog/tag/tilezoom/feed" rel="self" type="application/rss+xml" />
	<link>https://webcodingstudio.com/blog/tag/tilezoom</link>
	<description></description>
	<lastBuildDate>Wed, 02 Dec 2015 15:44:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.14</generator>

<image>
	<url>https://webcodingstudio.com/wp-content/uploads/2020/04/cropped-favicon-32x32.png</url>
	<title>Tilezoom Archives | WebCodingStudio</title>
	<link>https://webcodingstudio.com/blog/tag/tilezoom</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>jQuery TileZoom Plugin</title>
		<link>https://webcodingstudio.com/blog/jquery-tilezoom-plugin</link>
					<comments>https://webcodingstudio.com/blog/jquery-tilezoom-plugin#comments</comments>
		
		<dc:creator><![CDATA[Evgeny Matsakov]]></dc:creator>
		<pubDate>Sat, 07 Jul 2012 09:22:31 +0000</pubDate>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tilezoom]]></category>
		<guid isPermaLink="false">https://webcodingstudio.com/?p=300</guid>

					<description><![CDATA[<p>The <strong>jQuery TileZoom Plugin</strong> is an image zoom plugin which uses image tiles and provides a convenient way to zoom in and zoom out of high-resolution images.</p>
<p>The plugin provides a method called <strong>tilezoom</strong> which is invoked on a container element.<br />
It's simple html and javascript. Plugin doesn't use canvas element, that is why it works with IE browsers too!</p>
<p>Tiles for the image should be generated with <a href="http://labs.webcodingstudio.com/uploads/php/tilegenerator.zip">TileGenerator</a> (modified version of <a rel="nofollow external" href="https://github.com/openzoom/deepzoom.php">PHP Deep Zoom Tools</a>) for this.</p>
<p>The post <a href="https://webcodingstudio.com/blog/jquery-tilezoom-plugin">jQuery TileZoom Plugin</a> appeared first on <a href="https://webcodingstudio.com">WebCodingStudio</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The <strong>jQuery TileZoom Plugin</strong> is an image zoom plugin which uses image tiles and provides a convenient way to zoom in and zoom out of high-resolution images.<br />
See <a href="http://labs.webcodingstudio.com/tilezoom/index.html" rel="nofollow external">demo</a> page with 2 examples: <a href="http://labs.webcodingstudio.com/tilezoom/2dollars.html" rel="nofollow external">2 Dollars (7356 x 3146)</a> and <a href="http://labs.webcodingstudio.com/tilezoom/mona-lisa.html" rel="nofollow external">Mona Lisa (2835 x 4289)</a>.</p>
<h3>How it Works</h3>
<p>The plugin provides a method called <strong>tilezoom</strong> which is invoked on a container element.<br />
It&#8217;s simple html and javascript. Plugin doesn&#8217;t use canvas element, that is why it works with IE browsers too!</p>
<p>Tiles for the image should be generated with <a rel="nofollow external" href="http://www.openzoom.org/">OpenZoom</a> tile generator. You can use our <a href="http://labs.webcodingstudio.com/uploads/php/tilegenerator.zip">TileGenerator</a> (modified version of <a rel="nofollow external" href="https://github.com/openzoom/deepzoom.php">PHP Deep Zoom Tools</a>) for this.<br />
Then specify XML file path or path to tiles directory with width and height image resolution options. That&#8217;s all what you need.</p>
<h3>How to use</h3>
<p>Be sure to include the JQuery library. And just add this code inside your page head:</p>
<pre data-language="html" class="code">
&lt;link type="text/css" rel="stylesheet" media="all" href="tilezoom/jquery.tilezoom.css" />
&lt;script type="text/javascript" src="tilezoom/jquery.tilezoom.js">&lt;/script>
</pre>
<h3>Commands</h3>
<p>The <strong>tilezoom</strong> function can be called in the following form: </p>
<pre data-language="js" class="code">
$(document).ready(function(){
  $('#container').tilezoom('command');
});
</pre>
<p>The following command strings are supported:</p>
<pre data-language="js" class="code">
'init'   // init tilezoom, default method
'destroy' // destroy tilezoom and unbinds all events
'zoom'  // zoom image to the specified level
</pre>
<h3>Basic examples of usage:</h3>
<pre data-language="js" class="code">
$(document).ready(function(){
  $('#container').tilezoom({
    width: 2835,
    height: 4289,
    path: 'dest/mona_lisa_files',
    mousewheel: true
  });
});
</pre>
<pre data-language="js" class="code">
$(document).ready(function(){
  $('#container').tilezoom({
    xml: 'dest/2dollars.xml',
    mousewheel: true
  });
});
</pre>
<h3>Options</h3>
<p>The following default options are provided by the plugin. They can be overridden by passing an options object to the <strong>tilezoom</strong> method.</p>
<pre data-language="js" class="code">
var defaults = {
  width: null, // original image width in pixels. *(required) if no xml file
  height: null, // original image height in pixels *(required) if no xml file
  path: null, // tiles directory. *(required) if no xml file
  xml: null, // xml file with settings generated with Deep Zoom Tools
  tileSize: 254, // tile size in pixels
  overlap: 1, // tiles overlap
  thumb: 'thumb.jpg', // thumbnail filename
  format: 'jpg', // image format
  speed: 500, // animation speed (ms)
  easing: 'swing', // animation easing (jquery easing function name)
  mousewheel: false, // requires mousewheel event plugin: http://plugins.jquery.com/project/mousewheel
  gestures: false, // requires hammer.js event plugin, https://github.com/hammerjs/hammer.js
  zoomToCursor: true, // stay the same relative distance from the edge when zooming
  offset: '20%', //boundaries offset (px or %). If 0 image move side to side and up to down
  dragBoundaries: true, // If we should constrain the drag to the boundaries
  minZoomLevel: 0, // can't zoom out past level [minZoom]
  maxZoomLevel: 9999, // can't zoom in past level [maxZoom]
  wrapZoom: true, // If we're at the high level of resolution, go back to the start level
  beforeZoom: function($cont) {}, // callback before a zoom happens
  onZoom: function($cont, progress) {}, // callback for each zoom animation step
  afterZoom: function($cont) {}, // callback after zoom has completed
  callBefore: function($cont) {}, // this callback happens before dragging starts
  callAfter: function($cont, coords) {}, // this callback happens at end of drag after released "mouseup"
  initialized: function($cont) {}, // this callback happens after tilezoom  has been fully initalized.
  navigation: true, // navigation container ([true: show nav controls] or [false: don't show nav controls] or [DOM selector to insert controls in])
  zoomIn: null, // zoomIn button
  zoomOut: null, // zoomOut button
  goHome: null, // goHome button, reset to default state
  toggleFull: null // toggleFull button
}
</pre>
<h3>Documentation</h3>
<p><a href="http://labs.webcodingstudio.com/tilezoom/docs.html" rel="nofollow external">Here</a> you can find more info about jQuery TileZoom Plugin.</p>
<h3>Demos and Examples</h3>
<ul>
<li><a href="http://labs.webcodingstudio.com/tilezoom/2dollars.html">2 Dollars (<em>7356 x 3146</em>)</a></li>
<li><a href="http://labs.webcodingstudio.com/tilezoom/mona-lisa.html">Mona Lisa (<em>2835 x 4289</em>)</a></li>
</ul>
<h3>Try</h3>
<p>On this <a href="http://labs.webcodingstudio.com/tilegenerator/" rel="nofollow external">TileGenerator</a> demo page you can try to upload your own image and see jQuery TileZoom Plugin in action.</p>
<h3>Download</h3>
<table>
<thead>
<tr>
<th>Version</th>
<th>Downloads</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<tr class="ok">
<td>jQuery TileZoom Plugin 1.2</td>
<td><a href="http://labs.webcodingstudio.com/uploads/jquery/tilezoom-1.2.zip">zip (21.82 KB)</a></td>
<td>2015-December-02</td>
</tr>
<tr class="warning">
<td>jQuery TileZoom Plugin 1.1.1</td>
<td><a href="http://labs.webcodingstudio.com/uploads/jquery/tilezoom-1.1.1.zip">zip (21.66 KB)</a></td>
<td>2014-February-04</td>
</tr>
<tr class="warning">
<td>jQuery TileZoom Plugin 1.1</td>
<td><a href="http://labs.webcodingstudio.com/uploads/jquery/tilezoom-1.1.zip">zip (21.62 KB)</a></td>
<td>2012-October-11</td>
</tr>
<tr class="ok">
<td>TileZoom Examples</td>
<td><a href="http://labs.webcodingstudio.com/uploads/jquery/tilezoom_examples.zip">zip (36.73 MB)</a></td>
<td>2011-December-12</td>
</tr>
<tr class="ok">
<td>TileGenerator 1.01</td>
<td><a href="http://labs.webcodingstudio.com/uploads/php/tilegenerator-1.01.zip">zip (69.09 MB)</a></td>
<td>2014-July-10</td>
</tr>
<tr class="warning">
<td>jQuery TileZoom Plugin 1.0</td>
<td><a href="http://labs.webcodingstudio.com/uploads/jquery/tilezoom-1.0.zip">zip (19.96 KB)</a></td>
<td>2011-November-25</td>
</tr>
<tr class="warning">
<td>TileGenerator 1.0</td>
<td><a href="http://labs.webcodingstudio.com/uploads/php/tilegenerator-1.0.zip">zip (69.46 MB)</a></td>
<td>2011-December-12</td>
</tr>
</tbody>
</table>
<p>Or you can download latest release on <a href="https://github.com/ematsakov/tilezoom" rel="nofollow external">Github</a>.</p>
<h3>Changelog</h3>
<p>jQuery TileZoom 1.2, 2015-December-02<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Various modernization and flexibility enhancements ( Thanks to <a rel="nofollow external" href="https://github.com/fortinmike">Michaël Fortin</a> )<br />
Most useful changes are:<br />
&#8211; Mouse input is not disabled when a touchscreen is detected (mouse input didn&#8217;t work with Windows devices with seldom-used touchscreens).<br />
&#8211; Using Hammer.js for more robust multi-touch input instead of dnaielglyde/TouchIt<br />
&#8211; Added onZoom callback (called for each zoom step)<br />
&#8211; Removed dependency on ES6 feature (yield, which didn&#8217;t bring much to the table anyway).</p>
<p>TileGenerator 1.01, 2014-July-10<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8211; Fixed exif_read_data error.</p>
<p>jQuery TileZoom 1.1.1, 2014-February-04<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8211; Added &#8220;initialized&#8221; callback which happens after tilezoom plugin has been fully initalized.</p>
<p>jQuery TileZoom 1.1, 2012-October-11<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8211; Add touch gesture support (jQuery required dependency:<br />
<a href="https://github.com/danielglyde/TouchIt" rel="nofollow external">https://github.com/danielglyde/TouchIt</a>). Supports pinch to zoom in and<br />
out, double tapping to zoom and tap dragging<br />
&#8211; Add a gestures property and sets to false (just like mousewheel).<br />
&#8211; Add dragBoundaries boolean to optionally turn off constraining image<br />
to boundaries while dragging<br />
&#8211; Add double-click to zoom-in<br />
&#8211; Fix unbind the mousemove on mouse up<br />
&#8211; Add public resize() method if the container resizes<br />
&#8211; Fix issue where certain mousewheels (or trackpads) were giving a<br />
non-interger based delta were causing it to scale the holder to an<br />
un-even level (images would fail)<br />
&#8211; Add optimization to not re-zoom if we&#8217;re already at the correct level<br />
&#8211; Add CSS support for default navigation always showing with gestures on<br />
<small>Thanks to Matt Moore for all of these issues fixed.</small><br />
===<br />
&#8211; Fix issue &#8220;position: fixed;&#8221; on some Android 2.x devices.<br />
<small>Thanks to <a href="https://github.com/ericente" rel="nofollow external">ericente</a></small></p>
<p>The post <a href="https://webcodingstudio.com/blog/jquery-tilezoom-plugin">jQuery TileZoom Plugin</a> appeared first on <a href="https://webcodingstudio.com">WebCodingStudio</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://webcodingstudio.com/blog/jquery-tilezoom-plugin/feed</wfw:commentRss>
			<slash:comments>303</slash:comments>
		
		
			</item>
	</channel>
</rss>
