Page MenuHomePhabricator

Add image width and height to the database
Closed, DeclinedPublic

Description

Author: physik

Description:
In order to display the svg images prodoced by mathoid in an accurate size it is required to include the size information to the image style attribute.
Those information can be obtained from the svg image with some regexp hacks but that's not optimal. We would prefere to get this information directly from mathoid. This is not hard to implment. But it would require additional database fields to store those size information.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=20202

Details

Reference
bz68295

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:33 AM
bzimport added a project: Math.
bzimport set Reference to bz68295.
bzimport added a subscriber: Unknown Object (MLST).

Change 144939 had a related patch set uploaded by Physikerwelt:
Add width and height to SVG image

https://gerrit.wikimedia.org/r/144939

Change 144939 merged by Frédéric Wang:
Add width and height to SVG image

https://gerrit.wikimedia.org/r/144939

@Jdforrester-WMF are you really working on this... I was assuming that is an old bug.