Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: societyofrobots on May 24, 2008, 05:07:22 PM

Title: ? marks instead of images in Safari
Post by: societyofrobots on May 24, 2008, 05:07:22 PM
Images come up as ? marks using Safari on MacOs10.5. I'm using the latest v1.1.5 files. Images work fine in IE and Firefox on XP otherwise.

This is what it looks like:

http://img379.imageshack.us/img379/1210/forumbugsiq7.jpg

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg379.imageshack.us%2Fimg379%2F1210%2Fforumbugsiq7.jpg&hash=9f5d6b18c6cf24e5c76c3aa8db6aa77a7035e4aa)
Title: Re: ? marks instead of images in Safari
Post by: lordtron on May 25, 2008, 04:47:57 AM
Its not just Mac's that do it. Windows does the same thing when it comes to Safari. Safari reads images differently than IE or FF does.
Title: Re: ? marks instead of images in Safari
Post by: MrPhil on May 25, 2008, 10:04:58 AM
So you're saying that the page displays OK on FF or IE, but on Safari some of the images don't show up?

1) Look at the "Page Source" in the browser, and see what the path and name of the image it's trying to display are. Can you directly bring up this image on your Safari browser (http://www.yoursite.com/images/this_button.jpg or whatever)? If you can't, it sounds like the image file is slightly corrupted (if it will show OK on FF or IE).

2) Look at the Page Source in FF or IE... is the image path and name exactly the same as with Safari, but displays correctly on that browser?

3) Try feeding the page to a validator (such as http://validator.w3.org) and see if it reports any funny business with the HTML. Perhaps there's something that passes muster with FF and IE, but fails on Safari. Or worse, there's a bug in Safari in either the HTML parsing or the image display.

4) Post a link to this page and other people can try it out for themselves. Any mods installed, or is it vanilla 1.1.5?
Title: Re: ? marks instead of images in Safari
Post by: Sarge on June 18, 2008, 07:02:31 AM
Hello societyofrobots, have you followed the above advice?
Title: Re: ? marks instead of images in Safari
Post by: societyofrobots on August 29, 2008, 05:05:01 PM
Sorry for the delay in my reply.

1), 2)  I don't use Safari, but my site visitor did. I am unable to check.

3) The validator returns a billion results . . .

4) http://www.societyofrobots.com/robotforum
No mods that should affect that have been installed.
Title: Re: ? marks instead of images in Safari
Post by: MrPhil on August 29, 2008, 05:27:51 PM
I see you're still on SMF 1.1.4. The W3C validator complains about the lack of quotation marks around attribute values (e.g., <body width=100%>, rather than <body width="100%">), but I don't know if it has any significance here. Did you change any code in SMF yourself (or with a mod), particularly anything in the page header (especially the DOCTYPE)? I don't have a 1.1.4 level forum to validate against, but my SMF 1.1.5 forum does validate without any errors. Is there anything in common about the missing images, such as that they come from the same mod or theme? Not all images are missing; it appears to be only some buttons.
Title: Re: ? marks instead of images in Safari
Post by: societyofrobots on September 07, 2008, 01:02:12 PM
Well, I *think* I'm on 1.1.5, but I'm having this problem:
http://www.simplemachines.org/community/index.php?topic=239979.0

I didn't modify the images.

About 3 years ago I modified the code a bit, but don't remember how. I think I just added another table for some ads, and added css to make the links look pretty on mouse-overs.
Title: Re: ? marks instead of images in Safari
Post by: MrPhil on September 07, 2008, 07:11:41 PM
Are you really at 1.1.5 now (according to the copyright)? The validator still shows a ton of errors. The first one is <body width=100%>. I don't think "width" is a valid attribute for <body>, and the value (100%) is missing quotation marks. My vanilla 1.1.5 validates cleanly, so whoever worked on your site really messed up the HTML. Is this a non-standard theme (not default, classic, or babylon)? If so, try one of the standard themes and see if Safari then works OK. I suppose that the HTML might be "off" just enough to confuse Safari, while IE and FF are a bit more forgiving?
Title: Re: ? marks instead of images in Safari
Post by: Rumbaar on September 24, 2008, 08:36:38 PM
Is it just those specific images?  When you right-click and choose path, what is the path?

1, 2) Install Safari and test :)

Or supply a test account so we can test those registered members areas.
Title: Re: ? marks instead of images in Safari
Post by: societyofrobots on October 18, 2008, 06:10:10 AM
Its my HTML, thank you :P
(and quotes aren't required in HTML, thats the standard, but they don't do anything but waste bandwidth :P)

I'm sure if SMF was interested, they'd check my page with Safari, otherwise its not an issue for me :D
Title: Re: ? marks instead of images in Safari
Post by: Dannii on October 18, 2008, 06:12:46 AM
If you have a problem it's generally wise to take the advice, even if it is wasteful. Perhaps this is one case where quotes are actually useful?
Title: Re: ? marks instead of images in Safari
Post by: Rumbaar on October 18, 2008, 08:25:47 AM
Quote from: societyofrobots on October 18, 2008, 06:10:10 AMIts my HTML, thank you :P
(and quotes aren't required in HTML, thats the standard, but they don't do anything but waste bandwidth :P)

I'm sure if SMF was interested, they'd check my page with Safari, otherwise its not an issue for me :D
'SMF' don't go around looking at other general users forums, we are here to offer support.  But it seems you're not too fussed about it.  So if you're not, "we're" not.  So I'll mark this as closed.