TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 565
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 231
  • Total: 231

images not showing in IE?

Started by NCSurfer, November 03, 2009, 05:02:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NCSurfer

Link to my site: http://www.ani-fieds.com
SMF version: 1.1.10
TP version: v1.0 beta 4
Theme name and version: Simple_Green105
Browser Name and Version: Firefox/IE, latest versions
Mods installed:

Related Error messages:No Messages

The problem is that images that I use on the site will show up fine whether I pull them from the server or from photobucket when I'm using Firefox. But in IE they do not show and it seems to be random. Here is a code that I'm using for one image that does not show in IE....
<center><table width="850" border="0" cellpadding="0">
 <tbody><tr>
   <th scope="col" width="468"><center><script type="text/javascript"><!--
google_ad_client = "pub-8583000123492310";
/* AniFieds_2_468x60, created 10/29/09 */
google_ad_slot = "xxxxxxxxxx";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript" src="http://xxxxxxxxx . xxxxxxxxx.com/xxxxx/show_ads.js">
</script></center></th>
   <th scope="col" width="380"><center><img src="Themes/Simple_Green105/images/FrntPg_Ad468x60_2.jpg">
   </center></th>
 </tr>
</tbody></table></center>


The other is .....which shows in both browsers...
// Advert area...
echo '
<img style="margin: 15px" src="http://www.ani-fieds.com/Themes/Simple_Green105/images/ad.jpg" alt="" title="Advertise" height="125" width="400" />';
// Advert end.


Thanks for any help.

NCSurfer

Zetan

#1
Hi NCSurfer

This may or may not help, but try putting a slash at the beginning of the image path:

/Themes/Simple_Green105/images/FrntPg_Ad468x60_2.jpg

Ken.

In my experience IE will often not show an image that has the relative path only.

Example:
On my forum front page is an article and if the relative path for the image code is used it will not show in IE;
<img src="gallery/6/64_22_03_09_3_43_55.jpeg" alt="" border="none"><br></div></div>

Using that code, but with the full path the image will then show up in IE.
<img src="http://www.ourfamilyforum.org/FamilyForum/gallery/6/64_22_03_09_3_43_55.jpeg" alt="" border="none"><br></div></div>

So, if some of your images show and some do not then checking to see if those not showing use the relative path would be one thing to check.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

NCSurfer

Thanks Zetan, Ken. I have not been able to get the images to show in IE after using both fixes. I did notice that the User Info block at the bottom of the page is a PHP block where as the top ad/image block is a html/javascript block. I'll continue to experiment but any other thoughts on the fix would be great.

Thanks NCSurfer

IchBin

Then you are probably not typing the path correctly. If the files exists at the path you specified, then you should be able to hit the image directly by going to the image in your address bar.
http://www.ani-fieds.com/Themes/TP_DilberMC/images/menu/rss.gif

As you can see, the image does not exist at that location. Check your path, and make sure you are typing the path correctly. Remember it is case sensitive.

NCSurfer

Quote from: IchBinâ„¢ on November 03, 2009, 03:19:16 PM
Then you are probably not typing the path correctly. If the files exists at the path you specified, then you should be able to hit the image directly by going to the image in your address bar.
http://www.ani-fieds.com/Themes/TP_DilberMC/images/menu/rss.gif

As you can see, the image does not exist at that location. Check your path, and make sure you are typing the path correctly. Remember it is case sensitive.

Hi Ichbin,

I haven't started setting those images up for the menu yet. If the path is not correct then why would it be showing in one browser and not the other. (Oh, I probably shouldn't ask that question, no telling what kind of response I'd get.)

I have both images in the two blocks set up the same way, using the entire path to the image. Could it be the type of block it is?

Thanks

IchBin

I don't see the images in any browser.
IE8
FF3.0
Chrome 3.0.xx

Can you show me a link to any of the images that works for you?

NCSurfer

Here is the image I can't get to show in IE..



This is the code for that image I'm using, I have in a table that includes two cols with a google ad on the left and this image on the right..

<th scope="col" width="380"><center><img src="http://www.ani-fieds.com/Themes/Simple_Green105/images/FrntPg_Ad468x60_2.jpg">
    </center></th>


Thanks IchBin

IchBin

I'm going to take a guess that the image has an error in its encoding. I would try to open the image in an editor. Resave it and see if that fixes it. If not, try to change it to a different type (like gif or png). See if that helps.

NCSurfer

Thanks IchBin,

That was strange. i suppose the file was (in some way) messed up. But I recreated from scratch a new image and its showing now. I'll continue to look into it on a Photoshop website and post my findings.

Thanks again,

NCSurfer

This website is proudly hosted on Crocweb Cloud Website Hosting.