Image Results

Typification of the image results. Results of this type are rendered in the images.html template.

final class searx.result_types.image.Image(title: str = '', content: str = '', img_src: str = '', iframe_src: str = '', audio_src: str = '', thumbnail: str = '', publishedDate: datetime | None = None, pubdate: str = '', length: timedelta | None = None, views: str = '', author: str = '', metadata: str = '', priority: Literal['', 'high', 'low']='', engines: set[str] = <factory>, open_group: bool = False, close_group: bool = False, positions: list[int] = <factory>, score: float = 0, category: str = '', *, template: str = 'images.html', url: str | None = None, engine: str | None = '', parsed_url: ParseResult | None = None, thumbnail_src: str = '', resolution: str = '', img_format: str = '', source: str = '', filesize: str = '')[source]

Bases: MainResult

Result type suitable for displaying images.

The images are displayed as small thumbnails in the main results list. Clicking on the preview opens a gallery view in which all further metadata for the image is displayed.

thumbnail_src: str

URL of a preview of the image.

resolution: str

The resolution of the image (e.g. 1920 x 1080 pixel)

img_format: str

The format of the image (e.g. png).

source: str

Source of the image.

filesize: str

Size of bytes in human readable notation (e.g. 1MB for 1024*1024 Bytes filesize).