← Back to team overview

mahara-contributors team mailing list archive

[Bug 1392096] Re: Generate SVG image preview for page layouts

 

Reviewing the code, I now see that it uses inline SVGs, whereas I was
thinking of separate svg files. (i.e. the HTML file has an <svg> tag
inside of it, and that has some <rect> tags inside it, and so forth)

This is slightly less supported than separate SVG files. But crucially,
it's still supported by all our target browsers for Mahara 15.04,
including IE9+, so still not a problem. http://caniuse.com/#feat=svg-
html5

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1392096

Title:
  Generate SVG image preview for page layouts

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Was just thinking that instead of generating and storing PNG images we
  could just show <svg> on page directly. Got some proof of concept in
  review that would need a bit of polishing.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1392096/+subscriptions


References