Gallery for scout24

This is a simple image gallery.

Just create an instance of the Gallery class with the following parameters:

  • galleryContainerId: id of the element the gallery should be appended to
  • imageURLs: array of image urls
  • firstImageIndex: index of the gallery start image (starts with zero) [optional]
  • minHeight: minimal height in pixel [optional]

Example: https://jsfiddle.net/maximilian_lindsey/3ku7b4L3/