• Resolved 408wij

    (@408wij)


    I often use SVG-formatted images for my posts’ hero. They don’t seem to get converted to thumbnails right. E.g., transparent mapped to white. If I’m correct, the easiest fix would be to skip converting these to thumbnails and use them as is because they’re scalable.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hey @408wij,

    The plugin only supports the following formats: jpg, jpeg, png, gif, webp and avif. SVGs are not currently supported.

    If you’re familiar with WordPress development in general (or know someone who is) there’s the wpp_render_image hook that you could use to programmatically replace the regular IMG tag returned by WPP with your SVG.

    Thread Starter 408wij

    (@408wij)

    Thanks for the info. SVG actually works for me (I have some kind or SVG plugin.) other than the resizing have a glitch. Honestly, I’ll live with it or manually replace the relevant thumbnail as needed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.