Jump to content

Send Website with External File Links and External File Images


Recommended Posts

I have students creating sites that have multiple pages that link together through a nav bar and also have images with an external file source.  When students send them to me obviously the images don't work because I don't have them saved in folders with their sites and also the links don't work to the other .htm pages for the same reason.  My first thought was to have students send me all files so that they would all be in my downloads folder and in theory work.  They work to an extent but images are distorted.  My second solution was to use a zip file but that doesn't seem to work either. Any help with this is much appreciated. 

Link to post
Share on other sites

Have local server ( install wamp or xamp), make sure all page links are relative not absolute paths unless external links to images or bootstrap for example.

Zip parent folder containing folders, images and other files, unzip how they where zipped in proper folder hierarchy, you should be able to type once properly set up local server http://localhost/students_name/ and it should reference their index page and other pages from thereon.

Link to post
Share on other sites
9 hours ago, dsonesuk said:

Have local server ( install wamp or xamp), make sure all page links are relative not absolute paths unless external links to images or bootstrap for example.

Zip parent folder containing folders, images and other files, unzip how they where zipped in proper folder hierarchy, you should be able to type once properly set up local server http://localhost/students_name/ and it should reference their index page and other pages from thereon.

Excuse my ignorance, but what is wamp?

Link to post
Share on other sites

It gives you a local web server on your own computer, instead of purchasing a web hosting site, it loads html, php pages as it would on a normal website, instead of http://mydomain.co.uk you would type http://localhost/ instead, you can store individual student folders by student name (no spaces) then type http://localhost/student_name/ and it would open the student site as it would a normal website.

You use this to develop or test a site, and once finished, upload to folder on website host site using FTP program like filezilla.

Loading a page from your O/S file system folder into browser is not the same as on local or website hosting server.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...