# File Field

The File field is used for uploading images and files. With this field you can upload a single file or single image. You can avail of a webcam instead of an image upload.

![](https://1186088597-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MSr2uF2m-DtSpCxknCK%2F-MbIQNI-W4vyel4Ob3ZU%2F-MbITpafUwY5CSvcbM5P%2Fimage.png?alt=media\&token=a12687ee-66c2-4158-80b6-54a4640bd7ea)

{% hint style="success" %}
Hint: On a mobile device, you can use this to take photos and save them on the fly in your Bloc.
{% endhint %}

### Initial Parameters

There are no initial field parameters for this field.

### Viewing the Data

The data that appears in the results for the file field varies depending on the settings for the field or settings for the bloc.

#### Images

For example, if the file is an image, the link to the image will be a link to a Blocworx page where you can view the file, as opposed to it being a publicly available url.&#x20;

![](https://1186088597-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MSr2uF2m-DtSpCxknCK%2F-MbIUWOn5uw9i4KO1lIm%2F-MbIVEsvmXJy_HAWJyDt%2Fimage.png?alt=media\&token=4da356d8-86a6-4b95-8137-c593567bb2da)

It is possible to make the urls publicly available by using the Bloc Setting [Make Images/Files Public](https://manual.blocworx.com/blocworx-documentation/bloc-editor/bloc-settings/functional-settings#make-images-files-public).

It is also possible to see the image as a preview inside the data by using the [Show Previews of Uploaded Images in Data](https://manual.blocworx.com/blocworx-documentation/bloc-editor/bloc-settings/data-display-settings#show-previews-of-uploaded-images-in-data) setting.

![](https://1186088597-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MSr2uF2m-DtSpCxknCK%2F-MbIUWOn5uw9i4KO1lIm%2F-MbIWHSYzW9OQL_NBXmG%2Fimage.png?alt=media\&token=11a34335-f9f3-4f7d-acf6-53861639f35a)

#### Browser Supported Files

The following file types will open inside the browser in another tab.

```
AVI, CSS, GIF, HTML, HTM, MID, MIDI, MP3, MPG, MPEG, MOV, PDF, PNG, RAM, RAR, TIFF, TXT,
WAV, ZIP
```

#### Non Browser Supported Files

All other files will prompt a download when clicked.
