Skip to content

Commit

Permalink
Remove image map resources (#33922)
Browse files Browse the repository at this point in the history
Fixes #33870

We shouldn't be encouraging image maps, much less plugins to create them
  • Loading branch information
estelle committed Jun 5, 2024
1 parent 542c813 commit cc6591c
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ You aren't done until you test image maps rigorously on many browsers and device

If your image map is wider than about 240px, you'll need to make further adjustments to make your website responsive. It's not enough to resize the image for small screens, because the coordinates stay the same and no longer match the image.

If you must use image maps, you may want to look into [Matt Stow's jQuery plugin.](https://github.com/stowball/jQuery-rwdImageMaps) Alternatively, Dudley Storey demonstrates a way to [use SVG for an image map effect,](https://thenewcode.com/696/Using-SVG-as-an-Alternative-To-Imagemaps) along with a subsequent [combined SVG-raster hack](https://thenewcode.com/760/Create-A-Responsive-Imagemap-With-SVG) for bitmap images.

## Learn more

- {{htmlelement("img")}}
Expand Down

0 comments on commit cc6591c

Please sign in to comment.