HomePhabricator

Remarkup rule to embed images

Description

Remarkup rule to embed images

Summary:
Ref T4190. Added the remarkup rule to embed images:

Syntax is as follows:

{image <IMAGE_URL>}

Parameters are also supported, like:
{image uri=<IMAGE_URI>, width=500px, height=200px, alt=picture of a moose, href=google.com}

URLs without a protocol are not supported.

Test Plan: Tested with many of the syntax variations. If the provided URL doesn't point to an image, then a broken image icon will be shown.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: Korvin, epriestley, yelirekim

Maniphest Tasks: T4190

Differential Revision: https://secure.phabricator.com/D16597

Details

Provenance
jcoxAuthored on Sep 26 2016, 1:56 PM
jcoxPushed on Sep 26 2016, 9:46 PM
Reviewer
Blessed Reviewers
Differential Revision
D16597: Remarkup rule to embed images
Parents
rP7d576c3f94b5: Fix a bug in the imageproxy controller
Branches
Unknown
Tags
Unknown
Tasks
T4190: Rebuild remarkup image proxying
Build Status
Buildable 13847
Build 17908: Run Core Tests