rem_fotorama_attrs

This filter is responsible for all the settings related to the Gallery Slider, on the Single Property Page. We’re using Fotorama library here.

Default settings that we’re using are defined below

Now suppose you want to add some more settings from Fotorama API, and with this, you also want to modify some of the default values. Let’s say the following settings you need

  • max-width => 1150
  • max-height => 100%
  • ratio => 16/9
  • min-width => 400
  • min-height => 300

You have to paste the following code inside functions.php file of your theme to achieve this