uttar.ya
uttar.ya

Reputation: 3

Upload image directly from the desktop in CSS on Formstack

I need to upload an image using CSS. Image is store inside a folder(X) on a desktop. I need to upload this image directly from the desktop

.fsBody .fsForm {
    background-image: url('C:\Users\Accountant\Desktop\X\test.jpg');
}

Image seems it does not upload directly to my Form. Image is JPEG Format.

Upvotes: 0

Views: 63

Answers (1)

user5504353
user5504353

Reputation:

If the image you want to use is going to be set as a background image, put it directly in the folder you are creating your project in. Just move it in there by dragging it inside.

.fsBody .fsForm {
background-image: url('folderlocation');
}

the issue with the way you are referencing the location is that when you upload your project folder the image will not be in that folder as it will be on a separate location. Therefore it has no way of finding it.

Upvotes: 0

Related Questions