Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter n7n7

    (@n7n7)

    Thanks. You are very kind.

    Your script works perfectly, and I am now being able to alter the viewport/ threshold.

    One last question: according to your website lazySizesConfig.expand should have a default: 370-500.

    I have been testing the threshold at which the an image I would not like to be loading initially does not load, and this thresh hold is 980 (almost the double of 500), which is supposed to the the maximum default value for lazySizesConfig.expand

    Is really the default value of lazySizesConfig.expand 370-500?

    Thread Starter n7n7

    (@n7n7)

    Thanks. You are very kind.

    It seems that by using lazySizesConfig.expand (default: 370-500), the viewport can be adjusted.

    I was unable to find an example of how to use autoptimize_filter_imgopt_lazyload_jsconfig filter to adjust lazySizesConfig.expand

    Could you please help me find an example? Ex: using autoptimize_filter_imgopt_lazyload_jsconfig filter to adjust viewport to 300 (instead of the deafault of 370-500)

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)