|
|
#1 |
|
Silver Member
![]() Join Date: Jul 2011
Posts: 163
|
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. |
|
|
|
|
|
#2 |
|
New Member
![]() Join Date: Jul 2011
Posts: 5
|
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 |
|
|
|
|
|
#3 |
|
Bronze Member
![]() Join Date: Mar 2011
Location: California, United States
Posts: 92
|
Absolution,
I try opening the first link and I got a 404 no object found.
__________________
small business web design | small business web design Los Angeles | web design | web design los angeles |
|
|
|
|
|
#4 |
|
Silver Member
![]() Join Date: Jul 2011
Posts: 163
|
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. |
|
|
|
|
|
#5 |
|
New Member
![]() Join Date: Sep 2011
Location: USA
Posts: 1
|
I cannot find any svg images for Dolphin on my system.
|
|
|
|
![]() |
| Tags |
| issue, php, svg |
| Thread Tools | |
| Display Modes | |
|
|