Screen cast: Using image upload fields in AppGini

In this video, we'll open an AppGini project and add a new field that allows uploading of photos. Then we'll generate the web application and see the new photo field in action.


Video transcript

00:07 This tutorial shows how to create a photo field in less than a minute.

00:18 First, open any of AppGini projects, choose a table, add a new field and name it "photo".

00:30 You'll notice that AppGini automatically set the field as an image field. Now choose the type of files you want to allow users to upload. We'll choose "jpg,jpeg,gif,png", set the "Maximum acceptable file size" to a suitable size and check "delete files from server when removed from records". All you need to do now is to Generate.

01:03 Now that we've created the field, let's visit our web application and see it in action.

01:29 We'll go to the students table, where the new field is displayed in the table view already. Click "Add new" and start adding a new record. Click on "upload file" button, click "choose file" to upload the requested photo, then "save new". Click "back" to see how the uploaded photo is displayed in the table view.

To get to know more about AppGini, please visit our homepage for more video tours.