• Resolved ww_hoax

    (@ww_hoax)


    You have added following: “Added logic to conditionally load JavaScript only on pages where Photonic is being invoked”. I want to use photonic also for none-photonic images. Is it possible to disable the condition. Many thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Use the shortcode block in Gutenberg editor and write the string defined in the Photonic generic settings -> Custom shortcode, e.g. [photonic]

    Plugin Author Sayontan

    (@sayontan)

    Interesting problem and very innovative solution! I hadn’t thought about either when I added this feature.

    Regardless I am going to add an option for you to override this option, and I will include the solution above for people who want to keep their pages light.

    Plugin Author Sayontan

    (@sayontan)

    I have made a new option available, under Photonic → Settings → Generic Options → Generic Settings → Include Photonic JS for non-Photonic Images / Videos? to help override the conditional inclusion. That being said, I really like @hupe13’s suggestion, which is an easy way to keep your pages light and achieve the outcome you desire.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New Condition’ is closed to new replies.