The bogus-image-options error is when an image is detected to use an invalid option. For example in the code [[File:Example.jpg|foo|bar|baz]]
, "foo
" and "bar
" are invalid options, and "baz
" shows up as the caption.
Help:Images has details on the supported image options, including a few notes about the quirky behavior of some of the parameters.
Some of the known bugs in the Linter bogus file options detection are mentioned in, but not limited to:
Some other supported file types such as video and multi-page formats (e.g. pdf) are also checked.
Common errors include:
[[File:Example.jpg|thumb|right|thumb]]
→ [[File:Example.jpg|thumb|right]]
[[File:Example.jpg|thumb|right|150px|left]]
→ [[File:Example.jpg|thumb|right|150px]]
|alt=
or in the caption. (Remove the line break to fix the error.)[[File:Example.jpg|thumb||right]]
→ [[File:Example.jpg|thumb|right]]
[[File:Example.jpg|thumb|right|Intended alt text|Caption text]]
→ [[File:Example.jpg|thumb|right|alt=Intended alt text|Caption text]]
[[File:Example.jpg|thumb|right|225|Caption text]]
→ [[File:Example.jpg|thumb|right|225px|Caption text]]
[[File:Example.jpg|thumb|fight|Caption text]]
→ [[File:Example.jpg|thumb|right|Caption text]]
left
, right
, thumb
, or ###px
(any unlabeled pixel size) within <gallery>...</gallery>
tags. To fix, remove ###px
, left
, right
, thumb
. Set pixel dimensions for the gallery using instructions at Help:Images .px
value with frame
(remove the px value to fix the error).pxpx
in a size value (remove the extra "px" to fix the error).The following tools can help fix bogus image options:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4