Picture problems

  Dorkins 12:04 03 Feb 2007

Hello everyone.
My problem: I have constructed a webpage and when i want to view a player's profile i just click on a player's name and his profile pops up with all his playing details and a picture. The Webpage, profile and picture are all stored in different folders/directories. Even so, Everything works great when i view the profile through IE7, but when i use either Firefox or Opera the picture fails to appear although the profile does. Could someone help me out here please! Thanks

  Forum Editor 13:37 03 Feb 2007

a link to the page in question, so we can take a look at the code.

  RicScott 20:41 06 Feb 2007

view the site without the picture?
If so clear your cache and try again.

make sure that the image link is correct, I know you say it works in one but not the other, but if it works in one, it should work in the other.
(The only thing I found doesn't translate too well is CSS).

  Dorkins 21:38 06 Feb 2007

I have put the page online with "Freewebs" and it can be viewed here:
click here

The players profiles are stored in the "profiles" folder whilst the players pictures are stored in the "players" folder. Hope you can help as it's driving me up the wall. Thanks

  PurplePenny 21:56 06 Feb 2007

Could be the JavaScript: I've come across examples of Javascript that work just fine in one browser and not in another.

I can see the bit of JavaScript that is calling the profile but not how it calls the picture but that might just be me being blind, daft or half asleep.

  cycoze 00:59 07 Feb 2007

I just had a quick look and i can only get #6 Cureton to show an image in the popup window in both IE7 and FF2.

The only difference i can immediately see is that the code for the popup window for Cureton has the source image as...

<img src="../../players/cureton.jpg"

All of the others are missing a ../ like the example below...

<img src="../players/earnshaw.jpg"

So try adding the extra ../ to see if it makes a difference.

  cycoze 01:01 07 Feb 2007

That`s the code from the popup window, not for the popup window.

  cycoze 21:57 07 Feb 2007

It is working fine in both IE7 and FF2 now.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

WPA2 hack: How secure is your Wi-Fi?

Microsoft Surface Book 2 hands-on review – bigger and 5x faster

Best kids apps for iPhone & iPad

Que faire si son iPhone ou iPad est tombé dans de l'eau ?