4 replies
Hi guys
been a while since I posted due to ill health.I'm trying to add some graphics to my blog but when I enter the graphics code and refresh my blog all I get is error404 notfound.could anyone offer any advice please.Thanks guys
Mel Ramsay
#adding #graphics
  • Profile picture of the author weblink29
    Where is the url to your graphic?

    What code are you using to load the graphic?

    It sounds like the code isn't pointing to where the graphic file is actually located.
    Signature

    Nothing to see here folks.....move along.

    {{ DiscussionBoard.errors[4087327].message }}
  • Profile picture of the author mel ramsay
    I am using filezilla.I am working on john thornhill's marketing masterclass course.I upload code to filezilla then enter path into my address bar as instructed then refresh blog but get error404
    {{ DiscussionBoard.errors[4087363].message }}
    • Profile picture of the author ronc0011
      There are a couple of things that need to be right when you display an image.
      First of all the image actually has to be there somewhere in the file system. I usually put all images in a top level folder named, oddly enough, "images". The next thing that matters is where the html page is that's calling the image. If it also is in the top level then the path you would use to get to the image is going to be something like this...

      <img src="/images/MyImage.gif" alt="Some good SEO text"/>



      If the html file is one folder down in the file structure then the path will be like this...

      <img src="./images/MyImage.gif" alt="Some good SEO text"/>



      If both the image and the calling html file are on the top level then it would look like this...

      <img src="MyImage.gif" alt="Some good SEO text"/>



      Also things like Wordpress have odd variances on these rules like for instance on the first scenario Wordpress needs a preceding "/" whereas other systems don't need this. Also Wordpress is case sensitive whereas the typical web server doesn't care about case for file names. Wordpress also likes to have a space at the end before the closing tag.
      {{ DiscussionBoard.errors[4087610].message }}
    • Profile picture of the author weblink29
      Originally Posted by mel ramsay View Post

      I am using filezilla.I am working on john thornhill's marketing masterclass course.I upload code to filezilla then enter path into my address bar as instructed then refresh blog but get error404
      OK...so you aren't even adding code to a website. You are just uploading an image to your server using filezilla and testing it in a web browser.

      This will be next to impossible to help you with without knowing the details of your server and the folder/subfolder you are uploading it to. But, in general terms if your domain is: coolproduct.com and you created a folder called images and the file name is mypicture.jpg you would load it into a web browser like this:

      http://coolproduct.com/images/mypicture.jpg

      It all depends on the folders you have on your website. If the image is inside of a wordpress blog it will change the folder structure entirely. It all depends on where you uploaded the file to. If you can give me more details of the folder(s) or folder tree you uploaded it to I can help.

      By folder tree I mean folder/subfolder/another subfolder/etc
      Signature

      Nothing to see here folks.....move along.

      {{ DiscussionBoard.errors[4087673].message }}

Trending Topics