Skip to content

GIF image format fails and displays a fallback 11ty image #280

Description

@murtuzaalisurti

11ty: v3.0
11ty-image: v6.0.1

Image definition (in markdown):

![alt](https://res.cloudinary.com/dfue3cfts/image/upload/v1738860609/Syntackle/Posts/Screen_Cast_2025-02-06_at_10.18.49_PM_nrhnla.gif)

Plugin definition:

eleventyConfig.addPlugin(eleventyImageTransformPlugin, {
    formats: ["avif", "gif", "webp", "png", "jpeg"],
    sharpOptions: {
        animated: true,
    }
});

Output (getting a 500):

<picture>
    <source type="image/webp" srcset="/.11ty/image/?src=https%3A%2F%2Fres.cloudinary.com%2Fdfue3cfts%2Fimage%2Fupload%2Fv1738860609%2FSyntackle%2FPosts%2FScreen_Cast_2025-02-06_at_10.18.49_PM_nrhnla.gif&amp;width=680&amp;format=webp&amp;via=transform 680w">
    <img src="/.11ty/image/?src=https%3A%2F%2Fres.cloudinary.com%2Fdfue3cfts%2Fimage%2Fupload%2Fv1738860609%2FSyntackle%2FPosts%2FScreen_Cast_2025-02-06_at_10.18.49_PM_nrhnla.gif&amp;width=680&amp;format=gif&amp;via=transform" alt="deepseek model with a vscode extension named cline" width="680" height="1472">
</picture>

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions