Page 1 of 1

Pictures/Gauges/Graphs problem

Posted: Thu 07 Feb 2013 9:08 pm
by gummibear1986
Hi All

Ive just set up a site, however i am having trouble with pictures/graphs/gauges. Ive tried searching the forum and scoured the wiki/faq but i just cannot get it working correctly.

Basically, from the first page, the moon picture doesn't work. On the gauges page, the realtime wind gauges work and update, however none of the others will show. The data is there, as is confirmed with mouseover. The barometer and wind gauge, well, kinda work sometimes :S

Likewise on the trends page, none of the graphs show. Its almost as if the site cannot find the pictures in the dbimages folder, but i have confirmed that they are there on the server. I have also looked through the ftplog and cannot see any errors there. As far as i can tell, all files that should be on the server are there, including the realtime.txt.

Finally, it also appears that the background picture doesnt work either.

The silverlight realtime works flawlessly, but unfortunately this cannot be viewed on my ipad/phone.

I really am running out of ideas and am really hoping that you nice folk will be able to help me with this.

Many Thanks

David

Re: Pictures/Gauges/Graphs problem

Posted: Thu 07 Feb 2013 9:10 pm
by steve
It's hard to say without seeing your site, but it sounds like you haven't got an images folder.

Re: Pictures/Gauges/Graphs problem

Posted: Thu 07 Feb 2013 9:37 pm
by gummibear1986
Hi Steve

The website is at http://david.focal-fotography.com/weather/. The images folder is definitely there on the ftp server, as i can see that the web update also adds a number of files that do not appear in there upon initial setup. Ive attached a screenshot of the ftp directory to confirm.

Im really at a loss here, ive tried everything i can think of.

Thanks

David

Re: Pictures/Gauges/Graphs problem

Posted: Thu 07 Feb 2013 9:47 pm
by steve
Your server is doing some redirecting which seems to be screwing up access to image files. For example, a request for http://david.focal-fotography.com/weath ... s/moon.bmp returns a 302 redirect to http://www.focal-fotography.com/angryman.jpg. That file doesn't appear to exist anyway, so a 404 not found results. A request for http://david.focal-fotography.com/weath ... hermos.gif returns the same redirect, which is why the gauges aren't displaying correctly.

Re: Pictures/Gauges/Graphs problem

Posted: Thu 07 Feb 2013 9:57 pm
by gummibear1986
That makes a lot of sense! Im not sure what my brother has being doing with the main site but i will get him to look at it.

Thanks

David

Re: Pictures/Gauges/Graphs problem

Posted: Fri 08 Feb 2013 8:12 am
by steve
It looks to me like an attempt at some kind of image hotlinking prevention.

Re: Pictures/Gauges/Graphs problem

Posted: Fri 08 Feb 2013 9:25 am
by gummibear1986
Hi Steve

Had a mail from my brother this morning and you're exactly right. It was hot linking that was causing the problem.

Thanks

David