Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Anyone help uploading graphics to website?

Options
  • 02-11-2010 6:51pm
    #1
    Registered Users Posts: 26


    Hi,

    I hope I am posting this in the right place. There are a lot of sub forums here!

    My problem is as follows;

    I have a pc running vista with a partitioned hard drive
    I am trying to upload webpages, written on arachnophilia to a website
    www.my-wedding-flower-ideas.com

    I am only learning at all this techie stuff and my graphics are not uploading.
    When I go to enter the image tag in arachnophilia it says

    <img src="../../../Documents/my-wedding-flower-ideas.com/image-files/yellow-wedding-flowers01.jpg" width="297" height="448" title="" alt="yellow wedding flowers"/>

    I have been told it should look more like this (different image name but you get the gist)

    <img src="image-files/header-image.jpg"width="1050" height="125" title="" alt="">

    This is the path to where my image files are stored

    C:\Users\User\Documents\my-wedding-flower-ideas.com\image-files

    The graphics show fine in preview but when I go to upload the file, it gives an error message and does not allow me to upload the images.

    I have tried everything I know how at this stage.

    It has been suggested that the problem could be due to the partition on the drive.

    Does anyone know how I would go about solving this? I am sure it must be so simple if only I could figure where the problem is?

    Thanks for reading!


Comments

  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    It's got nothing to do with your partition. I'm not familiar with arachnofillia, I would suggest getting a good FTP (file transfer protocol) client like Filezilla or CuteFTP and upload the image files via FTP. You web-host will give you the details, and probably the steps, that you need to do this.

    Now here's your problem: On you windows machine you've a path to your image files, the path being the folders that contain them. On your webserver, this path is different but the file still has the windows path. Obviously those files and folders aren't on your web server. On the web-server they need to be in a folder called image-files.


  • Registered Users Posts: 26 Mis_max


    Hi Phil

    Thanks very much for the reply, I really appreciate you trying to help!

    I'm afraid you need to go really slow for an eejit like me though!

    This is what I am doing so far;

    - I write my page in arachnophilia

    - I save my images in a file as directed by the webhost 'image-files'

    - The webhost gives me an option to "upload html"

    - I navigate to where the page is saved and click to upload

    - it gives me an error message that tells me that my images are not in a format recognised by the host

    - If I continue to upload, no images show


    I'm not sure which bit of this I should do differently so that my images are on the web server?


  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    "upload html" only uploads the HTML pages.

    The images also need to be in the same folder, with what are called "relative paths"

    Move the image-files folder to where your html files are, and then change the paths as advised.

    Then upload the image-files folder as well as the HTML.


Advertisement