Welcome! Log In Create A New Profile

Advanced

Images not showing

Posted by Mac 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Re: Images not showing
October 23, 2013 08:47AM
Greetings bigron / Taskmanager / 70859159,

I have checked the image name / capitalization and the image location is also okay.

70859159 I'm glad to know you tried out my script and it worked using your image.
On my browser it just shows the image bounding box and a central icon but no image.
I'll try again the same script but this time using the .jpg image just to see if this could be the problem.

Many thanks.
Re: Image still not showing
October 23, 2013 09:12AM
Greetings Bigron / Taskmanager / 70859159,

I've tried using the .jpg image while its location is in the same folder as my index file but still my image does not show on my browser (google chrome).

Any other ideas.

Here is my script;

<!DOCTYPE>
<html>
<head>
<title>
Paul Masaku Soo
</title>

</head>
<body bgcolor="#cccc99">
<div align='center'>
<p><b>78111889</b></p>

<p><h2>Paul Soo</h2></p>
<img src="bgimage.jpg" height="285" width="285" alt="Paul Soo">


</body>
</html>





I've also tried it while the image s in an images folder but it also will not work when I run it with google chrome.

Here's my script;


<!DOCTYPE>
<html>
<head>
<title>
Paul Masaku Soo
</title>

</head>
<body bgcolor="#cccc99">
<div align='center'>
<p><b>78111889</b></p>

<p><h2>Paul Soo</h2></p>
<img src="images/bgimage.jpg" height="285" width="285" alt="Paul Soo">


</body>
</html>
avatar
Mac
Re: Images not showing
October 23, 2013 09:25AM
I suggest you work through the threads in the first post here: http://osprey.unisa.ac.za/phorum/read.php?406,99302
Re: Images not showing
October 23, 2013 09:46AM
Hey Paul

I'm not sure what could be the bug seeing that your code is alright, just try to close the div tags e.g. <div align="center">...</div>

Also try to see if you can define the image size from the CSS code and readjust it as you test to see how big it appear on your site. One more thing your script runs very well and I altered your image with mine and it works, so the problem is the <div>tags</div>.

Try this:

<!DOCTYPE>
<html>
<head>
<title>
Paul Masaku Soo
</title>

</head>
<body bgcolor="#cccc99">
<div align='center'>
<p><b>78111889</b></p>

<p><h2>Paul Soo</h2></p>
<img src="images/bgimage.jpg" height="285" width="285" alt="Paul Soo">
</div>


</body>
</html>

It should work with the closing div tag(</div>winking smiley added on. Let me know if you get stuck again Paul.

Happy codding.
Tshepiso
Re: Images not showing
October 23, 2013 12:56PM
Greetings bigron,

Yes the actual image name is exactly the same on my script as on the image itself "bgimage.gif" (Without the quotes).

That's why I'm wondering why it does not seem to work!
Re: Images not showing
October 23, 2013 01:08PM
Greetings Taskmanager,

Thanks for the input.
I've tried closing the div tag but still I'm not able to view the image.

Here's my code;

<!DOCTYPE>
<html>
<head>
<title>
Paul Masaku Soo
</title>

</head>
<body bgcolor="#cccc99">
<div align='center'>
<p><b>78111889</b></p>

<p><h2>Paul Soo</h2></p>
<img src="images/bgimage.jpg" height="285" width="285" alt="Paul Soo">
</div>

</body>
</html>

Kind regards.
avatar
Mac
Re: Images not showing
October 23, 2013 01:24PM
You will need to read through all the threads I have posted above until you pick up something. Only other thing I can suggest is right click the image, choose properties and have a look at the path to the image. Clearly you are missing something somewhere.... and the guessing game is just wasting time.
Re: Images not showing
October 23, 2013 01:34PM
Greetings Prof Mac van der Merwe,

Thanks, I've gone through the links you provided me.
I'm still not able to find the error I've made.

Here is my code;

<!DOCTYPE>
<html>
<head>
<title>
Paul Masaku Soo
</title>

</head>
<body bgcolor="#cccc99">
<div align='center'>
<p><b>78111889</b></p>

<p><h2>Paul Soo</h2></p>
<img src="images/bgimage.gif" height="800" width="600" alt="Paul Soo">
</div>

</body>
</html>

Kind regards.
avatar
Mac
Re: Images not showing
October 23, 2013 01:47PM
Providing the code only is a bit like saying my car won't start - I do not have access to your car, so it could be a lack of fuel, a flat battery, etc. I would just be guessing. The links provided cover all the possibilities, so if you have worked through them all then it MUST work. The only other option is that a cached page is served, in which case you can press Ctrl + F5 to force a new page fetch... which will hopefully serve the image. Perhaps post a link to this problem page.
Re: Images not showing
October 23, 2013 09:24PM
Greetings Prof Mac van der Merwe,

Thanks for the information you provided me.
I'll keep trying to solve the problem.


Kind regards.
Re: Images not showing
October 24, 2013 06:44AM
Greetings Prof Mac van der Merwe,

Here's my link to the website where the image isn't showing;

http://freetzi.paulsoo.freetzi.com


Kind regards
Re: Images not showing
October 24, 2013 07:23AM
Greetings Prof Mac van der Merwe,

I have changed the image I was using for another one and now strangely enough the image shows both on my browser as well as on the website.

Many thanks.

Kind regards.
Re: Images not showing
October 24, 2013 07:23AM
I have looked at your website and the image is showing correctly on my side. This suggests to me that your code is ok, but there is some issue with your browser. It could be that it is set up to block images or not load them. Have you tried it in different browsers, like Firefox, IE or Opera?
Sorry, only registered users may post in this forum.

Click here to login