Folks,

I am having a problem of having images attached to a content/node not displayed when using Internet Explorer. If you use firefox, everything looks fine but turning to IE, images dispear and leaves empty space. You can check the site and get what my problem is.

Use both firefox and Internet explorer. The site URL is http://www.ugabytes.org

Looking forward to hearing any solution from any of you.

Best,
Ahmed

Comments

traxer’s picture

I cannot reproduce your problem. Maybe you forgot to mention a version number. IE6 and IE7 are fundamentally different, even though they have different major version numbers, Yet they have nearly the same market share at the moment.

--
~/.singatrue: file not found

ndaula’s picture

Well, in both versions, you can't see them. I have tried several times but I can't have them appearing. What could be the problem that I did not touch on?.

Best,
Ahmed

dman’s picture

Looks like your problem is spaces in the filenames.
The html source
<a href="/nod/?q=node/72"><img src="http://www.ugabytes.org/nod/files/images/Tanzania Telecentre Network 27-10-2007 1.jpg" alt="Some of the workshop participants" title="Some of the workshop participants" class="image image-_original " width="400" height="283" /></a>
is not resolving automatically to the proper
http://www.ugabytes.org/nod/files/images/Tanzania%20Telecentre%20Network%2027-10-2007%201.jpg for us in IE, although FF is figuring it out.

- spaces in URLs is bad mojo. you'd be best to stop doing that if you can
- image_attach seems like it's not URL-encoding the src for you, when normally it should. You can probably repair that in your theme, or raise an issue against image_attach.

Your page is largely invalid. The only excuse I can see for IE doing this is that you've told it to render XHTML (which is required to have the URLs always properly encoded) yet that is actually too strict to forgive you having spaces in URLs. You may find it works again if you change the DOCTYPE down to HTML tag soup.

VALIDATE YOUR PAGE and your theme (the errors are half yours and half Drupals). You'll find the htmlcorrector module should help a lot for those unclosed tables coming from the teasers.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

ndaula’s picture

Dman,

I have checked all the areas; image_attach, installing HTMLCORRECTOR and removing space in the image file naming but it no success. Maybe there's another area untouched that could be bringing the problem. Any suggest please.

I still can't have images attached to a node appearing when using IE of all versions. With firefox, you can have images appearing fine.

Ahmed

residentoddball’s picture

I am experiencing the same problem, and I do not have any spaces in the image file name or the url. What else can be causing this?

Jeff Burnz’s picture

@ndaula Some of your file paths are wrong.

In node http://www.ugabytes.org/nod/?q=node/72

Hacking the file path from...
http://www.ugabytes.org/nod/sites/default/files/files/images/TTN.jpg

to...
http://www.ugabytes.org/nod/files/images/TTN.jpg

...brings up the image.

Pasting this into IE7 bought up the image no problem...
http://www.ugabytes.org/nod/files/images/Tanzania%20Telecentre%20Network%2027-10-2007%201.jpg

Notice the file path?

Have you been messing about with the file settings etc? You need to update the file paths for images in nodes.

BTW, I don't want to debase what dman has pointed out, what he says is a very real problem with many sites, and you might want to heed his advice about validation and doc types.