Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Error: Image with src "/uploads/undraw_content_team_545abb0b49.svg" must use "width" and "height" properties or "layout='fill'" property #77

Open
byousri opened this issue Feb 25, 2022 · 10 comments

Comments

@byousri
Copy link

byousri commented Feb 25, 2022

Error: Image with src "/uploads/undraw_content_team_545abb0b49.svg" must use "width" and "height" properties or "layout='fill'" property

@byousri
Copy link
Author

byousri commented Feb 25, 2022

image

@jesse-savary
Copy link

Also running into this when things were working fine a few days ago.

@namnhfreelancer
Copy link

Have some error in this commit when developer try migrate to use Next Image but can't get attribute from media.
a89a2d5

@jingkang99
Copy link

image
image
How to fix?

strapi/starters-and-templates#27

@jingkang99
Copy link

no one maintaining the starter?

@ilya-bmi
Copy link

I Have the same issue.
the project looks abandoned...

@gala49
Copy link

gala49 commented Mar 15, 2022

Same issue here

@alandolsi
Copy link

alandolsi commented Mar 16, 2022

same issue...

@namnhfreelancer
Copy link

You guys,
we can temp edit with hot fix in file: /frontend/components/elements/image.js
Just change

width={width}
height={height}

to

width="0"
height="0"

It not good solution but it will make program load normal to see demo

@santhoshprince
Copy link

mostly common error most importatant error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants