You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cirosantilli
changed the title
Make replacing images with the placeholder smiley work
Make replacing broken profile images with the placeholder smiley work
Dec 28, 2021
ac9f885 not working and https://stackoverflow.com/questions/66949606/what-is-the-best-way-to-have-a-fallback-image-in-nextjs/66953317#66953317 did not work on a react 12 hello world with img (not Image):
pages/index.js
package.json
The key code point is: https://github.com/cirosantilli/node-express-sequelize-nextjs-realworld-example-app/blob/ac9f885b254fa1baceb21e391a795f5c4c9e6bd6/components/CustomImage.tsx The original code from Chinese author was trying to handle that, but does not seem to be working.
At b278cce at least hidding the alt, but we want the placeholder.
The text was updated successfully, but these errors were encountered: