POV-Ray : Newsgroups : povray.binaries.images : Black Seas Barracuda finished (link) : Re: Black Seas Barracuda finished (link) Server Time
15 Aug 2024 14:24:33 EDT (-0400)
  Re: Black Seas Barracuda finished (link)  
From: David Fontaine
Date: 8 Jul 2002 18:31:13
Message: <3D2A1411.5020503@faricy.net>
Timon Christl wrote:
 >
 > As the other posters said, there is no image. I looked into the HTML
 > source generated by your PHP code, and found the reason: You are using
 > backslashes in the path to the image:
 >
 > <img src=".\renders\blackseasbarracuda3.jpg">
 >
 > but PHP (to be more exact, the underlying webserver) requires forward
 > slashes as path separators. The character sequence \r is actually a
 > single ASCII character (13 => Carriage return), the same is true for
 >  \b (which is 8 => Bell). Just change this and it will work.

Hmm, it appears you're right.  I thought I had used the backslash
elsewhere, but I looked through my files and I guess I didn't.  I'll
change that and you tell me if it works.

Probably some browsers change the backslash to a forward slash, as it
worked fine for me in both IE and Netscape.  That or certain browsers
don't like the backslash.  BTW, PHP has nothing to do with it, as it
merely generates the HTML.  PHP uses C-style escape sequences, but the
PHP code had a double-backslash, resulting in HTML with one backslash.

-- 
___     ______________________________________________
  | \     |_         website: http://davidf.faricy.net/
  |_/avid |ontaine           email: <dav### [at] faricynet>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.