🎨
Documentation - Ajax Search Lite
Get the PRO version!Download the Lite version for FreeDevelopment
  • Ajax Search Lite for WordPress documentation
  • Search Shortcode
    • Shortcode as a menu item
  • General Options
    • Sources and Basics
    • Search logic
      • Search logics explained
    • Triggers and redirection to results page
    • Results page live loader
    • Ordering
    • Autocomplete & Keyword Suggestions
  • Image Settings
  • Frontend search filters
  • Layout Options
    • Theme and Customization
    • Results layout and fields shown
    • Results box behavior
    • Keyword highlighter
  • Advanced Options
    • Title and Content fields
    • Advanced Title and Content fields
    • Keyword Exceptions
  • Compatibility Settings
    • Javascript Compatibility
Powered by GitBook
On this page
  • Width, height and background position
  • Image sources

Was this helpful?

Image Settings

Live search results images

PreviousAutocomplete & Keyword SuggestionsNextFrontend search filters

Last updated 4 years ago

Was this helpful?

Width, height and background position

Width and height should be numeric values, the pixel prefix is automatically appended. The display mode changes whether the image should cover the whole [width x height] container, or should it be contained respecting the aspect ratio.

Image sources

The plugin parses through the primary, then the alternative image sources, until it finds an image to display. If no image is found, the default image URL is used.

Image number for the parser

By default the first image is returned, whenever the parser finds an image within each source. This feature is useful, when for example there are multiple images within the post contents, and you want to skip the first N of them.

Exclude images by file names

Comma separated list of strings, whenever any of these is found, the image is skipped and the parser proceeds to the next possible image.

Background display mode