GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Author When I load them onto my Internet Web server the svgs don't display correctly
Posted Sunday, November 13, 2011 - Post #29396
Forum Writer

Forum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum WriterForum Writer

Customers
GenoPro version: 2.0.1.4

Last Login: Tuesday, September 27, 2022
Posts: 64, Visits: 5,071
I'm hoping someone can solve this conundrum for me.   The website I have generated with Genopro (using custom skin template Narrative Report version 2011.11.07.) displays correctly using Opera and Firefox for the (svg) family tree diagrams when I display them locally i.e. as files on my P.C.

When I load them onto my Internet Web server the svgs don't display correctly - in Firefox the pane is sometimes blank and in Opera a message appears that the SVG viewer doesn't support scripting and I should upgrade - however the tree does display but cannot be panned, zoomed etc.

I have checked the Mime types for the Apache server and it gives:

image/svg+xml for filetypes svg and svgz

I have discovered that for Firefox, since earlier this year you can't disable the internal SVG viewer and use Adobe or Coral as FF is internally dependant on SVG.

I have put a copy of the website on a local Apache server (running on a geriatric PC on my local network) so that I can get at the files via http:// rather than file:// and everything is fine - Firefox displays the trees and Opera doesn't complain about scripting.

This didn't originally appear to be a Genopro problem but ........the odd thing is that with Opera if I load directly the /genograms/genogramx.htm file the problem occurs but if I load the /genograms/genogramx.svg it displays perfectly, which points to an issue with either the htm file or one of the scripts it uses, rather than Opera's SVG viewer.

Clearly there is some interaction with my ISPs Webserver config differing from my local one and somehow confusing Opera.   More in desperation than in the hope of fixing things I have even added a custom MIME type to my ISPs webserver - application/javascript for file type es to match with the js filetype.

Another small point is that there is an option when creating the report to compress the SVG file, however the files generated are SVG, not SVGZ and are uncompressed text.   I do have Inkscape on my PC and it generates the PDFs correctly.   Is this a "place-holder" option or should some more black magic happen behind the scenes.

 Bob C


  


Edited: Monday, November 14, 2011 by GenoProSupport



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse