+ Reply to Thread
Results 1 to 6 of 6

Thread: SVG images in forum?

  1. #1
    Member Neil has disabled reputation
    Join Date
    Mar 2001
    Location
    Melbourne, Australia
    Age
    35
    Posts
    53

    SVG images in forum?

    I have recently been experimenting with the W3C specification for online vector graphics, SVG (Scalable Vector Graphics). This new format will soon become more widely used and has terrific benefits for webmasters. But I don't want to go into all that here, if you want to find out more, go to http://www.adobe.com/svg .

    My question is how can I begin implementing these images into my forum?

    Because these images currently require a plug-in to the browser to view, I have been using an <object> tag to add the svg, with a nested <img> tag which will display a raster image as an alternative for those who have no plug-in. eg:

    <OBJECT data="header.svgz" type="image/svg" width="281" height="105"><IMG src="header.gif" width="281" height="105"></OBJECT>
    This works fine for a web page, excluding only MSIE 3 and NS 2 or below.

    I would love to be able to have SVG graphics on my forum, such as my header and icons. Is there any easy way (without editing the code) to add the images as object tags with nested images?

    Thanks in advance for your help!

    Neil

  2. #2
    Member Neil has disabled reputation
    Join Date
    Mar 2001
    Location
    Melbourne, Australia
    Age
    35
    Posts
    53
    Noone has any suggestions with this one?

  3. #3
    Senior Member doron is on a distinguished road
    Join Date
    Apr 2000
    Location
    Austin, TX
    Age
    29
    Posts
    670
    is svg yet at 1.0? Anways, no browser has native support yet (mozilla plans to have some soon), and I doubt many people have the adobe plugin to warrant usage.

    Jasc Webdraw (http://www.jasc.com/webdraw.asp?) is pretty good for creating svg's

  4. #4
    Member Neil has disabled reputation
    Join Date
    Mar 2001
    Location
    Melbourne, Australia
    Age
    35
    Posts
    53
    According to the official SVG page ( http://www.w3.org/Graphics/SVG/ ):

    SVG has now met its Candidate Recommendation exit criteria. Since it has a dependency on SMIL Animation, currently a last call Working draft, it must wait for SMIL Animation to proceed to Candidate Recommendation before SVG can progress to Proposed Recommendation.
    Basically that means the SVG spec is complete and won't change before it's released as a final standard.

    Amd according to the Mozilla SVG project ( http://www.mozilla.org/projects/svg/ ):

    While the current support in Mozilla is good for drawing simple shapes and manipulating them via Javascript, SVG needs a fairly complex 2D graphics library to support transformations, filter effects, antialiasing, embedded fonts, gradient paints, patterns and various stroke styles.
    So Mozilla has enough support to start using it without a plug in. Adobe's plug in is freely available ( http://www.adobe.com/svg ) and will be installed with all new versions of Adobe software. There is also an IBM java plugin that displays SVG.

    So there's ample opportunity for people to experiment with SVG if they want, and those who don't won't know any different, thanks to the <object> tag.


    So basically I am trying to get ahead of the wave and learn about SVG now so that when the wave hits, I'll be ready. I want to learn the issues involved in implementing SVG in a wide variety of web situations, and forums are a key area. I think that given the substantial advantages the format offers, it would be smart for the vBulletin people to start looking into it.

    All I really want to know is if there is a simple way (preferably through the control panel) that I can code the <object> tag into the forum graphics.

    I hope someone can help!

  5. #5
    Former vBulletin Developer Mike Sullivan will become famous soon enough Mike Sullivan's Avatar
    Join Date
    Apr 2000
    Location
    Regexia
    Age
    25
    Posts
    13,374
    Blog Entries
    7
    You'd basically have to write a script to go through an do all the replacements -- there's no way to do it via the CP as it requires regex's to do the replacements.
    --Mike "Ed" Sullivan
    Former vBulletin Developer

    Twitter | Regexia (personal)

  6. #6
    Member Neil has disabled reputation
    Join Date
    Mar 2001
    Location
    Melbourne, Australia
    Age
    35
    Posts
    53
    Ahhh, I see. Well I'll make a post about this to the hack forum. Thanks for the info.

+ Reply to Thread

Similar Threads

  1. cant see images in forum
    By globalwin in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 1
    Last Post: Mon 22nd Jul '02, 4:12pm
  2. SVG ER diagram for VB
    By zakons in forum Site Feedback
    Replies: 0
    Last Post: Thu 2nd May '02, 12:23pm
  3. Images in a forum
    By Guz in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 1
    Last Post: Sun 5th Aug '01, 8:20am
  4. cant upload into images folder ? or change images on forum
    By ][BaldNut][ in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 2
    Last Post: Wed 16th May '01, 1:33pm

Bookmarks

Posting Permissions

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts