-
Notifications
You must be signed in to change notification settings - Fork 32
🎨 [Frontend] Show default product thumbnail if resource's thumbnail is invalid #7341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🎨 [Frontend] Show default product thumbnail if resource's thumbnail is invalid #7341
Conversation
…imcore into enh/fallback-thumbnail
sanderegg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool, but would it not make sense to have an indication the link was broken somehow?
We can now fallback to any other image. What do you suggest? |
|
|
@Mergifyio queue |
🟠 Waiting for conditions to match
|



What do these changes do?
requested by @matusdrobuliak66
When users pick URLs to set their study thumbnails, the links might eventually get broken. In this PR when an invalid thumbnail is found, it gets replaced by the default product thumbnail (same as a null thumbnail).
Before:

After:

Related issue/s
How to test
Dev-ops checklist