Skip to content

Feat: image optimization#142

Merged
RUKAYAT-CODER merged 2 commits into
rinafcode:mainfrom
T-kesh:feat/image-uploader
Apr 22, 2026
Merged

Feat: image optimization#142
RUKAYAT-CODER merged 2 commits into
rinafcode:mainfrom
T-kesh:feat/image-uploader

Conversation

@T-kesh
Copy link
Copy Markdown
Contributor

@T-kesh T-kesh commented Apr 22, 2026

This PR resolves critical frontend image optimization issues by correctly configuring and utilizing next/image across the platform. The next.config.ts file has been updated to comprehensively define deviceSizes, imageSizes, and modern formats (like image/avif and image/webp) to ensure maximum payload compression. Furthermore, targeted components—such as CourseHero, InstructorBio, and ImageUploader across both standard and app directories—have been retrofitted with explicit sizes attributes for network-responsive width-scaling. Appropriate loading behaviors have also been strictly enforced, maintaining priority streaming for above-the-fold hero sections while enabling strict lazy-loading protocols (loading="lazy") and unoptimized safeguards for user-generated data previews
Thank you

closes #140

T-kesh added 2 commits April 22, 2026 14:22
…ata visualization, advanced filtering, and interactive quiz interfaces
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 22, 2026

@T-kesh Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER RUKAYAT-CODER merged commit 2cf38a5 into rinafcode:main Apr 22, 2026
7 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unoptimized Image Sizing

2 participants