# No image?!?!?!

**URL:** <https://forum.kirupa.com/t/no-image/204812>\
**Category:** web dev\
**Created:** [October 23, 2006, 7:09pm UTC](https://forum.kirupa.com/t/no-image/204812 "2006-10-23T19:09:03Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![evildrummer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/evildrummer/32/2308_2.png) [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Post date:** [October 23, 2006, 7:09pm UTC](https://forum.kirupa.com/t/no-image/204812/1 "2006-10-23T19:09:03Z")

</div>

Ok, so I have a HTML/PHP file and everything is normal as far as I can see, even in dreamweaver design view you can see the top image, but as soon as I look at it in IE or FF locally the top image isnt there, is this something to do with cache or something? im not too sure, any help will be much apppreciated.

---

<div class="post-metadata">

**Author:** ![fasterthanlight](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fasterthanlight](https://forum.kirupa.com/u/fasterthanlight)\
**Post date:** [October 23, 2006, 7:21pm UTC](https://forum.kirupa.com/t/no-image/204812/2 "2006-10-23T19:21:45Z")

</div>

if your looking at it locally,

a) YOu may not have php installed and running

b) It may be an absolute link to the image not relative…

Can’t really help you much more than that unless you post some of your code

---

<div class="post-metadata">

**Author:** ![evildrummer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/evildrummer/32/2308_2.png) [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Post date:** [October 23, 2006, 7:27pm UTC](https://forum.kirupa.com/t/no-image/204812/3 "2006-10-23T19:27:16Z")

</div>

ok well I have tried that and

a) I just tried a PHP script so php is fine,

b)both the php file and the image files (I have two copys a .jpg and .png, tried both) are stored in same folder so the code I used to insert it was just

```auto
<div align="center"><img src="banner.png" /></div>

```

this is annoying me now as my design as CSS based just goes mental.

---

<div class="post-metadata">

**Author:** ![aldomatic](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@aldomatic](https://forum.kirupa.com/u/aldomatic)\
**Post date:** [October 23, 2006, 8:03pm UTC](https://forum.kirupa.com/t/no-image/204812/4 "2006-10-23T20:03:32Z")

</div>

give it some width and height attributes

---

<div class="post-metadata">

**Author:** ![fasterthanlight](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fasterthanlight](https://forum.kirupa.com/u/fasterthanlight)\
**Post date:** [October 23, 2006, 8:05pm UTC](https://forum.kirupa.com/t/no-image/204812/5 "2006-10-23T20:05:48Z")

</div>

Yea, that could, might, probably, help

---

<div class="post-metadata">

**Author:** ![evildrummer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/evildrummer/32/2308_2.png) [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Post date:** [October 23, 2006, 8:07pm UTC](https://forum.kirupa.com/t/no-image/204812/6 "2006-10-23T20:07:11Z")

</div>

Ive given it a height and width attribute so now the code is

```auto
<img src="banner.png" width="700" height="200" />

```

And still nothing, no change at all.

---

<div class="post-metadata">

**Author:** ![fasterthanlight](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fasterthanlight](https://forum.kirupa.com/u/fasterthanlight)\
**Post date:** [October 23, 2006, 8:25pm UTC](https://forum.kirupa.com/t/no-image/204812/7 "2006-10-23T20:25:58Z")

</div>

what… the… truck…??

---

<div class="post-metadata">

**Author:** ![aldomatic](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@aldomatic](https://forum.kirupa.com/u/aldomatic)\
**Post date:** [October 23, 2006, 8:35pm UTC](https://forum.kirupa.com/t/no-image/204812/8 "2006-10-23T20:35:24Z")

</div>

hmm thats stranger than strange… walk way from computer come back and bingo works for me :thumb:

---

<div class="post-metadata">

**Author:** ![evildrummer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/evildrummer/32/2308_2.png) [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Post date:** [October 24, 2006, 9:18am UTC](https://forum.kirupa.com/t/no-image/204812/9 "2006-10-24T09:18:53Z")

</div>

well I let this computer rest all night eager to test it this morning only to be dissapointed by the invisible images again.

---

<div class="post-metadata">

**Author:** ![evildrummer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/evildrummer/32/2308_2.png) [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Post date:** [October 24, 2006, 9:46am UTC](https://forum.kirupa.com/t/no-image/204812/10 "2006-10-24T09:46:28Z")

</div>

Ok, I just tried it using html, php changing the type of image, everything and now the image wont even appear on my web-host ☹

And just to add more to the confusion it appears fine in the built in dreamweaver design view ☹

---

<div class="post-metadata">

**Author:** ![simplistik](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simplistik/32/7747_2.png) [@simplistik](https://forum.kirupa.com/u/simplistik)\
**Post date:** [October 24, 2006, 12:47pm UTC](https://forum.kirupa.com/t/no-image/204812/11 "2006-10-24T12:47:44Z")

</div>

you image may be saved improperly, like instead of being an actual png it was a psd that you renamed to png without actually changing the file type on the dropdown, when saving it out.

---

<div class="post-metadata">

**Author:** ![evildrummer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/evildrummer/32/2308_2.png) [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Post date:** [October 24, 2006, 2:23pm UTC](https://forum.kirupa.com/t/no-image/204812/12 "2006-10-24T14:23:39Z")

</div>

hmmm true, im sure I clicked save for web though, ill try aGain anyway. but then again I have just realised I created it in flash, then exported as image, oh well, Ill try and open it in PS then save again

---

<div class="post-metadata">

**Author:** ![evildrummer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/evildrummer/32/2308_2.png) [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Post date:** [October 24, 2006, 10:21pm UTC](https://forum.kirupa.com/t/no-image/204812/13 "2006-10-24T22:21:26Z")

</div>

ok, for some reason uknown to me its now working!

Thank you guys, Im sure one of the things you told me to do was the reason it now works 😃

---

<div class="post-metadata">

**Author:** ![aldomatic](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@aldomatic](https://forum.kirupa.com/u/aldomatic)\
**Post date:** [October 24, 2006, 10:23pm UTC](https://forum.kirupa.com/t/no-image/204812/14 "2006-10-24T22:23:23Z")

</div>

🍺
