-
Upload images to imgs.sh, from whose root folder, images are referenced in blogs on prose.sh.

-
To segregate images of different blogs, it is fine to place them in folders. To upload them to imgs.sh using the following command:
1root@ubuntu:~$ scp ~/blog/javascripting-images/* imgs.sh:/-
scpis meant for copying files from one system to another. command copies -
scpis meant for copying files from one system to another, using SSH protocol. Read about it in detail here. -
*in the file path for the origin of the images indicates that all images need to be copied. -
javascripting-imagesis the folder taken as an example in which the images are contained. -
Upon uploading these images into the root directory of our imgs.sh sub-domain, these can be referenced from the root directory in which our blog file (
.md) is kept.DO NOT reference images inside the blog files on prose.sh , through the sub-folder
javascripting-imageslike this:1Reference the images from root like this:
1
-
Is it possible to have keep files in sub-folders in your domain on prose.sh or imgs.sh #
TODO: Why does this happen?
No. Even if we try a command like this:
1root@ubuntu:~$ scp ~/blog/javascript-images/image.png imgs.sh:/javascript-images
The image.png file would be stored in the root directory of our imgs.sh sub-domain
Modifying images #
-
ssh into content management system of
imgs.shusing the command:1root@ubuntu:~$ ssh <username>@imgs.shChoose the
Manage postsoption for removing images.