Jump to content

Send Website with External File Links and External File Images


buza586

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 comment
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 comment
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 comment
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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...