• Resolved CharlesDerre

    (@brakkar)


    Hello,
    I’m using ACF form plugin to have users upload their image in the media library, so I believe they will be properly treated and recognized by jetpack image acceleration CDN.

    I then call images with wp_get_attachment_image.

    Since I code the front end and the way image are displayed, are there any Jetpack css classes I should wrap the images in to benefit from responsiveness, gallery display and such? Is there a document to learn all features available for css image display?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor James Huff

    (@macmanx)

    We don’t add any extra CSS to simply inserted images.

    We do add CSS to our tiled galleries, but that can be overridden by your theme.

    So, in this case, I recommend using your browser’s developer tools to identify the proper CSS selectors: https://wordpress.com/dailypost/2013/07/25/css-selectors/

    Thread Starter CharlesDerre

    (@brakkar)

    Hi James,
    thank you for your answer.

    I will do that to find the proper css.

    Can you please clarify how you recognize images that will be included in the acceleration CDN? It’s really mysterious to me.

    I have a plugin where the images don’t get picked up other where they do… what’s the requirements for the images to get in there?
    I assumed it was recognition of css and ids on the fly with JS.

    Plugin Contributor James Huff

    (@macmanx)

    If an image appears in post or page content, it will be served from our CDN: https://jetpack.com/support/site-accelerator/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image and galleries responsive wrappers’ is closed to new replies.