[Typo3-dev] Playing with Typo3 and SVG

Henning Pingel henning.pingel at gmx.de
Tue Sep 27 22:46:47 CEST 2005


Hi Bernhard,

thanks a lot for your quick answer!

> I played around with SVG somewhere around 2001. I just wanted to get a
> specific SVG converted to a pixel-graphic. I had to use special tools
> like "Basilisk" (I think it was called) which was an JAVA app to display
> SVG under linux.

Wow... Nowadays you would just use Inkscape - it's a very nice
application that is able to export bitmaps from SVG.

> most of the Visitors of our sites (and also others if you
> trust User-Agent statistics on the web) use M$ IE 5-6.

D'accord. An extensive use of SVG in a website can at this time only be
possible
a) in a technology demo or
b) in an intranet-like scenario where all users agree to use one special
web browser - this seems to be necessary as long as IE has no native
support.

> I really appreciate that FF 1.5 will support SVG by default (didn't know
> about Opera :) and will surely have a lot of toughts about how it can
> get integrated into T3 and what are the possibilties.

Cool.

> I don't know exactly how SVG in HTML
> works but from your writing it should be possible to place an <img> tag
> in a SVG area and rotate this area. Am I correct ?

I haven't tried it but it should be possible with the SVG tag "image":

<image xlink:href="my_picture.jpg" transform="rotate(75,x,y)"/>

I'm curious to test if it works - if  I find the time I will add a
testpage to my tutorial. I think the SVG standard is not the problem -
but maybe the limitations of the implementations of the different
browsers. I guess it will - like always - work slightly different in
different browsers. ;o)

> I have one tip for you: you can detect the browser and
> have different TS by using conditions based on the user-agent string.

Thanks. I will add this as soon as possible.

> And I also wondered why you prefer inline SVG. From a "BE User
> usability" point of view it isn't clear if it is easier if SVG can get
> pasted directly or if it's easier to upload a file. Just because most
> SVGs will get created using Macromedia(R) Freehand or similar tools ...

You are right. An ordinary user will prefer to use a Media-content-type.
 I should point that out in the tutorial.

But I still see some advantages for inline SVG when it comes to
scripting, cloning of SVG symbols, creating menus based on SVG, etc. But
I have to prove that it works. I want to write another tutorial where a
textmenu is transformed into a SVG menu. Let's see... ;o)

Best regards,
Henning




More information about the TYPO3-dev mailing list