|
Posted by Neredbojias on 01/28/07 23:23
On Sun, 28 Jan 2007 22:50:04 GMT Jonathan N. Little scribed:
> 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.
I agree with most replies but why doesn't the absolute-addressed gif
(http://server19.01domain.net/~blinky/images/bnetlogo1bl.gif) load?
--
Neredbojias
He who laughs last sounds like an idiot.
[Back to original message]
|