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.
We have three recommended image widths that best fit our layout:
296
460
706
This inspection checks that:
An
<img>
element has thewidth
attribute.The
width
attribute is one of the above values.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.
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Writerside, 2024.04.241.15989.11 |