Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

How To Edit Website When The Index.html Is On A Shell Server?


Rarest Pepe
 Share

Recommended Posts

So I have a site on the SDF Unix Shell server, and I have to edit it all manually via nano (I know, I know, VIM FTW). Its really tedious to do HTML in a text editor. I have downloaded the file and used Kompozer to try and put some gifs on the webpage, and I uploaded that to the shell server. Once I went to the new site, it showed errors. Any tips?

Link to comment
Share on other sites

I have downloaded the file and used Kompozer to try and put some gifs on the webpage, and I uploaded that to the shell server. Once I went to the new site, it showed errors. Any tips?

 

Yeah if you are not uploading the images too, then the image tags in your html must point to a url where the image can be found (like on imgur) or if you want to get around having to upload files at all you can use a few websites to base64 encode the image into text that you can paste in the img tag.

 

see: https://css-tricks.com/data-uris/

Link to comment
Share on other sites

[quote name=blue :D' timestamp='1465655934' post='692888]

are the gif files in your directory on the server? if you're trying to call a gif that is on your local machine but not on your server then an error will show

either that, or you have a bug in your code.

God I am so dumb. They are not on the shell server. Thanks!

Link to comment
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.

 Share