Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Urgent help needed, image not showing

Featured Replies

HI there,

 

I am in a real quandry here as I cannot get my image to appear on my page. The code I have used is as follows:

 

<img src="images/angela.jpg" align ="left" alt="my pic"

width="150" height="220" />

 

The image is on one folder down from the html document that calls for it.

 

Please can anyone help? At the moment I can't see the woods for the trees, I've been stuck with this problem for days now.

 

Please, Please can someone point out to me what I am doing wrong.

 

Thanks in advance,

 

Slooshy :rolleyes:

Check that the image is stored in the correct place (i.e. in the images folder within the root of your site). Your code looks fine so it must be a referencing problem.

 

Is the site online?

If you're absolutely sure that the path is correct, and the image exists in that folder, then it could be something else in your CSS which is causing it to be hidden (are you using CSS?), or I suppose it could be a corrupt image.

 

If you put the full image path ( e.g. http://www.mydomain.com/images/angela.jpg ) into your browser address bar, does the image display?

 

If you're using Linux hosting, have you made sure you're not using uppercase when it should be lowercase, and vice versa?

 

If this is a live page on "teh Interwebs", not just something on your PC, it would be good to have a URL to check.

 

EDIT: Ha! Beaten by a pigeon!

Do you have a link?

 

Try this:

 

<img src="../images/angela.jpg" align="left" alt="my pic"
width="150" height="220" />

that should work, you should use css for to style it though.

 

<img src="images/angela.jpg" alt="my pic" class="myimage" />

 

img.myimage {
float:left;
width:150px;
height:220px;
}

 

Where have you put your picture in relation to the current folder?

Bocaj is correct. Instead of using align="left", give the image a class="image_description" and then style it as suggested by Bocaj using an external style instruction.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.