Skip to content
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

🐛 Bug: Replace <img> Tags with next/image for Better Optimization #1275

Closed
cbum-dev opened this issue Jan 10, 2025 · 0 comments
Closed

🐛 Bug: Replace <img> Tags with next/image for Better Optimization #1275

cbum-dev opened this issue Jan 10, 2025 · 0 comments
Labels
🐛 Bug Indicates that the issue is a bug or defect. Status: Triage This is the initial status for an issue that requires triage.

Comments

@cbum-dev
Copy link

Describe the bug

Currently, the codebase uses regular tags for displaying images in several places. While functional, this approach does not take advantage of the optimization features provided by next/image in Next.js, such as automatic resizing, lazy loading, and format selection. This could lead to slower page load times and a less optimized user experience.

Steps To Reproduce

Go through the codebase and inspect image implementations.
Observe that many images are implemented using the standard tag.

Expected Behavior

All images should use next/image to leverage its built-in optimizations, including:

Lazy loading.
Responsive image resizing.
Format conversion for better performance.

Screenshots

No response

Device Information [optional]

- OS:Linux(fedora)
- Browser:Firefox
- version:

Are you working on this issue?

Yes

Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)

Yes

@cbum-dev cbum-dev added Status: Triage This is the initial status for an issue that requires triage. 🐛 Bug Indicates that the issue is a bug or defect. labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Indicates that the issue is a bug or defect. Status: Triage This is the initial status for an issue that requires triage.
Projects
None yet
Development

No branches or pull requests

1 participant