Fix broken Public Lab project image link Issue #347 #534
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to #347
πΌοΈ Fix broken Public Lab project image link
π Problem
The image for the Public Lab project card failed to load because the original external link was invalid:
This resulted in a browser request error:
As a result:
π οΈ Solution
I replaced the broken external image URL with a valid local image asset stored within the repository.
This ensures:
π Changes Made
βοΈ Added replacement image file into the project's image folder
βοΈ Updated image path in
src/data/projects.jsβοΈ Eliminated dependency on inaccessible remote resource
π§ͺ Testing & Verification
Local Test Process
Run:
Open the site at
http://localhost:4321/Locate the Public Lab project card
Confirm:
Run Lighthouse with Best Practices enabled
Result
ERR_NAME_NOT_RESOLVEDlogs74 β 78πΌοΈ Recommended Attachments
Please see attached screenshots:
π‘ Why This Fix Is Safe
π Related
Lighthouse error: image load failure on the Public Lab project card.
#347
π Notes
If another folder or filename is preferred, I'm happy to modify it.
Thanks for maintaining this awesome project! π