Provide image proxy URLs for all images in the response

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
php

Research direction

Start by locating where X-Ray assembles its response and where it handles mf2 values and HTML content properties. Trace how images from both sources are represented, then determine how alternate image URLs fit the existing response format. Done means the top-level images key covers images from both sources; the issue does not specify the URL-generation details or tests.

Written by the indexing model from the issue text.

Description

Add a new top-level key, images which provides alternate image URLs for each image found in the response. This should include images that are mf2 values, as well as <img> tags inside HTML content properties.

Dominant language
PHP
Stars
96
Forks
17
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from aaronpk/XRay

All issues in aaronpk/XRay

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.