Crash due to Adobe SVG Viewer plugin. How do I display SVG images?
I was told to start a new thread from an earlier thread.
I am working on an application that requires to display SVG images. Earlier I was working on IE that required the Adobe SVG Viewer to be installed. I need to make the application to run on FF as well. But Firefox does not display those images. It said that a plugin is missing. On auto search by Firefox, no plugin was found. But then I searched and found
this page. It mentions the same plugin that I am using for IE, but for it to work with FF as well, some files have to be copied into a particular folder.
Doing that, the images started appearing, but 'crashes' came along with that.
Certain pages in my app contain tabs. On navigating to those pages, the first tab opens fine, but clicking on any other tab crashes the browser.
Another instance of crashing happens when a popup is opened from the app, and then closed. There is a close button in the popup. That, as well as the x button of the popup window cuases the browser to crash.
The problem goes away if I disable the plugin, but then the SVG images are not displayed.
Please help.
Tajinder
I am working on an application that requires to display SVG images. Earlier I was working on IE that required the Adobe SVG Viewer to be installed. I need to make the application to run on FF as well. But Firefox does not display those images. It said that a plugin is missing. On auto search by Firefox, no plugin was found. But then I searched and found
this page. It mentions the same plugin that I am using for IE, but for it to work with FF as well, some files have to be copied into a particular folder.
Doing that, the images started appearing, but 'crashes' came along with that.
Certain pages in my app contain tabs. On navigating to those pages, the first tab opens fine, but clicking on any other tab crashes the browser.
Another instance of crashing happens when a popup is opened from the app, and then closed. There is a close button in the popup. That, as well as the x button of the popup window cuases the browser to crash.
The problem goes away if I disable the plugin, but then the SVG images are not displayed.
Please help.
Tajinder
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
-
Inappropriate?Some additional points for clarity:
The first tab that displays correctly contains an SVG image.
The other tabs I am trying to navigate to also contain similar images.
The popup also contains an svg image that is displayed correctly, but closing the popup creates the problem. -
Inappropriate?Some more points that would be good to find out:
What program are the SVG images created in? I know http://www.inkscape.org/download/?lang=en creates it's own brand of SVG and you need to specifically save them as "native SVG"
What other browsers are you testing in? Opera, Safari and Chrome all load SVG natively like Firefox. I would suggest getting this to work in all of them first, then you only have to worry about hacking to get it to work in the plugin SVG viewer in IE.
Can you submit the source code for each SVG image to http://pastebin.mozilla.org and post the links to them in a comment here? Perhaps then people that know the difference between the current SVG standards and the Adobe Viewer plugin can give you some pointers. -
Inappropriate?The svg image is generated using the TomSawyer API. Even though Firefox has native support for svg images, it does not diplay it and asks for a plugin.
The image is correctly displayed in Chrome, and navigating between tags also causes no problems.
The firefox svg site says that FF currently does not implement the entire specifications and some tags may be unsupported. But I don't think this is the problem here.
The important point is that the svg image is generated and displayed correctly. But FF crashes when we navigate between tabs, press the back button or close a popup...
P.S. I am using FF 3.5
P.P.S I do not have the svg code as the image is generated by the API on the fly using data inputs.. -
Inappropriate?Hi Tajji,
That's a common issue with Firefox where Adobe SVG Viewer (ASV) has already been installed (after you followed instructions similar to available on-line [1]): ASV documentation suggests placing the "NPSVGx.dll" and "NPSVGx.zip" (where "x" stands for ASV version, "3" or "6") into the Firefox plug-in directory.
Unfortunately, Firefox interfaces have changed and the plug-in didn't follow evolution so currently it's incompatible with Firefox.
Fortunately, Firefox's SVG native support is increasingly good, so you will likely not need ASV at all anymore. Simply reverting the process should be enough:
1. Close all Firefox windows;
2. Locate Firefox plug-ins directory [2];
3. Remove "NPSVGx.dll" and "NPSVGx.zip" (where "x" stands for ASV version);
Hope this helps,
Helder Magalhães
[1] http://www.canadiangeographic.ca/worl...
[2] Should be as easy as copy+pasting "%ProgramFiles%\Mozilla Firefox\plugins" (without the quotes) to the Windows Explorer address bar. -
Inappropriate?Hi Helder,
Thanks for replying.
In my case, the ASV was not already installed into the Firfox plugin directory. Firefox was not supporting svg images and asking to install a plugin. It seems like firefox native support was not working for the svg images. (Even though I have the latest Firefox 3.5 version). So I copied the required files into the plugin directory.
And then, images were supported, but the crashing problem started.
If I reverse the process, I'll be back at the place where I started.
What could be the reason for firefox native support not working for the svg images?
Tajji -
Please to go back to the place you started, install Live HTTP Headers then open it from the Tools menu before you try the SVG files and let us know what the "Content-Type" the server is saying the SVG files are: image/svg+xml is the standard one, but Adobe viewer plugin prompts happen if it is image/svg-xml
Tutorial for configuring Apache web server or others
By the way, that wiki is out of date with answers to other questions, like filters support which is now more fully supported natively in Firefox 3.5 while they were not in Firefox 1.5.
No implementation of SVG is 100%
Loading Profile...




