unifiedjs / unifiedjs/unifiedjs.github.io

there is a bug in highly optimized images for the size of 200

Open
#47 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
45
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Initial checklist
Affected package

I am a noob

Steps to reproduce

Hmm nothing much i know of

Actual behavior

Image

while i am loading the page the link below is the where it is fetching the image from
unifiedjs.com/image/prettier-dark.png,/image/prettier-dark-200.pngIt is obviously wrong

Expected behavior

it should fetch from the below instead
unifiedjs.com/image/prettier-dark-200.png

I would also expect it to load same assets for similar internet speeds. In vivaldi it fetches size 200 but in chrome and edge it fetches 600.

Runtime

Browser

Package manager

NA

Operating system

Windows 11

Build and bundle tools

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named. Start by tracing how the site builds the responsive image URL for prettier-dark.png in a browser, then reproduce the reported malformed URL and compare the selected assets across browsers; done means the URL is valid and the expected size is selected consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.