|
Posted by Jonathan N. Little on 01/28/07 22:50
Jonathan N. Little wrote:
> Blinky the Shark wrote:
>> What the heck? I'm not getting any images rendered.
>>
>> I'm getting ready to move blinkynet to a new host. I'm testing the new
>> location. I figured if anything, scripting would be the issue, but
>> PHP's working fine with just a config.php tweak for the new location.
>>
>> Here's the address (I'm not live yet, thank God). :)
>>
>> http://server19.01domain.net/~blinky/indexdowntowntest.html
>>
>> No images. As I look at page source, img src is correct.
>
> Not it is not, root problem maybe:
>
> From page above Shark Photo's src path is:
>
> http://server19.01domain.net/images/dinner.jpg
>
> But image's real path is:
> http://server19.01domain.net/~blinky/images/dinner.jpg
>
> Missing the *~blinky*!
>
>
"http://server19.01domain.net/~blinky" is not your document root, but
"http://server19.01domain.net" is.
so your markup:
<img class="bord00" src="/images/dinner.jpg" alt="Shark Photo"
height="206" width="337">
needs to be either:
<img class="bord00" src="images/dinner.jpg" alt="Shark Photo"
height="206" width="337">
or:
<img class="bord00" src="./images/dinner.jpg" alt="Shark Photo"
height="206" width="337">
or change your document root.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|