Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hi @mferrante83,

    Thank you for your message.

    The plugin does not change the URLs to the images. Original images are available everywhere. A redirect is performed while the image is loading. When the browser tries to download an image file, the server checks if it supports the AVIF format (if enabled in the plugin settings). If so, the browser will receive an equivalent of the original image in AVIF format. If it does not support AVIF, but supports the WebP format, the browser will receive an equivalent of the original image in WebP format. If the browser does not support either WebP or AVIF, the original image is loaded. This means full support for all browsers.

    If Facebook downloads an image and sends an Accept header containing the value “image/webp”, then the WebP file is loaded. If it does not send such a header, the original image is loaded.

    Could you give me your website URL? I will check if everything works properly.

    Best,
    Mateusz

    Thread Starter mferrante83

    (@mferrante83)

    I’m pretty sure that OGP just reads the url and doesn’t actually download anything.

    We are stuck with passthru since, due to circumstances beyond my control we’re on an IIS server.
    You can see a post here: https://www.franklintwp.org/2023/06/09/audiobooks-for-meditation-and-mindfulness/

    Here are the OGP tags for that post, my understanding is that for whatever is listed in the meta tag for og:image the mime type must be image/jpeg, image/gif or image/png.

    
      <!-- HTML Meta Tags -->
      <title>Audiobooks for Meditation and Mindfulness</title>
      <meta name="description" content="While our monthly online meditation class for last night (Thursday, 6/8) was rescheduled, we have many other great resources available that can help start or maintain your meditation practice. Chec…">
    
      <!-- Facebook Meta Tags -->
      <meta property="og:url" content="https://www.franklintwp.org/2023/06/09/audiobooks-for-meditation-and-mindfulness/">
      <meta property="og:type" content="website">
      <meta property="og:title" content="Audiobooks for Meditation and Mindfulness">
      <meta property="og:description" content="While our monthly online meditation class for last night (Thursday, 6/8) was rescheduled, we have many other great resources available that can help start or maintain your meditation practice. Chec…">
      <meta property="og:image" content="https://www.franklintwp.org/wp-content/webpc-passthru.php?src=https://www.franklintwp.org/wp-content/uploads/2023/06/Meditation-Audiobooks-6-9-23-No-Text.png&nocache=1">
    
      <!-- Twitter Meta Tags -->
      <meta name="twitter:card" content="summary_large_image">
      <meta property="twitter:domain" content="franklintwp.org">
      <meta property="twitter:url" content="https://www.franklintwp.org/2023/06/09/audiobooks-for-meditation-and-mindfulness/">
      <meta name="twitter:title" content="Audiobooks for Meditation and Mindfulness">
      <meta name="twitter:description" content="While our monthly online meditation class for last night (Thursday, 6/8) was rescheduled, we have many other great resources available that can help start or maintain your meditation practice. Chec…">
      <meta name="twitter:image" content="https://www.franklintwp.org/wp-content/webpc-passthru.php?src=https://www.franklintwp.org/wp-content/uploads/2023/06/Meditation-Audiobooks-6-9-23-No-Text.png&nocache=1">
    
      <!-- Meta Tags Generated via https://www.opengraph.xyz -->
            
    • This reply was modified 2 years, 8 months ago by mferrante83.
    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @mferrante83 If you are using Pass Thru mode it looks different. I assumed you were using the default plugin settings. Using Pass Thru mode this will unfortunately not work properly.

    Do you have access to the web.config file from the IIS server and am I able to modify it? If so, please send it to me by e-mail: hello(at)mattplugins.com, due to the fact that it may contain confidential information. I will check it and try to prepare special rules for you to enable support for your IIS server.

    Best,
    Mateusz

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Open Graph Protocol and Webp’ is closed to new replies.