Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.

jmh



449 posts

Ultimate Geek
+1 received by user: 142

Subscriber

Topic # 193544 14-Mar-2016 18:08
Send private message

Hi 

 

The site is an old one written by my dad, and he would like it to be hosted for public viewing. 

 

 

 

Anyway, most of the images are fine, but a small collection of around 7 don't load.  I have example here:

 

http://erewhoninfrance.co.nf/JOURNAL1999.htm

 

 

 

Underneath Friday 30 July is an image called saone.jpg.  The image is in the same folder as the index file.

 

 

 

The html code is: 
<xxxxp align="center"> <img src="saone.JPG" width="778" height="532"></a></font></p>
<p align="center">&nbsp;</pxxxx>

 

 

 

I've put the xxxx so you can see the code, obviously there are no xxx in the code itself.

 

 

 

I have tried lower and upper case extension of jpg and neither work. Tested in both chrome and IE and neither work.

 

I also tried a simple img src= line without all the sizing and it didn't load either.

 

The image shows correctly when I open the page on my computer. 

 

The coding seems to be the same as other images that load fine on the website

 

 

 

Any suggestions?  Please explain in simple language because my html is pretty basic.

 

Jo

 

 

 

 

 

 

 

 


Create new topic
167 posts

Master Geek
+1 received by user: 48


  Reply # 1513213 14-Mar-2016 18:19
Send private message

I get redirected to http://errors.biz.nf/403.php when I use the url to the images that do not load for me.

 

Maybe it is on the hosting side?


6240 posts

Uber Geek
+1 received by user: 1049

Trusted
Lifetime subscriber

  Reply # 1513215 14-Mar-2016 18:26
Send private message

I even get a 403 if I open one of the working images in a new tab. Something is broken, possibly under the guise of copy protection.


162 posts

Master Geek
+1 received by user: 19


  Reply # 1513216 14-Mar-2016 18:26
Send private message

The html tags are a bit jumbled.  I see this source:

 

<p align="center"> <img src="saone.JPG" width="778" height="532"></a></font></p>

 

 

 

Normally a browser will ignore a lot of the misformed stuff, but maybe remove the </a> and </font> from the paragraph.

 

The web host does seem to give 404's for the url directly to the images, so maybe they are not spelt exactly like that?

 

Otherwise, have you tried anything like

 

<img src="./saone.jpg" />

 

or

 

<img src="~/saone.jpg" />

 

- these vary depending on the web server type and settings.

 

 


162 posts

Master Geek
+1 received by user: 19


  Reply # 1513217 14-Mar-2016 18:27
2 people support this post
Send private message

Oh, and have you tried a different combination of background and text colors?

 

Just curious   : )

 

 


Doesn't know what he doin
2881 posts

Uber Geek
+1 received by user: 374

Subscriber

  Reply # 1513218 14-Mar-2016 18:29
Send private message

My immediate thought would be that there's some type of view / access restriction on the image file which prevents it being opened from the public side. The forbidden error mentioned above seems to make this more so the case. 

 

 

 

Are you able to view/change the access rights to the image files on the host?





Bachelor of Computing Systems (2015)

 

--

 

Late 2013 MacBook Pro with Retina Display (4GB/2.4GHz i5/128GB SSD) - HP DV6 (8GB/2.8GHz i7/120GB SSD + 750GB HDD)
iPhone 6S + (64GB/Gold/Vodafone NZ) - Xperia Z C6603 (16GB/White/Spark NZ)

Sam, Auckland 


162 posts

Master Geek
+1 received by user: 19


  Reply # 1513220 14-Mar-2016 18:33
Send private message

Also this one is a bit confused:

 

<p></font><font size="4"><font color="#FFFF00">&nbsp;</font><a href="ParisPort.jpg"><img src="ParisPort.jpg" border="0" width="751"
height="509" align="left"></a></font></p>

 

 

 

I don't think you want the <a> tags there.  Maybe change that to simply:

 

<img src="ParisPort.jpg" border="0" width="751" height="509" align="left" />

 

as I don't think you need the font elements etc around the image.  I like to use the closing tag on img elements too;  <img .... />

 

 

 

 


Doesn't know what he doin
2881 posts

Uber Geek
+1 received by user: 374

Subscriber

  Reply # 1513221 14-Mar-2016 18:36
One person supports this post
Send private message

LesF:

 

Also this one is a bit confused:

 

<p></font><font size="4"><font color="#FFFF00">&nbsp;</font><a href="ParisPort.jpg"><img src="ParisPort.jpg" border="0" width="751"
height="509" align="left"></a></font></p>

 

 

 

I don't think you want the <a> tags there.  Maybe change that to simply:

 

<img src="ParisPort.jpg" border="0" width="751" height="509" align="left" />

 

as I don't think you need the font elements etc around the image.  I like to use the closing tag on img elements too;  <img .... />

 

 

 

 

 

 

 

 

I don't think an issue like the above would cause the image to not load by itself though. Most of the other images on that page can load as www.domain.com/imagefile1.jpg, the problematic ones will not which points to a problem with the hosting of the file rather than how it's placed in the webpage.





Bachelor of Computing Systems (2015)

 

--

 

Late 2013 MacBook Pro with Retina Display (4GB/2.4GHz i5/128GB SSD) - HP DV6 (8GB/2.8GHz i7/120GB SSD + 750GB HDD)
iPhone 6S + (64GB/Gold/Vodafone NZ) - Xperia Z C6603 (16GB/White/Spark NZ)

Sam, Auckland 


jmh



449 posts

Ultimate Geek
+1 received by user: 142

Subscriber

  Reply # 1513225 14-Mar-2016 18:44
One person supports this post
Send private message

Yeah, the code is a bit of a mess.  I'm thinking that since it loads ok from my computer it must be a hosting issue.  I'll get in touch and asked them. I can tell them I checked the code with some experts and it's fine (if a bit ropey!).

 

 

 

 


359 posts

Ultimate Geek
+1 received by user: 136

Subscriber

  Reply # 1513227 14-Mar-2016 18:50
Send private message

Check the image name is correct, including the case. File names are usually case sensitive.

 

For example.
http://erewhoninfrance.co.nf/Prizelock.JPG is found but http://erewhoninfrance.co.nf/prizelock.JPG returns the 403 error page.  Which really should be a 404 error.

 

 


359 posts

Ultimate Geek
+1 received by user: 136

Subscriber

  Reply # 1513228 14-Mar-2016 18:57
Send private message

Check the image file saone.JPG even exists.

 

It appears the server returns 403 error for anything image that is not found.


jmh



449 posts

Ultimate Geek
+1 received by user: 142

Subscriber

  Reply # 1513234 14-Mar-2016 19:15
Send private message

djtOtago:

 

Check the image name is correct, including the case. File names are usually case sensitive.

 

For example.
http://erewhoninfrance.co.nf/Prizelock.JPG is found but http://erewhoninfrance.co.nf/prizelock.JPG returns the 403 error page.  Which really should be a 404 error.

 

 

 

 

 

 

Turns out you were right.  They got back to me and said they were case sensitive.  Gotta say, that was a quick response from them. (SupportIndeed Dedicated Support Team).


1455 posts

Uber Geek
+1 received by user: 157


  Reply # 1513557 15-Mar-2016 10:24
One person supports this post
Send private message

92 errors, 203 warnings on that page: https://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Ferewhoninfrance.co.nf%2FJOURNAL1999.htm

 

As you now know the errors aren't causing your image problem but may cause other problems down the line.

 

I'm amazed that anyone is still using FrontPage these days, thought it died out years ago.


jmh



449 posts

Ultimate Geek
+1 received by user: 142

Subscriber

  Reply # 1513565 15-Mar-2016 10:39
Send private message

MurrayM:

 

92 errors, 203 warnings on that page: https://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Ferewhoninfrance.co.nf%2FJOURNAL1999.htm

 

As you now know the errors aren't causing your image problem but may cause other problems down the line.

 

I'm amazed that anyone is still using FrontPage these days, thought it died out years ago.

 

 

 

 

Yeah, it's an old site - It's what he had at the time.

 

 

 

Some of the errors on the link are where I had to put code in to give me an apostrophe.  When I raised the issue with the support desk they came back with this:

 

 

 

1. We have changed the encoding of your HTML page (index.htm) from "iso-8859-1" to "utf-8". Please clear your browser's cache and cookies, then review your page.

 

 

 

When I have time I'll go back and check on this.


Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Intel introduces new NUC kits and NUC mini PCs
Posted 16-Aug-2018 11:03


The Warehouse leaps into the AI future with Google
Posted 15-Aug-2018 17:56


Targus set sights on enterprise and consumer growth in New Zealand
Posted 13-Aug-2018 13:47


Huawei to distribute nova 3i in New Zealand
Posted 9-Aug-2018 16:23


Home robot Vector to be available in New Zealand stores
Posted 9-Aug-2018 14:47


Panasonic announces new 2018 OLED TV line up
Posted 7-Aug-2018 16:38


Kordia completes first live 4K TV broadcast
Posted 1-Aug-2018 13:00


Schools get safer and smarter internet with Managed Network Upgrade
Posted 30-Jul-2018 20:01


DNC wants a safer .nz in the coming year
Posted 26-Jul-2018 16:08


Auldhouse becomes an AWS Authorised Training Delivery Partner in New Zealand
Posted 26-Jul-2018 15:55


Rakuten Kobo launches Kobo Clara HD entry level reader
Posted 26-Jul-2018 15:44


Kiwi team reaches semi-finals at the Microsoft Imagine Cup
Posted 26-Jul-2018 15:38


KidsCan App to Help Kiwi Children in Need
Posted 26-Jul-2018 15:32


FUJIFILM announces new high-performance lenses
Posted 24-Jul-2018 14:57


New FUJIFILM XF10 introduces square mode for Instagram sharing
Posted 24-Jul-2018 14:44



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.