imageScale


Version: Pro

imageScale

type: String

default: "fullSize"

Defines how the main image will be scalled inside it's container.

  1. "fullSize": all images will be scaled to fill the container, centered and cropped.
  2. "fitImage": all images will be scaled to be fitted with the container, centered and resized.
  3. "fitWidth": all images width will be scaled to be fitted with the container's width.
  4. "fitHeight": all images height will be scaled to be fitted with the container's height.
  5. "none": no image scale option applied.

Example:

var myEvoSlider = $("#mySlider").evoSlider({
    imageScale: "fitImage"
});