For things to translate/scale one needs to have the svg markup like so:

<svg ...>
  <g transform="translate(x,y) scale(x,y)">
    ...
    all other info
    ...
  </g>
</svg>

Attached is an example

One can also set/override the  transform="translate(x,y) scale(x,y)"
part via the image block config if one wants to display only part of the
svg

** Attachment added: "MA_I537750_TePapa_Plate-proof-for-beer_full.svg"
   
https://bugs.launchpad.net/mahara/+bug/1681571/+attachment/5302392/+files/MA_I537750_TePapa_Plate-proof-for-beer_full.svg

-- 
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/1681571

Title:
  Allow upload of SVG to use in portfolio pages

Status in Mahara:
  Confirmed

Bug description:
  All modern browsers support SVG and so should we in Mahara. Currently,
  you can't upload them to an image block because the format is not
  recognized.

  Bug #1681573 deals with the support for inline SVG for easy
  manipulation as a follow-on wishlist item.

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to