• Resolved dleigh

    (@dleigh)


    The Divi Contact Form Helper provides a “confirmation email” function to respond to people filling out an on-line form. In the body of the confirmation email, if there is an image, the email will not actually be sent if SG Optimizer’s Lazy Load functionality is activated. I have tried the exception on the IMG tag by adding a class name to the tag and to the exception list in SG Optimizer, but that doesn’t result in the email being sent. ONLY turning Lazy Load off seems to work. My thought is that somehow Lazy Load is keeping the body of the confirmation email from loading so that the body appears empty to the form plugin and so no email is sent.

    Am I putting the CSS class in the wrong place (i.e. it should not be on the IMG tag but further up the DOM hierarchy?)? Would there be another explanation to this maybe?

    Thanks for any clarity you might be able to give as to how this is functioning under the covers.

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

    (@preslavkenanov)

    Hello @dleigh,

    The issue you are describing appears to be quite specific to your website and its configuration. As such, for us to be able to help, it would be best if you get in touch directly with our support team if you are a SiteGround client. This will allow us to review your setup, replicate the issue and assist further.

    As for the actual exclusion of images, classes, or post types from the Lazy Load functionality of the Speed Optimizer plugin, you can use the custom filters we have created for this purpose which you can find out here:

    https://siteground.com/tutorials/wordpress/speed-optimizer/custom-filters/#Plugin_Compatibility

    King Regards,

    Preslav

    Thread Starter dleigh

    (@dleigh)

    Thank you so much for your help. I was able to use the snippet for excluding a specific URL from the filters on that page you suggested and that worked as I needed it to.

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