Your best friend for file transfer.

Fetch application logoFetch

Uploading image on Fetch (16 posts)

  • Started 12 years ago by Gail
  • Latest reply 11 years ago from Xiomara
  • Gail Member

    Hi,

    I have added an image to my website, and when I check it in Google Chrome or Safari, I can view the image without a problem. However, I need to upload my updated files to Fetch to connect to my university's SFTP server, and when I 'put' the file into Fetch and then click 'web view', the image does not appear. Instead, there is a box around where the image should be, and an empty image icon in the middle. How can I fix this?

    Thank you for your help!
    Gail

    Posted 12 years ago #

  • Jim Matthews Administrator

    Hi,

    It's possible that WebView is not configured correctly, and it's also possible that you aren't uploading the image to the location where your HTML page expects to find it.

    What is the URL of the page where you see the empty image icon?

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 12 years ago #

  • Gail Member

    Hi Jim,

    Thank you for your reply. The image is not appearing in any web browsers either, when I do it after updating Fetch. If I do it directly through the file in my folder on my computer, it seems to work when I use the "open with" function. This is the URL: http://www.pages.drexel.edu/~gd329/

    Thank you for your response!
    Gail

    Posted 12 years ago #

  • Jim Matthews Administrator

    I get an error saying that I don't have permission to access http://www.pages.drexel.edu/~gd329/, so I can't see your page.

    If you can see the page (without the images) I would recommend going there in Safari. Then choose Activity from Safari's Window menu. It should show you which parts of the page (e.g. image files) failed to load. Is that helpful?

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 12 years ago #

  • Gail Member

    Hi Jim,

    When I looked at the Activity, it says that my image is not found. I looked in the Fetch folder, and there is no little thumbnail icon next to my image, like I have in my regular folder on my desktop. I deleted that image, and uploaded the image again, but I'm getting the same blank icon next to the image in my folder on Fetch. Is it a problem with the image format, maybe? It's a jpg? Does Fetch prefer certain formats?

    Thank you for your help!
    Gail

    Posted 12 years ago #

  • Jim Matthews Administrator

    Fetch isn't picky about image formats, but you do want the file to have a file name extension that indicates its format. So for a JPEG, the name should end with .jpg .

    What is the image file's URL, as shown in the Activity window? That tells you where Safari is looking for the file (and not finding it).

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 12 years ago #

  • Gail Member

    This is the image URL: http://www.pages.drexel.edu/~gd329/Images/portalimage.jpg
    when I try to go there directly, Safari says it's not found (404 error). This is the section of code that seems to be the issue:

    <body>
    <h1> Gail Betz | Portal </h1>
    <hr/>
    <p> Under construction. More content to follow. </p>
    <img src="Images/portalimage.jpg" alt="sunflower field with a farmhouse" />

    I'm concerned that the problem is with the image uploading- I think my code is okay?

    Posted 12 years ago #

  • Jim Matthews Administrator

    Are you uploading the image file named "portalimage.jpg" to the "Images" folder on the server?

    Posted 12 years ago #

  • Gail Member

    Yes, it's a file within the images folder on my server. The images folder is in another folder on the server- could that be the problem?

    Posted 12 years ago #

  • Jim Matthews Administrator

    Yes, it might be. The Images (the capital "I" is important) folder should be in the same folder as the HTML file that you quoted above.

    Posted 12 years ago #

  • Gail Member

    the HTML file and the Images folder are in the same folder already, unfortunately. I had hoped that might be the problem, but I don't think it is. Does Fetch have a preferred image format? I think I'm going to reformat and resize the image, and the upload it again to see if that changes anything.

    Posted 12 years ago #

  • Jim Matthews Administrator

    Fetch doesn't care about the image format. And the problem isn't with the format, but with the fact that the image file isn't where the HTML file says it will be.

    After you upload the image file again could you choose "Fetch Transcript" from the Window menu and post the contents? That may provide some clues.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 12 years ago #

  • Gail Member

    Hi Jim,

    I uploaded my picture again, and when I moved the Images folder and my index.html outside of my general website folder, everything rendered perfectly. When the Images folder and the index.html are inside the website folder, I get a Forbidden message (when the index.html is inside the folder) or the image does not render (when the Images folder is inside the website folder). I'm thrilled that it's working now, but any idea how to get everything inside the folder?

    Thank you for all your help!
    Gail

    Posted 12 years ago #

  • Jim Matthews Administrator

    Congratulations on figuring that out!

    The easiest way to move things around is to open two connections in Fetch (choose New Connection from the File menu to open the second one), navigate the two windows to different folders, and drag between them.

    Jim Matthews
    Fetch Softworks

    Posted 12 years ago #

  • Gail Member

    Great! Thank you for all your help!

    Posted 12 years ago #

  • Xiomara Member

    Hi Gail

    could you please explain how you got your images to work? im having trouble as well

    Posted 11 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.