Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter modernwp

    (@modernwp)

    Thanks for looking at this… the function is definitely in and targeting the right page, but Jetpack is still serving the images… How can I debug this, could it be something to do with how the image is handled in my page template? Or possibly a page caching / Cloudflare issue?

    I am using Timber, the image I want to stop Jetpack deploying is handled like this… (also shown on this link, the top-right building image) https://millco.co.uk/studios/

    {% set imageS = Image(post.feature_image) %}
    <img class="object-cover w-screen h-screen " src="{{ imageS.src }}" alt="{{ imageS.alt }}"/>

    Which leads me to ask — ideally I would target images to skip Jetpack by CLASS —?not individually or by page or post ID, is this possible?

    thanks!

    • This reply was modified 3 years, 1 month ago by modernwp.
    • This reply was modified 3 years, 1 month ago by modernwp.
Viewing 1 replies (of 1 total)