Skip to content

[Bug] Image links present in the <link> tags #54

@akshay-ranganath

Description

@akshay-ranganath

Bug Report

Image links present in <link rel="preload" as="image" href="* are currently not being updated. They still point to original image source. For example, on this page, these references still exist.

<link rel="preload" as="image" href="/vercel.svg" fetchpriority="high"> <link rel="preload" as="image" href="https://cdn.pixabay.com/photo/2023/08/08/18/01/butterfly-8177925_1280.jpg"> <link rel="preload" as="image" href="https://cdn.pixabay.com/photo/2023/08/06/10/01/bird-8172597_1280.jpg"> <link rel="preload" as="image" href="/next.svg" fetchpriority="high">

Consider parsing and converting these links to upload or simply build Cloudinary URL as the actual upload may occur when the asset is discovered within an <img> tag.

Describe the bug

Is this a regression?

Steps To Reproduce the error

Expected behaviour

CodeSandbox or Live Example of Bug

Screenshot or Video Recording

Your environment

  • OS:
  • Node version:
  • Npm version:
  • Browser name and version:

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions