wordpress-mobile / wordpress-mobile/WordPress-Android

Link uploaded image to media, and respect image_default_link_type when adding images

Open
#14,658 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Enhancement Media
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

When inserting an image through the app's editor, it should be possible to "link to media" like in Gutenberg. Also, the setting image_default_link_type from options.php should be respected.

Actual behavior

App only allows to enter a URL manually. image_default_link_type gets ignored.

Tested on [device], Android [version], WPAndroid [version]

Device: Oneplus 9 Pro
Android: 11
WPAndroid: 17.3-rc-1

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

Start by locating the Android editor's image-insertion flow and the handling of the image_default_link_type option. Compare the available link choices with Gutenberg's "link to media" behavior, then verify that the configured default is respected when adding an image. The payload names no files or tests, so identify the relevant entry points and test coverage before making changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.