The free-to-use template for your Imagehost-website made with PHP, HTML and CSS!
Some information before we start
-
This repo is only code related, to actually host this 24/7 you have to gain experience elsewhere, because I won't explain anything about this
-
I can't assure you that this is the best front-end, but feel free to change it to whatever you want :)
-
The PHP version is
7.4
Cloning the repo
At first, you ofcourse need the code on your computer, you do this with running the following command in your terminal:
git clone https://github.com/Iliannnn/Imagehost-Template
( Installing Git is required )
Now make sure these files are in your root folder ( C:\Users\YOUR_USER )
Test or Development start usage
php -S localhost:3000
( Installing PHP 7.4 is required )
Now open localhost:3000/Imagehost-Template/home.php
in your browser and you see your page!
In case you have changed the folder name you need to change Imagehost-Template
to the name you renamed that folder to.
Editing config.php
To make it a bit easier for you, all personal data that the website needs is structured in 1 file, namely the config.php
file, it is intended that you fill in all data via this file, more information about this data is next to the line of this data in comment.
PS: I have already filled in the image paths in this file for you, so you also have a nice image of the site before this data is entered, but feel free to adjust these images to what you want
đ
Explore the website
Just take a look around the website to see how everything works! I am sure you will like it!
Editing the front-end
Some useful info for editing the pages:
-
Every page has its own stylesheet in the
css
folder, just look at the names of the stylesheets and you will understand which page belongs to which page I think! -
Don't change the
php
if you have no experience with it, you are free to use the html, as long as you don't adjust the actions and methods in the forms.. -
NEVER delete the
uploads
folder, because this will contain the uploaded images, changing the name is also not a good idea.. -
Have fun with this template and make it a nice website!