cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Linc" <>
Subject Re: SVG bug!!!
Date Thu, 19 Feb 2004 11:54:04 GMT
Try just creating the SVG on its own ie.

<svg width="100" height="100" viewBox="0 0 50 50">
   <rect width="50" height="50"/>

Let me know if this works for you!


  ----- Original Message ----- 
  From: beyaNet Consultancy 
  Sent: Thursday, February 19, 2004 5:05 PM
  Subject: SVG bug!!!

  I have, for the last few days now, tried unsuccessfully to change the canvas size of generated
svg images. Is there a bug in SVG or is there something very simple I am failing to grasp

  <svg:svg width="300" height="300" y="0" x="0" viewBox="0 35 200 200">
  <xsp:element name="image">
  <xsp:attribute name="x">0</xsp:attribute>
  <xsp:attribute name="y">0</xsp:attribute>
  <xsp:attribute name="width">300</xsp:attribute>
  <xsp:attribute name="height">300</xsp:attribute>
  <xsp:attribute name="xlink:href">data:image/jpeg;base64,<xsp:expr>Photo1</xsp:expr></xsp:attribute>
  <xsp:attribute name="id">artist1</xsp:attribute>

  many thanks in advance
View raw message