{"id":15622424,"url":"https://github.com/davidjbradshaw/image-map-resizer","last_synced_at":"2025-12-12T03:04:55.369Z","repository":{"id":14205029,"uuid":"16911706","full_name":"davidjbradshaw/image-map-resizer","owner":"davidjbradshaw","description":"Responsive HTML Image Maps","archived":false,"fork":false,"pushed_at":"2023-09-16T09:35:34.000Z","size":202,"stargazers_count":818,"open_issues_count":14,"forks_count":223,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-05-15T09:06:33.389Z","etag":null,"topics":["image-map","imagemap","jquery","resize","resizer","responsive","responsive-image-map","responsive-images"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidjbradshaw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null},"funding":{"github":"davidjbradshaw","custom":["https://www.buymeacoffee.com/davidjbradshaw"],"tidelift":"npm/image-map-resizer"}},"created_at":"2014-02-17T12:10:59.000Z","updated_at":"2025-05-06T15:39:53.000Z","dependencies_parsed_at":"2023-07-13T15:16:22.524Z","dependency_job_id":"739ffe8a-aa80-40ee-8a24-47b1e7c3b1e0","html_url":"https://github.com/davidjbradshaw/image-map-resizer","commit_stats":{"total_commits":137,"total_committers":12,"mean_commits":"11.416666666666666","dds":"0.26277372262773724","last_synced_commit":"1db38d6c006f8747526dadef0499fded6434862f"},"previous_names":["davidjbradshaw/imagemap-resizer"],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidjbradshaw%2Fimage-map-resizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidjbradshaw%2Fimage-map-resizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidjbradshaw%2Fimage-map-resizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidjbradshaw%2Fimage-map-resizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidjbradshaw","download_url":"https://codeload.github.com/davidjbradshaw/image-map-resizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310515,"owners_count":22049469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["image-map","imagemap","jquery","resize","resizer","responsive","responsive-image-map","responsive-images"],"created_at":"2024-10-03T09:53:58.299Z","updated_at":"2025-12-12T03:04:50.091Z","avatar_url":"https://github.com/davidjbradshaw.png","language":"JavaScript","funding_links":["https://github.com/sponsors/davidjbradshaw","https://www.buymeacoffee.com/davidjbradshaw","https://tidelift.com/funding/github/npm/image-map-resizer","https://www.paypal.me/davidjbradshaw"],"categories":[],"sub_categories":[],"readme":"# Image Map Resize\n[![npm version](https://badge.fury.io/js/image-map-resizer.svg)](http://badge.fury.io/js/image-map-resizer)\n![license](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat) \n[![Blazing](https://img.shields.io/badge/speed-blazing%20%F0%9F%94%A5-brightgreen.svg?style=flat)](https://twitter.com/acdlite/status/974390255393505280)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.paypal.me/davidjbradshaw)\n\n*This is a simple library that makes HTML Image Maps responsive, so that they automatically stay scaled to the size of the image they are attached to. It detects the window being resized and updates the co-ordinates of the image map accordingly.*\n\n*This library can be used with or without jQuery.*\n\n### Native JS Usage\n\nInclude the [imageMapResizer.min.js](https://raw.github.com/davidjbradshaw/imagemap-resizer/master/js/imageMapResizer.min.js) script then add the following call to the bottom of your page:\n\n```js\nimageMapResize();\n```\n\nOptionally, you can pass a CSS selector that returns a collection of map tags. For example, 'map.myMap' or a direct reference to a map object in the DOM. This function returns an array of map elements that it has been bound to.\n\n\n### jQuery Usage\n\nInclude [jQuery](http://jquery.com) and the [imageMapResizer.min.js](https://raw.github.com/davidjbradshaw/imagemap-resizer/master/js/imageMapResizer.min.js) script and then add the following call to the bottom of your page:\n\n```js\n$('map').imageMapResize();\n```\n\nOr you may want to wrap it in a `$(document).ready()` function:\n\n```js\n$(document).ready(function() {\n    $('map').imageMapResize();\n});\n```\n\n### WordPress\nThere is a port of this library to WordPress made by @iankevinmcdonald\nhttps://wordpress.org/plugins/add-image-maps/\n\n### License\nCopyright \u0026copy; 2014-19 [David J. Bradshaw](https://github.com/davidjbradshaw) - Licensed under the [MIT license](http://opensource.org/licenses/MIT)\n\n[![NPM](https://nodei.co/npm/image-map-resizer.png)](https://nodei.co/npm/image-map-resizer/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidjbradshaw%2Fimage-map-resizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidjbradshaw%2Fimage-map-resizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidjbradshaw%2Fimage-map-resizer/lists"}