strapi / strapi-starter-next-corporate

Next.js starter for creating a corporate site with Strapi.
https://strapi-starter-next-corporate.vercel.app
MIT License
346 stars 95 forks source link

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

Open byousri opened 2 years ago

byousri commented 2 years ago

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

byousri commented 2 years ago

image

jesse-savary commented 2 years ago

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

namnhfreelancer commented 2 years ago

Have some error in this commit when developer try migrate to use Next Image but can't get attribute from media. https://github.com/strapi/strapi-starter-next-corporate/commit/a89a2d5b03da7b7a11cd7c32a3668dbf61c8da5a

jingkang99 commented 2 years ago

image image How to fix?

https://github.com/strapi/starters-and-templates/issues/27

jingkang99 commented 2 years ago

no one maintaining the starter?

ilya-bmi commented 2 years ago

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

gala49 commented 2 years ago

Same issue here

alandolsi commented 2 years ago

same issue...

namnhfreelancer commented 2 years ago

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 commented 2 years ago

mostly common error most importatant error