fix: #154 resolve blog page images not displaying #168
Open
Mrgig7 wants to merge 1 commit intololpanda2004:mainfrom
Open
fix: #154 resolve blog page images not displaying #168Mrgig7 wants to merge 1 commit intololpanda2004:mainfrom
Mrgig7 wants to merge 1 commit intololpanda2004:mainfrom
Conversation
Bug Fix: Blog Page Images Not Displaying ## Problem - Blog page thumbnails/cover images were not rendering - Broken image icons appeared instead of expected images - Missing placeholder.svg file causing 404 errors - Inconsistent image handling across components ## Root Cause - Blog components referenced non-existent /placeholder.svg file - No fallback mechanism for failed image loads - Placeholder URLs with query parameters not handled properly ## Solution - Created professional placeholder.svg with clean design - Updated all blog post images to use existing assets (hero-image.png, team-image.png) - Added robust error handling with onError fallbacks - Fixed image sources across all components (blog, about, testimonials) - Implemented graceful degradation for missing images ## Files Changed - rontend/public/placeholder.svg (new) - rontend/src/app/blog/page.tsx (image sources + error handling) - rontend/src/components/blog.tsx (image sources + error handling) - rontend/src/components/about.tsx (image source) - rontend/src/components/testimonials.tsx (image sources + error handling) - rontend/src/app/about/page.tsx (image sources + error handling) ## Impact - Professional blog appearance with proper thumbnails - Improved user engagement through visual appeal - Robust error handling prevents future broken images - Consistent image handling across entire application ## Testing - All images load correctly - Fallback mechanism works for missing images - No linting errors - Cross-component consistency verified Fixes: Blog page image display issue Type: bug fix Priority: high
|
@Mrgig7 is attempting to deploy a commit to the LolPanda2004's projects Team on Vercel. A member of the Team first needs to authorize it. |
Thanks for creating a PR for your Issue!
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bug Fix: Blog Page Images Not Displaying
Problem
Root Cause
Solution
Files Changed
Impact
Testing
Fixes: Blog page image display issue
Type: bug fix
Priority: high