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
165 posts

Master Geek
+1 received by user: 48

Subscriber

  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?


6186 posts

Uber Geek
+1 received by user: 1013

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.


154 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.

 

 


154 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
2879 posts

Uber Geek
+1 received by user: 369

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 


154 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
2879 posts

Uber Geek
+1 received by user: 369

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!).

 

 

 

 


344 posts

Ultimate Geek
+1 received by user: 130

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.

 

 


344 posts

Ultimate Geek
+1 received by user: 130

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).


1420 posts

Uber Geek
+1 received by user: 148


  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 »

N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07


All or Nothing: New Zealand All Blacks arrives on Amazon Prime Video
Posted 2-Jun-2018 16:21


Innovation Grant, High Tech Awards and new USA office for Kiwi tech company SwipedOn
Posted 1-Jun-2018 20:54


Commerce Commission warns Apple for misleading consumers about their rights
Posted 30-May-2018 13:15


IBM leads Call for Code to use cloud, data, AI, blockchain for natural disaster relief
Posted 25-May-2018 14:12


New FUJIFILM X-T100 aims to do better job than smartphones
Posted 24-May-2018 20:17


Stuff takes 100% ownership of Stuff Fibre
Posted 24-May-2018 19:41



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.