Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mamazu
Copy link
Contributor

@mamazu mamazu commented Jun 9, 2025

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets -
Related issues/PRs replaces #3706
License MIT
Documentation PR -

What's in this PR?

Adding an error image in debug with the error code.

Why?

Makes it clear to the user that the image is missing but still retains the aspect ratio of the image that should be there.

@mamazu mamazu force-pushed the enhancement/404-svg-image branch from 1d4d77e to a0c3fc6 Compare June 9, 2025 13:50
@mamazu mamazu added Feature New functionality not yet included in Sulu DX Affecting the end developer labels Jun 9, 2025
@mamazu mamazu force-pushed the enhancement/404-svg-image branch from 38ebdba to f487e56 Compare June 9, 2025 14:52
@mamazu mamazu force-pushed the enhancement/404-svg-image branch from f487e56 to 5ff7f5e Compare June 9, 2025 14:54
@mamazu
Copy link
Contributor Author

mamazu commented Jun 9, 2025

This has some weird behavior though. When I return an image and give it a 404 response code Chrome shows the image despite the error code but Firefox still shows a broken image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DX Affecting the end developer Feature New functionality not yet included in Sulu

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants