0

I want images to display in their original size, not stretched. How? How can I disable that.

Anyone who knows the solution please help me.

kapa
  • 77,694
  • 21
  • 158
  • 175
learner
  • 2,099
  • 6
  • 23
  • 32

1 Answers1

3

max_scale_ratio

  • type: Number

  • default: undefined

  • Sets the maximum scale ratio for images. F.ex, if you don't want Galleria to upscale any images, set this to 1.

  • undefined will allow any scaling of the images.

kapa
  • 77,694
  • 21
  • 158
  • 175
learner
  • 2,099
  • 6
  • 23
  • 32