Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Graphic Design

Reply
 
LinkBack Thread Tools Display Modes
Old 07-10-2011, 07:12 AM   #1
Silver Member
 
Join Date: Jul 2011
Posts: 163
Default SVG issues with PHP?

Hey everyone, I have come across a problem when using SVG between PHP 5 and PHP 4. Well that is what I assume, it could be something else. But the problem is: I see a difference on how SVG is displayed depending on which server I use, and the first difference I can note is the PHP version installed.

PHP 5 (graphics look fine)
http://www.physics.arizona.edu/~kinnun/about/index.php

PHP 4 (notice the border?)
http://absolutewrestling.net/doubt/about/index.php

Anyone else come across this problem? I am bit at a loss of why this makes such a difference. With my googly eyes I don't see an immediate difference in the output HTML.
Absolution is offline   Reply With Quote


Old 07-12-2011, 05:50 AM   #2
New Member
 
Join Date: Jul 2011
Posts: 5
Default

Now I have opened these files in Inkscape on my computer and made changes for the next printing. I saved the first Inkscape-modified file 4 ways as:

inkscape svg
plain svg
compressed svg
eps

I sent all 4 to the printer and he couldn't open any of them. Any ideas on what I could try differently? I'm assuming he should be able to open an svg file. Am I correct?I have several SVG images I'd like to layout on a page. Firefox and Chrome have given me no issues whatsoever, but Safari only seem to display the SVG image if and only if the document has an ".xhtml" extension.
__________________
fieldbus
jonmark is offline   Reply With Quote
Old 08-15-2011, 09:15 PM   #3
Bronze Member
 
websonalized's Avatar
 
Join Date: Mar 2011
Location: California, United States
Posts: 92
Default

Absolution,

I try opening the first link and I got a 404 no object found.
websonalized is offline   Reply With Quote
Old 08-22-2011, 06:32 AM   #4
Silver Member
 
Join Date: Jul 2011
Posts: 163
Default

websonalized, thanks for your response! I was able to move them to a different server (which is why the links no longer work). But good news, I figured out what was going on. It is indeed a difference between PHP 4 and 5.

PHP 4 seems to do something to the xml in SVG, or does a weird kind of duplication. This causes problems in displaying SVG files

PHP 5 keeps the files as they are, apparently, so there is no problems, and SVG displays correctly in PHP 5. So you need to get your host/server to update it.

I hope this might help people who are having problems on old servers.
Absolution is offline   Reply With Quote
Old 09-06-2011, 10:59 AM   #5
New Member
 
Join Date: Sep 2011
Location: USA
Posts: 1
Default

I cannot find any svg images for Dolphin on my system.
PrestonShadel is offline   Reply With Quote


Reply

Tags
issue, php, svg

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:30 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.