Skip to content

10.0.8 next/image double images #22929

@kush-agra

Description

@kush-agra

What version of Next.js are you using?

10.0.8

What version of Node.js are you using?

15.2.0

What browser are you using?

Chrom, Safari, Firefox

What operating system are you using?

macOS

How are you deploying your application?

next start

Describe the Bug

Many of the images show up duplicated after being compressed from next/image and also have a greenish hue to them, this fixes itself if unoptimized is set to true, can also be reproduced in 10.0.9-canary.4 but not in 10.0.7. Possibly related to #22253

Expected Behavior

Image just appearing once in the correct size and colours as they used to

To Reproduce

The code below is able to reproduce the issue

import Image from "next/image";

export default function Demo() {
    return (
        <Image src={"https://i.imgur.com/WCcL3Ip.png"} alt={""}
               width={36} height={36}/>
    )
}

Image before conversion
https://i.imgur.com/WCcL3Ip.png

Image after conversion
https://i.imgur.com/dHE5BPB.png

Metadata

Metadata

Assignees

Labels

bugIssue was opened via the bug report template.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions