SA-MP Forums Archive
Help for HTML Settings | Only Volt Users ! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Help for HTML Settings | Only Volt Users ! (/showthread.php?tid=354878)



Help for HTML Settings | Only Volt Users ! - Avi57 - 28.06.2012

Hello,
i have just uploaded my HTML files and images in cpanel !
When i start it, it is not showing me any image !
Heres My HTML Page : http://pastehtml.com/view/c2zdmgwrq.html

Its Not showing Images ! HTML Code :
PHP код:
<html>
<
head>
<
title>Carbon Stunting Community Website </title>
<
right><a style="float:right; padding-right: 5px;" href="https://http://www.********.com/pages/Carbon-Stunting/379650622110801"><img src='C:\Documents and Settings\User\Desktop\website\********.png'> </a
        <
a style="float:right; padding-right: 5px;" href="https://*******.com/#!/CarbonStunting"><img src='C:\Documents and Settings\User\Desktop\website\*******.png'> </a
        <
a style="float:right; padding-right: 5px;" href="http://www.*******.com/channel/UChiHiMY6OOSzB582npf9Ujw"><img src='C:\Documents and Settings\User\Desktop\website\*******.gif'> </a></div> </right>
</
head>
<
body style="background-color:#ffffff;">
<
br><br><img src="C:\Documents and Settings\User\Desktop\website\cUVHt.png" /></br></br>
<
div id="nav"
    <
div id="navcontent"
        <
div id="navbar"
            <
ul id="menu1"
    <
li><a href="C:/Documents%20and%20Settings/User/Desktop/website.html">Home</a></li>  
    <
li><a href="http://www.carbonstunting.smffy.com">Forums</a></li
    <
li><a href="C:/Documents%20and%20Settings/User/Desktop/donate.html">Donate</a></li>  
</
ul
<
div id="searchbar"
    <
form action="Search.php" method="get"
        <
input name="search" type="text" maxlength="25"
    </
form
</
div
        </
div
    </
div
</
div
<
div id="content"
    <
div id="contenthome"
    <
div style="background: #FFFFBB; padding: 10px; border-bottom: 1px solid #CCC;"
    
Are you interested in supporting the server? If you want to show some extra support you're able to follow our <a href='http://www.********.com/pages/Carbon-Stunting/379650622110801' target='_blank'>******** Page</a> to get the latest information.    </div> 
</body>
</
html



Re: Help for HTML Settings | Only Volt Users ! - Vince - 28.06.2012

PHP код:
<img src="C:\Documents and Settings\User\Desktop\website\cUVHt.png" /> 

How is it supposed to load images from your local computer? You must state a location relative to the html file or a full address starting with http://.


Re: Help for HTML Settings | Only Volt Users ! - playbox12 - 28.06.2012

Also why is this only for Volt users?


Re: Help for HTML Settings | Only Volt Users ! - AMEENAMEEN - 28.06.2012

Quote:
Originally Posted by playbox12
Посмотреть сообщение
Also why is this only for Volt users?
I think he is using volt host webhost


Re: Help for HTML Settings | Only Volt Users ! - Avi57 - 28.06.2012

Quote:
Originally Posted by Vince
Посмотреть сообщение
PHP код:
<img src="C:\Documents and Settings\User\Desktop\website\cUVHt.png" /> 

How is it supposed to load images from your local computer? You must state a location relative to the html file or a full address starting with http://.
Buddy Thats for my PC but for Volt is :
Код HTML:
<html>



<head>

<title>Carbon Stunting - Community Website </title>

<right><a style="float:right; padding-right: 5px;" href="https://http://www.********.com/pages/Carbon-Stunting/379650622110801"><img src='C:\Documents and Settings\User\Desktop\website\********.png'> </a> 

		<a style="float:right; padding-right: 5px;" href="https://*******.com/#!/CarbonStunting"><img src='C:\Documents and Settings\User\Desktop\website\*******.png'> </a> 

		<a style="float:right; padding-right: 5px;" href="http://www.*******.com/channel/UChiHiMY6OOSzB582npf9Ujw"><img src='C:\Documents and Settings\User\Desktop\website\*******.gif'> </a></div> </right>

</head>



<body style="background-color:#ffffff;">

<br><br><img src="C:\Documents and Settings\User\Desktop\website\cUVHt.png" /></br></br>

<div id="nav"> 

	<div id="navcontent"> 

		<div id="navbar"> 

			<ul id="menu1"> 

	<li><a href="C:/Documents%20and%20Settings/User/Desktop/website.html">Home</a></li>  

	<li><a href="http://www.carbonstunting.smffy.com">Forums</a></li> 

	<li><a href="C:/Documents%20and%20Settings/User/Desktop/donate.html">Donate</a></li>  

</ul> 

<div id="searchbar"> 

	<form action="Search.php" method="get"> 

		<input name="search" type="text" maxlength="25"> 

	</form> 

</div> 

		</div> 

	</div> 

</div> 

<div id="content"> 

	<div id="contenthome"> 

	<div style="background: #FFFFBB; padding: 10px; border-bottom: 1px solid #CCC;"> 

	Are you interested in supporting the server? If you want to show some extra support you're able to follow our <a href='http://www.********.com/pages/Carbon-Stunting/379650622110801' target='_blank'>******** Page</a> to get the latest information.	</div> 

</body>



</html>



Re: Help for HTML Settings | Only Volt Users ! - Extremo - 28.06.2012

Quote:
Originally Posted by Avi57
Посмотреть сообщение
Buddy Thats for my PC but for Volt is :
Код HTML:
<html>



<head>

<title>Carbon Stunting - Community Website </title>

<right><a style="float:right; padding-right: 5px;" href="https://http://www.********.com/pages/Carbon-Stunting/379650622110801"><img src='C:\Documents and Settings\User\Desktop\website\********.png'> </a> 

		<a style="float:right; padding-right: 5px;" href="https://*******.com/#!/CarbonStunting"><img src='C:\Documents and Settings\User\Desktop\website\*******.png'> </a> 

		<a style="float:right; padding-right: 5px;" href="http://www.*******.com/channel/UChiHiMY6OOSzB582npf9Ujw"><img src='C:\Documents and Settings\User\Desktop\website\*******.gif'> </a></div> </right>

</head>



<body style="background-color:#ffffff;">

<br><br><img src="C:\Documents and Settings\User\Desktop\website\cUVHt.png" /></br></br>

<div id="nav"> 

	<div id="navcontent"> 

		<div id="navbar"> 

			<ul id="menu1"> 

	<li><a href="C:/Documents%20and%20Settings/User/Desktop/website.html">Home</a></li>  

	<li><a href="http://www.carbonstunting.smffy.com">Forums</a></li> 

	<li><a href="C:/Documents%20and%20Settings/User/Desktop/donate.html">Donate</a></li>  

</ul> 

<div id="searchbar"> 

	<form action="Search.php" method="get"> 

		<input name="search" type="text" maxlength="25"> 

	</form> 

</div> 

		</div> 

	</div> 

</div> 

<div id="content"> 

	<div id="contenthome"> 

	<div style="background: #FFFFBB; padding: 10px; border-bottom: 1px solid #CCC;"> 

	Are you interested in supporting the server? If you want to show some extra support you're able to follow our <a href='http://www.********.com/pages/Carbon-Stunting/379650622110801' target='_blank'>******** Page</a> to get the latest information.	</div> 

</body>



</html>
PHP код:
<br><br><img src="C:\Documents and Settings\User\Desktop\website\cUVHt.png" /></br></br

That's still a local file?


Re: Help for HTML Settings | Only Volt Users ! - Alexis1999 - 28.06.2012

The problem is that once you upload your html code the page cannot get data anymore from your computer since it's uploaded on the internet. It's like searching for an image which it's location doesn't exist.

Edit: You must have all the HTML in the same folder ( The first folder )
Create a new folder/directory in your ftp named "images", place all the images you have inside that folder(For example *******.png etc) and replace the html code with that:

Код:
<html>



<head>

<title>Carbon Stunting - Community Website </title>

<right><a style="float:right; padding-right: 5px;" href="https://http://www.********.com/pages/Carbon-Stunting/379650622110801"><img src='\images\********.png'> </a> 

		<a style="float:right; padding-right: 5px;" href="https://*******.com/#!/CarbonStunting"><img src='\images\*******.png'> </a> 

		<a style="float:right; padding-right: 5px;" href="http://www.*******.com/channel/UChiHiMY6OOSzB582npf9Ujw"><img src='\images\*******.gif'> </a></div> </right>

</head>



<body style="background-color:#ffffff;">

<br><br><img src="\images\cUVHt.png" /></br></br>

<div id="nav"> 

	<div id="navcontent"> 

		<div id="navbar"> 

			<ul id="menu1"> 

	<li><a href="website.html">Home</a></li>  

	<li><a href="http://www.carbonstunting.smffy.com">Forums</a></li> 

	<li><a href="donate.html">Donate</a></li>  

</ul> 

<div id="searchbar"> 

	<form action="Search.php" method="get"> 

		<input name="search" type="text" maxlength="25"> 

	</form> 

</div> 

		</div> 

	</div> 

</div> 

<div id="content"> 

	<div id="contenthome"> 

	<div style="background: #FFFFBB; padding: 10px; border-bottom: 1px solid #CCC;"> 

	Are you interested in supporting the server? If you want to show some extra support you're able to follow our <a href='http://www.********.com/pages/Carbon-Stunting/379650622110801' target='_blank'>******** Page</a> to get the latest information.	</div> 

</body>



</html>



Re: Help for HTML Settings | Only Volt Users ! - Avi57 - 28.06.2012

Quote:
Originally Posted by Alexis1999
Посмотреть сообщение
The problem is that once you upload your html code the page cannot get data anymore from your computer since it's uploaded on the internet. It's like searching for an image which it's location doesn't exist.

Edit: You must have all the HTML in the same folder ( The first folder )
Create a new folder/directory in your ftp named "images", place all the images you have inside that folder(For example *******.png etc) and replace the html code with that:

Код:
<html>



<head>

<title>Carbon Stunting - Community Website </title>

<right><a style="float:right; padding-right: 5px;" href="https://http://www.********.com/pages/Carbon-Stunting/379650622110801"><img src='\images\********.png'> </a> 

		<a style="float:right; padding-right: 5px;" href="https://*******.com/#!/CarbonStunting"><img src='\images\*******.png'> </a> 

		<a style="float:right; padding-right: 5px;" href="http://www.*******.com/channel/UChiHiMY6OOSzB582npf9Ujw"><img src='\images\*******.gif'> </a></div> </right>

</head>



<body style="background-color:#ffffff;">

<br><br><img src="\images\cUVHt.png" /></br></br>

<div id="nav"> 

	<div id="navcontent"> 

		<div id="navbar"> 

			<ul id="menu1"> 

	<li><a href="website.html">Home</a></li>  

	<li><a href="http://www.carbonstunting.smffy.com">Forums</a></li> 

	<li><a href="donate.html">Donate</a></li>  

</ul> 

<div id="searchbar"> 

	<form action="Search.php" method="get"> 

		<input name="search" type="text" maxlength="25"> 

	</form> 

</div> 

		</div> 

	</div> 

</div> 

<div id="content"> 

	<div id="contenthome"> 

	<div style="background: #FFFFBB; padding: 10px; border-bottom: 1px solid #CCC;"> 

	Are you interested in supporting the server? If you want to show some extra support you're able to follow our <a href='http://www.********.com/pages/Carbon-Stunting/379650622110801' target='_blank'>******** Page</a> to get the latest information.	</div> 

</body>



</html>
Hello,
i have all the html files in : home/public_html/_private and all the images in : home/public_html/images

But images still not loading !


Re: Help for HTML Settings | Only Volt Users ! - Alexis1999 - 28.06.2012

Quote:
Originally Posted by Avi57
Посмотреть сообщение
Hello,
i have all the html files in : home/public_html/_private and all the images in : home/public_html/images

But images still not loading !
Oh if your .html are located in _private than replace the html code with this

Код:
<html>



<head>

<title>Carbon Stunting - Community Website </title>

<right><a style="float:right; padding-right: 5px;" href="https://http://www.********.com/pages/Carbon-Stunting/379650622110801"><img src='..\images\********.png'> </a> 

		<a style="float:right; padding-right: 5px;" href="https://*******.com/#!/CarbonStunting"><img src='..\images\*******.png'> </a> 

		<a style="float:right; padding-right: 5px;" href="http://www.*******.com/channel/UChiHiMY6OOSzB582npf9Ujw"><img src='..\images\*******.gif'> </a></div> </right>

</head>



<body style="background-color:#ffffff;">

<br><br><img src="..\images\cUVHt.png" /></br></br>

<div id="nav"> 

	<div id="navcontent"> 

		<div id="navbar"> 

			<ul id="menu1"> 

	<li><a href="website.html">Home</a></li>  

	<li><a href="http://www.carbonstunting.smffy.com">Forums</a></li> 

	<li><a href="donate.html">Donate</a></li>  

</ul> 

<div id="searchbar"> 

	<form action="Search.php" method="get"> 

		<input name="search" type="text" maxlength="25"> 

	</form> 

</div> 

		</div> 

	</div> 

</div> 

<div id="content"> 

	<div id="contenthome"> 

	<div style="background: #FFFFBB; padding: 10px; border-bottom: 1px solid #CCC;"> 

	Are you interested in supporting the server? If you want to show some extra support you're able to follow our <a href='http://www.********.com/pages/Carbon-Stunting/379650622110801' target='_blank'>******** Page</a> to get the latest information.	</div> 

</body>



Re: Help for HTML Settings | Only Volt Users ! - Avi57 - 28.06.2012

Quote:
Originally Posted by Alexis1999
Посмотреть сообщение
Oh if your .html are located in _private than replace the html code with this

Код:
<html>



<head>

<title>Carbon Stunting - Community Website </title>

<right><a style="float:right; padding-right: 5px;" href="https://http://www.********.com/pages/Carbon-Stunting/379650622110801"><img src='..\images\********.png'> </a> 

		<a style="float:right; padding-right: 5px;" href="https://*******.com/#!/CarbonStunting"><img src='..\images\*******.png'> </a> 

		<a style="float:right; padding-right: 5px;" href="http://www.*******.com/channel/UChiHiMY6OOSzB582npf9Ujw"><img src='..\images\*******.gif'> </a></div> </right>

</head>



<body style="background-color:#ffffff;">

<br><br><img src="..\images\cUVHt.png" /></br></br>

<div id="nav"> 

	<div id="navcontent"> 

		<div id="navbar"> 

			<ul id="menu1"> 

	<li><a href="website.html">Home</a></li>  

	<li><a href="http://www.carbonstunting.smffy.com">Forums</a></li> 

	<li><a href="donate.html">Donate</a></li>  

</ul> 

<div id="searchbar"> 

	<form action="Search.php" method="get"> 

		<input name="search" type="text" maxlength="25"> 

	</form> 

</div> 

		</div> 

	</div> 

</div> 

<div id="content"> 

	<div id="contenthome"> 

	<div style="background: #FFFFBB; padding: 10px; border-bottom: 1px solid #CCC;"> 

	Are you interested in supporting the server? If you want to show some extra support you're able to follow our <a href='http://www.********.com/pages/Carbon-Stunting/379650622110801' target='_blank'>******** Page</a> to get the latest information.	</div> 

</body>
Sorry Not Worked !