Inspectopedia Help

Image dimensions problems

Detects problems caused by improper image dimension settings.

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

WrsImageSizeInspection
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | Writerside | Content validity

We have three recommended image widths that best fit our layout:

  • 296

  • 460

  • 706

This inspection checks that:

  1. An <img> element has the width attribute.

  2. The width attribute is one of the above values.

  3. Real image dimensions are in acceptable range for its specified width, that is, the image is not stretched or shrunk too much relative to its original size.

Availability

By default bundled with

Writerside 2024.1

Can be installed with plugin

Writerside, 2024.04.241.15989.11

Last modified: 18 June 2024