website help :)
Discussion
I posted this last night to Pie & Piston, wondering if anyone here can help
I have a website, that when viewed locally works perfectly. But when I upload it and view it online it doesnt work. Basically certain bits of code are being removed by browsers. Some people can view site fine, others get bits missing.
I have emptied cache, re-uploaded site. Tried it in 3 different browsers (IE, firefox and Opera) and all get the same results.
I have extracts of code below:
online version:
[quote]
<tr>
<td colspan="6"><center><img src="images/banner.jpg" width="790" height="100">
</center></td>
</tr>
<tr>
[/quote]
local version:
[quote]
<table width="800" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td width="203"> </td>
<td width="116"> </td>
<td width="116"> </td>
<td width="116"> </td>
<td width="116"> </td>
<td width="131"> </td>
</tr>
<tr>
<td colspan="6"><center><img src="images/banner.jpg" width="790" height="100">
</center></td>
</tr>
<tr>
[/quote]
You can see when I view the source locally the image is there, but when i goto Edit: View Source: online that bit of code is missing?
I have checked the file is there and in the correct place on the server, I have also tried deleting the file and re-uploading it.
Site is www.speed-shot.co.uk
Any help would be gratefully received.
Thanks
-
Stuart
I have a website, that when viewed locally works perfectly. But when I upload it and view it online it doesnt work. Basically certain bits of code are being removed by browsers. Some people can view site fine, others get bits missing.
I have emptied cache, re-uploaded site. Tried it in 3 different browsers (IE, firefox and Opera) and all get the same results.
I have extracts of code below:
online version:
[quote]
<tr>
<td colspan="6"><center><img src="images/banner.jpg" width="790" height="100">
</center></td>
</tr>
<tr>
[/quote]
local version:
[quote]
<table width="800" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td width="203"> </td>
<td width="116"> </td>
<td width="116"> </td>
<td width="116"> </td>
<td width="116"> </td>
<td width="131"> </td>
</tr>
<tr>
<td colspan="6"><center><img src="images/banner.jpg" width="790" height="100">
</center></td>
</tr>
<tr>
[/quote]
You can see when I view the source locally the image is there, but when i goto Edit: View Source: online that bit of code is missing?
I have checked the file is there and in the correct place on the server, I have also tried deleting the file and re-uploading it.
Site is www.speed-shot.co.uk
Any help would be gratefully received.
Thanks
-
Stuart
GreenV8S said:
What I see doesn't look like either of those, so either you're still playing with it or you aren't looking at what you think you are.
That is the top of the table starting at the <head> section
[quote]
</head>
<body bgcolor="#666666" onLoad="MM_preloadImages('images/contact-over.jpg','images/links-over.jpg','images/galleries-over.jpg')">
<center>
<table width="800" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td width="203"> </td>
<td width="116"> </td>
<td width="116"> </td>
<td width="116"> </td>
<td width="116"> </td>
<td width="131"> </td>
</tr>
<tr>
<td colspan="6"><center>
</center></td>
</tr>
<tr>
<td height="2" colspan="6"> </td>
</tr>
[/quote]
but on the local version thre is a <img src="...."> tag in there that isnt showing up online,
basically there should be a banner at the top of the page, screenshotof what im seeing here
[url]www.speed-shot.co.uk/images/whatis[/url]
galleries page
[url]www.speed-shot.co.uk/images/gall.j[/url]
on galleries page, viewed locally i get pics down the side that are clickable and abanners at top of each page.
-
stuart
>> Edited by sstein on Friday 10th March 14:06
Might be a dumb suggestion but you haven't turned off images loading somewhere have you? That should turn off your javascript menus as well though
The site works fine for me and replicates in the source as you seem to want it though, suggesting the problem is localised on your machine? or have you tried on others as well?
The site works fine for me and replicates in the source as you seem to want it though, suggesting the problem is localised on your machine? or have you tried on others as well?
I must have images turned on as I can see pictures in pistonheads and other sites.
It seems to be about 50/50 some people the site works as intended, others get the same problem I do.
Got my mate to try it at 1024x768 (the resolution im running) he says it still works fine, just everything is bigger.
Its very bizzare isnt it?
-
Stuart
It seems to be about 50/50 some people the site works as intended, others get the same problem I do.
Got my mate to try it at 1024x768 (the resolution im running) he says it still works fine, just everything is bigger.
Its very bizzare isnt it?
-
Stuart
From reading this I'm not actually clear what it is supposed to look like - in any case here's what it renders as for me:
IN addition to that, the code you say is missing in your first post is present when I view the site.
Because your image is called "banner" it's possible that ad blocking software is hiding it. Maybe if you renamed your banner.jpg to header.jpg that might help...
IN addition to that, the code you say is missing in your first post is present when I view the site.
Because your image is called "banner" it's possible that ad blocking software is hiding it. Maybe if you renamed your banner.jpg to header.jpg that might help...
sstein said:
Its a new page, I deleted the old site and re-uploaded the new one last night.
You think it could be a problem with my ISP?
If so is their a way that I can tell my browser to bypass the ISP cache? and always get the newest version?
-
Stuart
Yep it's possible if people are seeing different pages who have different ISPs. You could rename the page to something totally new and try browsing it then and see what happens. It'll give you a pointer anyway.
_dobbo_ said:
Because your image is called "banner" it's possible that ad blocking software is hiding it. Maybe if you renamed your banner.jpg to header.jpg that might help...
Right, i renamed the pic banner.jpg to mainimage.jpg and now the home page works!!!!
Thanks a lot!
Now im going to test the galleries page and see if that works, *fingers crossed*
-
Stuart
Ok,
the banner is working now since i renamed it to mainimage.jpg, so it must have been getting filtered out by something.
Now though i am still missing pics on galleries page.
It cant be filtering these out, they have normal names like DSC_0934 Porsche 911.jpg etc
-
Stuart
>> Edited by sstein on Friday 10th March 15:50
>> Edited by sstein on Friday 10th March 15:51
the banner is working now since i renamed it to mainimage.jpg, so it must have been getting filtered out by something.
Now though i am still missing pics on galleries page.
It cant be filtering these out, they have normal names like DSC_0934 Porsche 911.jpg etc
-
Stuart
>> Edited by sstein on Friday 10th March 15:50
>> Edited by sstein on Friday 10th March 15:51
Try to avoid using spaces in your file names, if you must have a space in the name use an underscore
DSC_0934 Porsche 911.jpg
will become
DSC_0934%20Porsche%20911.jpg
if you have space in your file names,
so if I was you I would rename the images and alter the code to reflect this.
Cheers
Ian
DSC_0934 Porsche 911.jpg
will become
DSC_0934%20Porsche%20911.jpg
if you have space in your file names,
so if I was you I would rename the images and alter the code to reflect this.
Cheers
Ian
tried renaming the 1st image on the galleries page from
DSC_1379 Orange Single Seater.jpg
to
2005DHC_Thumb.jpg
re-uploaded and emptied cache, but even with no spaces it wolnt appear.
I've also removed the pre-load javascript stuff at the top.
It's so annoying when something doesn't work and you can't see why?


Thanks for everyones help,
-
Stuart
>> Edited by sstein on Friday 10th March 16:11
DSC_1379 Orange Single Seater.jpg
to
2005DHC_Thumb.jpg
re-uploaded and emptied cache, but even with no spaces it wolnt appear.
I've also removed the pre-load javascript stuff at the top.
It's so annoying when something doesn't work and you can't see why?


Thanks for everyones help,
-
Stuart
>> Edited by sstein on Friday 10th March 16:11
tried putting that code in (what does it do)
I noticed as well when i view the online source code, it is adding this to the bottom of the page that isnt on local version.
>> Edited by sstein on Friday 10th March 16:16
I noticed as well when i view the online source code, it is adding this to the bottom of the page that isnt on local version.
stuart said:
<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;
function SymOnUnload()
{
window.open = SymWinOpen;
if(SymRealOnUnload != null)
SymRealOnUnload();
}
function SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}
SymRealOnLoad = window.onload;
window.onload = SymOnLoad;
//-->
</script>
>> Edited by sstein on Friday 10th March 16:16
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff




