Loading...
 
Skip to main content

History: Mod svg

Source of version: 6 (current)

Copy to clipboard
            ^ Why just view SVG when you can edit as well with ((Draw|Tiki Draw))? (new in Tiki7) ^

!!! Mod svg
__svg__ is a type of vectorial image. You can produce your own svg images or drawings through multiplatform free software programs like ((wp:Inkscape)).

And you can get plenty of public domain svg's image files from [http://openclipart.org]

!!!! Install
See ((Mods Admin)) for instructions on how to install a Mod.

!!!! Usage
Once installed, you will see some new lines under the Wiki "edit > wiki help > Show Plugins Help": 

{CODE(wrap=>1)}
Svg:
{SVG(width=, height=, src=> )}text{SVG}
{CODE}

Params __width__ and __height__ are mandatory. If size from those parameters is smaller than size of original svg, some scroll bars will show up to help the user move around the whole image within that small frame sized from specified parameters. 

!!!! Example
{CODE(wrap=>1)}
{SVG(width="400px", height="400px", src=>http://openclipart.org/people/gopher/gopher_Redhead_anime_girl.svg )}text{SVG}
{CODE}

Would produce:
{SVG(width="400px", height="400px", src=>http://openclipart.org/people/gopher/gopher_Redhead_anime_girl.svg )}text{SVG}

However, if your give smaller size for width or height parameters than the svg size, (for instance, ''__width="250px", height="250px"''__), only a portion of the whole image would be seen by default on the page:

{SVG(width="250px", height="250px", src=>http://openclipart.org/people/gopher/gopher_Redhead_anime_girl.svg )}text{SVG}


-=Related pages=-
* ((Mods))
* ((Mods User))
* ((Mods Admin))
* ((Mods Details))
* ((Mods List))