You need FTP (File Transfer Protocol) access to the site/directory in question. Their may be an FTP utility built into Cpanel, try searching the help.
But essentially you'll need to insert the image into an html file, name the html file to index.html (most likely it's index.html, but it could be default.aspx, default.php depending on your server) and upload both the HTML file and the jpg image into the directory for your site via FTP.
Last edited by Regular_John; 04-10-2012 at 08:47 AM.
Upload the image as jaydorn says, and copy the path into this code (replace the url with it) and put it all into an index.html file. The the html file will need to go in the root of your site.
Code:
<html>
<body>
<img src="url"/>
</body>
</html>
__________________
"Wake up, Luigi! The only time plumbers sleep on the job is when we're working by the hour."
It's so old, but I still love WS_FTP LE as an FTP client. It's simple and uncomplicated, yet can do everything I need. I've tried newer FTP clients and just find they make things more difficult than they need to be.
ok, i am having some work done on my new website but right now all it says is "under construction".
i have a static jpg that i would like to be on the site for the week or so until I get my website up.
i have cpanel access, can someone give me a quick on how to upload this file.
yes i know its brutal, but it beats a blank website for now.
You should not need to set up FTP accounts or install a standalone FTP client, cpanel provides a web interface for uploading files one-by-one. I wouldn't consider deploying an entire site that way but you only need to upload a couple of files so it will be fine.
- Create a file called "index.html" locally based on Rathji's code example
- Log into your cpanel
- Open up the "File Manager" cpanel app
- browse to your web root (probably "public_html" or "www")
- click "Upload" in the toolbar
- browse to your files and upload them
Be aware that many hosts put a default "index.html" that you'll have to overwrite.
__________________
Last edited by MickMcGeough; 04-10-2012 at 10:54 AM.
You do not need FTP access, cpanel provides a web interface for uploading files one-by-one. I wouldn't consider deploying an entire site that way but you only need to upload a couple of files so it will be fine.
- Create a file called "index.html" locally based on Rathji's code example
- Log into your cpanel
- Open up the "File Manager" cpanel app
- browse to your web root (probably "public_html" or "www")
- click "Upload" in the toolbar
- browse to your files and upload them
Be aware that many hosts put a default "index.html" that you'll have to overwrite.
You do realize the cpanel "file manager" is just a web based FTP program right?
EDIT: No, the cpanel File Manager is in no way an FTP program (except perhaps in the spiritual sense).
I would beg to differ. It may be a dumbed down version, but I'd still argue it's using the File Transfer Protocol (FTP) to move files from one computer to another via FTP as uppose to HTTP or any other protocol.
But we're splitting hairs here, I just think it's misleading to say FTP is not needed, a stand alone FTP Client may by be needed, but the underlying connection is still there.
Last edited by Regular_John; 04-10-2012 at 12:29 PM.
The Following 2 Users Say Thank You to Regular_John For This Useful Post:
I would beg to differ. It may be a dumbed down version, but I'd still argue it's using the File Transfer Protocol (FTP) to move files from one computer to another via FTP as uppose to HTTP or any other protocol.
But we're splitting hairs here, I just think it's misleading to say FTP is not needed, a stand alone FTP Client may by be needed, but the underlying connection is still there.
I am pretty sure the cpanel file manager is not FTP based.
edit: testing with Wireshark now
Confirmed. At no point does using the File Manager in cpanel use the FTP protocol, and when using Filezilla it clearly does.
__________________
"Wake up, Luigi! The only time plumbers sleep on the job is when we're working by the hour."
Last edited by Rathji; 04-10-2012 at 12:21 PM.
The Following User Says Thank You to Rathji For This Useful Post:
I am pretty sure the cpanel file manager is not FTP based.
edit: testing with Wireshark now
Confirmed. At no point does using the File Manager in cpanel use the FTP protocol, and when using Filezilla it clearly does.
Fair enough, I had previously used php's FTP functions on a project to move files around so I assumed most web based "file manager" type programs would have used something similar.
DementedReality - I hope you got your answer to your simple problem regardless of our techie debate in this thread.
MickMcGeough - I stand corrected by Rathji and his fact based rebuttal. Carry on.
Last edited by Regular_John; 04-10-2012 at 12:30 PM.
guys, thanks for everyone's input ... i feel dumb, cant follow along. off to do some excersize and then i will come back and try and figure it out.
also, i have one of my employees who knows how to do this but i dont want to give him cpanel access because he can backdoor to everyone's email, including mine. any suggestion?
Upload the image as jaydorn says, and copy the path into this code (replace the url with it) and put it all into an index.html file. The the html file will need to go in the root of your site.
Code:
<html>
<body>
<img src="url"/>
</body>
</html>
confused!
Quote:
Originally Posted by MickMcGeough
You should not need to set up FTP accounts or install a standalone FTP client, cpanel provides a web interface for uploading files one-by-one. I wouldn't consider deploying an entire site that way but you only need to upload a couple of files so it will be fine.
- Create a file called "index.html" locally based on Rathji's code example
- Log into your cpanel
- Open up the "File Manager" cpanel app
- browse to your web root (probably "public_html" or "www")
- click "Upload" in the toolbar
- browse to your files and upload them
Be aware that many hosts put a default "index.html" that you'll have to overwrite.
my file is a jpg .. how do i change it an html file, i tried "save as" and there is no option.
im sorry, this must be like basis 101 stuff and i am out of my element, but i dont like the "under construction".