vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Broken images and crazy error? IE (https://vborg.vbsupport.ru/showthread.php?t=223990)

Xencored 09-26-2009 12:47 PM

Broken images and crazy error? IE
 
1 Attachment(s)
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

Attachment 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

Quote:

Originally Posted by Lynne (Post 1890857)
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)

Code:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.myanimeisland.com%2Fforums%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

Quote:

Originally Posted by Lynne (Post 1890899)
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

Code:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.myanimeisland.com%2Fforums%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 &amp; . 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/...maibanner2.jpg

Xencored 09-26-2009 05:31 PM

Quote:

Originally Posted by Lynne (Post 1890932)
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 &amp; . 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/...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

Code:

#  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:
HTML Code:

<img src="whatever.jpg" alt="something" />

Xencored 09-26-2009 07:31 PM

Quote:

Originally Posted by Lynne (Post 1890994)
That has to do with any image tags you use. You need the alt attribute:
HTML Code:

<img src="whatever.jpg" alt="something" />

Thanks Lynne what would i put for the
HTML Code:

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.


All times are GMT. The time now is 02:31 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01244 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete