View Full Version : Broken images and crazy error? IE
Xencored
09-26-2009, 12:47 PM
Hey all when viewing me board as a guest
some of the images are broken Even tho they are 100% there
and IE gives me this error see pic
104780
so anyone any idea whats going on?
Thanks
Mike
Lynne
09-26-2009, 03:17 PM
Have you tried running your page through an html validator?
Xencored
09-26-2009, 03:23 PM
Have you tried running your page through an html validator?
hmm no i havnt but just did and got
Errors found while checking this document as XHTML 1.0 Transitional!
Result: 39 Errors, 4 warning(s)
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.myanimeisland.com%2Ffor ums%2F&charset=%28detect+automatically%29&doctype=Inline&group=0
:(
Lynne
09-26-2009, 04:17 PM
You need to run the validator on the page you are having the errors on (the showthread page) in order for it to help you.
And take a look at the source code for those broken images.
Xencored
09-26-2009, 05:03 PM
You need to run the validator on the page you are having the errors on (the showthread page) in order for it to help you.
And take a look at the source code for those broken images.
wow there is 219 Errors, 104 warning(s)
how would i even start with this?
is this not a vbulletin problem?
i dont understand why its like this
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.myanimeisland.com%2Ffor ums%2Fsite-news%2F72-affiliate-banners.html&charset=%28detect+automatically%29&doctype=Inline&group=0
Lynne
09-26-2009, 05:19 PM
It is not a default vbulletin issue - I'd guess most of those are from modifications. For instance, vbulletin doesn't use <br> at all - they do them properly as <br />. Same with & in a url, they always use & . As for how do you start? You start with the little things like the ones I mentioned. You'll find that you fix one, and it usually fixes several of the errors.
It also looks like non-logged in users don't have permission to view some images. This one isn't showing for me and I get a Not Logged In/No Permission error when trying to view it in my browser - http://www.myanimeisland.com/forums/attachments/site-news/31d1253977379-affiliate-banners-maibanner2.jpg
Xencored
09-26-2009, 05:31 PM
It is not a default vbulletin issue - I'd guess most of those are from modifications. For instance, vbulletin doesn't use <br> at all - they do them properly as <br />. Same with & in a url, they always use & . As for how do you start? You start with the little things like the ones I mentioned. You'll find that you fix one, and it usually fixes several of the errors.
It also looks like non-logged in users don't have permission to view some images. This one isn't showing for me and I get a Not Logged In/No Permission error when trying to view it in my browser - http://www.myanimeisland.com/forums/attachments/site-news/31d1253977379-affiliate-banners-maibanner2.jpg
Hey thanks ill try and fix them coding errors than
as for that image is it classed as a Attachments
ive think ive turned on all images to guests dont think ive missed any
Thanks
# Error Line 64, Column 306: required attribute "alt" not specified
…//www.myanimeisland.com/newmai.jpg"/></a> </tr> </table> </tr> <tr> <td width
✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
i have loads of these ones and im not sure what is wrong with it
any chance you know lynne or anyone else
Thanks
Lynne
09-26-2009, 07:06 PM
That has to do with any image tags you use. You need the alt attribute:
<img src="whatever.jpg" alt="something" />
Xencored
09-26-2009, 07:31 PM
That has to do with any image tags you use. You need the alt attribute:
<img src="whatever.jpg" alt="something" />
Thanks Lynne what would i put for the alt="something" bit as a Example
And could you check that image link now see if you can see it
Thanks
Lynne
09-26-2009, 08:03 PM
You would put what you want users to see if the image doesn't show. So, for instance, if it's an image of a happy face, then the alt would be "happy face". Or, you can just have alt="", but you need to have the alt attribute in there.
Xencored
09-26-2009, 08:41 PM
You would put what you want users to see if the image doesn't show. So, for instance, if it's an image of a happy face, then the alt would be "happy face". Or, you can just have alt="", but you need to have the alt attribute in there.
Thanks Lynne your a star as allways
p.s did that image show this time i played with guest accounts :D
Lynne
09-26-2009, 10:40 PM
I can see this link now as an unregistered user - http://www.myanimeisland.com/forums/attachments/site-news/31d1253977379-affiliate-banners-maibanner2.jpg
Xencored
09-26-2009, 11:24 PM
I can see this link now as an unregistered user - http://www.myanimeisland.com/forums/attachments/site-news/31d1253977379-affiliate-banners-maibanner2.jpg
Ok Lynne thanks
Am mega failing i did the alt="" but it gives me more and more errors
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td height="122" class="header"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<img border="0" src="http://www.myanimeisland.com/newmai.jpg" alt="">
</tr>
</table>
</tr>
<tr>
<td width="100%" class="nv" height="30" >
<div class="nvlink" align="left">
<a href="http://www.myanimeisland.com">Home</a>
<a href="http://www.myanimeisland.com/forums/">Forums</a>
<a href="http://www.myanimeisland.com/gallery/">Gallery</a>
<a href="http://www.myanimeisland.com/forums/video.php">Media</a>
<a href="http://www.myanimeisland.com/forums/arcade.php">Games</a>
<a href="http://www.myanimeisland.com/forums/downloads.php">Downloads</a>
<a href="http://www.myanimeisland.com/blog/?page_id=5">About Info</a>
</div>
</td>
</tr>
</table>
$spacer_open
$_phpinclude_output
$ad_location[ad_header_end]
If you have time can you see anything wrong with this :confused:
Thanks
Lynne
09-26-2009, 11:35 PM
You need to have the / at the end of your image tag:
<img border="0" src="http://www.myanimeisland.com/newmai.jpg" alt="" />
And, you always need to put content in a table in <td> tags - you can't just put it in <tr> tags.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.