jQuery Image Inner Zoom & Magnifier Plugin | okzoom

OKZoom is a jQuery plugin that produces a portable lens of variable size and shape. All other jQuery ‘magnify zoom‘ plugins we’ve encountered implement a square zoomed area.

jquery magnify image on hover, magnify zoom, zoom plugin image, css zoom image magnifier, image inner zoom css, image magnifier jquery

JQuery-Based Magnifying Glass Effect | BUP.js

How to make use of it:

1. Load the jQuery okzoom plugin after loading the jQuery library.

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="src/okzoom.js"></script>

2. Add an image to your document.

<img id="example" src="demo.jpg">

3. Connect to the plug-in on the image and set up the magnifier options.

  width: 200,
  height: 200,
  border: "1px solid black",
  shadow: "0 0 5px #000"

4. All options are default.


  width: 150,
  height: 150,

  // optionally resize the loupe image
  scaleWidth: null

  // round loupe if true, square if false
  round: true,

  // color for image off the edge of the loupe
  background: "#fff",

  // repeat the image within the loupe
  backgroundRepeat: "no-repeat",

  // box-shadow on the loupe
  shadow: "0 0 5px #000",

  // border around the loupe
  border: 0



width(in pixels}150
height(in pixels}150
scaleWidthoptionally resize the loupe imagenull
rounda round loupe if true, square if falsetrue
backgroundcolor for image off the edge of the loupe#fff
backgroundRepeatrepeat the image within the loupeno-repeat
borderborder around the loupe0
shadowbox-shadow on the loupe0 0 5px #000

Lightweight Image Inner Zoom & Magnifier Plugin, OKZoom by OKFocus Plugin/Github

See Demo And Download

Official Website(okfocus): Click Here

This superior jQuery/javascript plugin is developed by okfocus. For extra Advanced usage, please go to the official website.

Related Posts


Responsive Image Gallery Lightbox jQuery Plugin | VenoBox

VenoBox is a responsive jQuery modal window plugin suitable for images, embedded content, iFrames, Google Maps, Vimeo, and YouTube videos. The big difference compared to many other…


[Animation] Bootstrap Multi-Level Responsive Dropdown Menu

Bootstrap-based multi-level dropdown navigation menu with cool animations. The dropdown on Hover is a jQuery plugin used to create Bootstrap multi-level scroll-triggered dropdown menus with CSS3 animations…


HTML 5 File Input Optimized for Bootstrap 4.x./3.x with File Preview | Bootstrap Fileinput

bootstrap-fileinput is an improved HTML 5 file input  Bootstrap 5.x, 4.x and 3.x with file preview for different files, provides multiple selections, resumable section uploads, and more….


Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…


Simple Alert, Confirm, Prompt Popup Using Vanilla JavaScript Library | attention.js

JavaScript provides various built-in functionality to display popup messages for different purposes. Attention JS is a vanillaJS plugin used to create a custom alert, confirm, or Prompt…


Lightweight Bootstrap 4 Toast Notification Plugin | BS4 Advanced Toast

A lightweight Bootstrap 4 Toast Notification plugin integrated with JS/jQuery. bs4-toast.js is a JavaScript library that enhances the native Bootstrap toast component with icons, buttons, callbacks, and…

Leave a Reply

Your email address will not be published. Required fields are marked *