Skip to content

Image filename/title is not dynamic when using Next/Image and external URLs #26737

@JarrodMFlesch

Description

@JarrodMFlesch

What version of Next.js are you using?

10.2.0

What version of Node.js are you using?

14.15.5

What browser are you using?

Chrome/Brave

What operating system are you using?

macOS

How are you deploying your application?

Vercel, next start

Describe the Bug

When attempting to right-click download an image using Next/Image that is hosted outside of the static folder (i.e. a CMS), the title of the image is set to image for all images.

Expected Behavior

Images should right-click download with the name of the image, like locally hosted static images do.

To Reproduce

  1. create a new image using Next/Image
  2. use an externally hosted image src
  3. right-click download, the save as filename/title will read image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions