enter image description hereI have dabbled with html in the past and to a very small degree some CSS. All i am trying to do at this moment is have a website/webserver which stores one image. (The image will be retrieved by an Android game i have developed)

I have made a very simple index.html just for the sake of it really (and because after uploading my image to the server, I got the error: FORBIDDEN 404)

so long story short, there is a link on the index.html to the image url. If I load the page then click the link the image loads up and I can see the url is what I expected it to be. But if I type the URL into browser directly it doesn't display (gives 404 FORBIDDEN) -- of course the game isn't able to retrieve it either as I have tested.

I have checked the Permissions of the files and folders. They were all on 755. But I read somewhere maybe it was better the actual files go onto 644, which is how I currently have it (so folders 755 / files 644). Neither way did it work.

Strangely, sometimes if I type the full image url INCLUDING www. at front, it sometimes loads ?!?!???

here is the link to the website if you'd like to see what i mean: homepage and directly to image files url

enter image description here

enter image description here


The problem you are having is related to case sensitivity on a unix filesystem, as well as an incorrect file extension.

In your HTML you have the filename thisWeek.png however you are linking to thisweek.jpg, these are two different files.

Fixing the filename causes the image to load. Watch your case as well. thisWeek.jpg and thisweek.jpg are different.

View the image of the site with the chrome edits I made below:

enter image description here


It appears that your 403 issue is intermittent and this is a common problem on the free host you are using, awardspace. They have file and word filtering on their servers that gets triggered by some images and words. See this link http://awfaq.awardspace.info/?The_FAQ_Supplement:Server_Error_Messages:I_get_a_403_-_forbidden_error%21

  • hi there, thanks for this. I had noticed this just now and changed it actually. But if you type memesliders.tk/thisweek.jpg it still loads nothing. and my game cant retrieve it Dec 21 '17 at 17:07
  • i edit my question with extra screen shot Dec 21 '17 at 17:08
  • 2
    I found out the problem. It's your host. Maybe try another host for this. Answer is updated. Dec 21 '17 at 17:20
  • 1
    regardless your answer was superb thank you. ill report back with how i eventually fix it. Have an excellent one!!!! :P Dec 21 '17 at 17:22
  • 1
    Right now you have <A HREF="http://www.memesliders.tk/zxzsdsadzdczdsz.jpg"><IMG SRC="zxzsdsadzdczdsz.jpg" ALT="Home"></A> which does not use the same link you gave for direct access: http://memesliders.tk/thisweek.jpg Dec 21 '17 at 19:07

after much trial and error I found my problem.

Yes the links are incorrect now but that was nothing to do with it, I'd triple checked the links at the time but have tried 3 or more new domain names and hosting services.

The problem was 100% the free hosts I chose (I tried at least 4 of the top slots of Google), the all blocked the images from being retrieved by my game (i think its called hotlinking)

Anyway, I solved my issue very easily by joining: Githubpages.io

I have my content online for free and I control the URL name so its perfect.

If that wasn't an option, I guess I would have had to join a paid host after making them verify that this hotlink blocking wasnt in the T&C's

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.