Create Zoom effect on Image with mouseover Using Jquery and CSS

Zooming effect of Image on mouse over is basically useful for ecommerce website using Jquery and CSS for display of product image. Zoom effect on image can also be added with use of jquery plugins.Zoom effect makes image animation effect attractive enlargement on mouse over on image. Now let’s discuss in detail how to achieve zoom effect on image with jquery plugin likely used in ecommerce website product image. To use this plugin you must keep some point remembers that you must use different dimesion or scale of image based on requirement of zooming.

zoomeffect - PHPCluster
zoomeffect – PHPCluster

Here we have three different dimension of images as follows:
i) Thumbnail (140×140)
ii) Standard (640×360)
iii) Zoom (1280X720)
Now, here we see how some line of code gives zoom effect with Jquery plugins.

<!DOCTYPE html>
<html lang="en">
<!-----------------------Presented By>

	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1" />

	<title>Zoom Effect of Image Using Jquery and CSS - PHPCluster</title>
<!--CSS Files -->
	<link rel="stylesheet" href="css/example.css" />
	<link rel="stylesheet" href="css/easyzoom.css" />

	<div class="Zoom-box">
    <section id="example">

				Zoom Effect of Image Using Jquery and CSS

			<div class="easyzoom easyzoom--overlay easyzoom--with-thumbnails">
				<a href="images/img/IMG_20140512_163851.jpg">
					<img src="images/img/IMG_20140512_163851.jpg" alt="" width="645" height="365" />

			<ul class="thumbnails">
					<a href="images/img/IMG_20140512_163851-zoom.jpg" data-standard="images/img/IMG_20140512_163851-standard.jpg">
						<img src="images/img/IMG_20140512_163851-thumbnail.jpg" alt="" />
					<a href="images/img/3_zoom_2.jpg" data-standard="images/img/3_standard_2.jpg">
						<img src="images/img/3_thumbnail_2.jpg" alt="" />
					<a href="images/img/3_zoom_3.jpg" data-standard="images/img/3_standard_3.jpg">
						<img src="images/img/3_thumbnail_3.jpg" alt="" />
					<a href="images/img/3_zoom_4.jpg" data-standard="images/img/3_standard_4.jpg">
						<img src="images/img/3_thumbnail_4.jpg" alt="" />

	//Script files
	<script src=""></script>
	<script src="js/easyzoom.js"></script>
		// Instantiate EasyZoom instances
		var $easyzoom = $('.easyzoom').easyZoom();

		// Setup thumbnails example
		var api1 = $easyzoom.filter('.easyzoom--with-thumbnails').data('easyZoom');

		$('.thumbnails').on('click', 'a', function(e) {
			var $this = $(this);


			// Use EasyZoom's `swap` method
			api1.swap($'standard'), $this.attr('href'));

		// Setup toggles example
		var api2 = $easyzoom.filter('.easyzoom--with-toggle').data('easyZoom');

		$('.toggle').on('click', function() {
			var $this = $(this);

			if ($"active") === true) {
				$this.text("Switch on").data("active", false);
			} else {
				$this.text("Switch off").data("active", true);