• Resolved nzfade

    (@nzfade)


    I tried your suggestion after buying the pro version and it didn’t work, even webP files etc were opening directly, instead of the lightbox.

    Is their something I can modify in the source code to enable the avif file, or is the regex the only other available option?

    kind regards, Shaun

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support elviiso

    (@elviiso)

    Hi @nzfade

    We will be deploying a version that will enable FooBox to be able to open AVIF images. However, we do have a workaround for you. Simply add the snippet below to the “Custom JS Options” as shown in this linked image and then save changes:?https://prnt.sc/B7jXsjhYtZi5

    images: { regex: /https?:\/\/.*?\/.*?\.(jpg|jpeg|png|gif|bmp|webp|svg|avif)/i }

    Once added, FooBox will be able to open AVIF images on your site. Thanks

    Kind regards,
    Elvis.

    Thread Starter nzfade

    (@nzfade)

    It works! Thank you!

    • This reply was modified 5 months, 4 weeks ago by nzfade.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.