Jump to content

help with image please...


meomike2000

Recommended Posts

i am trying to add an image to my webpage. the image tag is outside the <?php ?> tags, and the image is a .jpg. i know that the src is correct but image will not display. the  image is in the same folder that the page it is to be on. all that displays is the alt. text.    here is the code that i used. <img src="image.jpg" height="100" width="100" alt="image" />. but only the alt text displays.........

 

never had this problem  before but i have never added an image to a page with a .php extension.

 

thanks mike....

Link to comment
Share on other sites

If you are 100% certain the path is correct it could be a corrupt image file. I've seen problem when IE could not display an image that FireFox could and optimizing the image with photoshop fixed the problem. 

 

But again triple check to make sure the file name and path is all correct.  Then go to using and image application like photoshop to optimize the image.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.