- 05 Jul 2022
- 3 Minutes to read
Getting started with Airtable gallery views
- Updated on 05 Jul 2022
- 3 Minutes to read
Gallery view is a special type of view which represents your records as large cards. In particular, gallery view highlights your attachments—images, documents, and more.
Creating a gallery view
To create a new gallery view, click the dropdown arrow in the view bar, then click the "Gallery view" option from among the new view creation buttons at the bottom of the dialog. Check out this support article for more information on creating new views.
This will create a gallery view and automatically select an attachment field (if one exists) to use as the gallery cover image. Note that when viewing records in gallery view, you will only be able to select a single record at a time.
The cover field and arranging fields
The cover field is a designated attachment field, the contents of which appear at the top of each gallery card. When creating a gallery view, if your table has at least one attachment field, the first attachment field will be automatically set as your gallery view's cover field.
If you have multiple attachments in the cover field, you can mouse over the cover to scroll through the different attachments at a glance.
To change the cover field, click on the Customize cards option in the view bar. You can then use the dropdown in the cover field section to select a different attachment field as the cover field. You may also choose to have no cover field.
TIPIf you don't have an attachment field in your table, you can add one by following the steps in this article. Without an attachment field, the gallery view will still display record as cards.
The slider at the top of the Customize cards menu allows you to choose whether the images on the cover fields will crop (fill the entire photo area by zooming and cropping the photo) or fit (zoom out to show the entire photo). Cover field images do not have a fixed aspect ratio, as the size of the image will change depending of the size of the window itself.
You can also choose which fields to show or hide on the gallery cards in the arrange fields menu by checking or unchecking the boxes for the appropriate fields, or by clicking the hide all and show all buttons. To rearrange the order of the fields as they appear on the card, simply click and drag the field names into the desired order using the drag handles to the right of the field names.
Text used in single line or long text fields are automatically shortened in the gallery view to standardize the size of each card. The full name of the primary field does appear as a popover on hover, but enabling additional lines of text to appear on gallery cards is not currently supported. The full text can be viewed by expanding the record.
Using drag and drop to add an attachment to a record
You can drag and drop a file (or multiple files at a time) onto the cover field of any gallery card to upload that file to the cover field. Note that you'll need to have the cover field already visible (toggled on) in the gallery view before you can drag and drop attachments to records in the view.
Using drag and drop to create a new record
You can also create a new record by dragging and dropping a file onto the add new record button (the one which looks like a big + in a circle).
If you drag and drop multiple files onto the add new record button, you'll be asked whether you want to create multiple records out of each of the attachments, or if you want to make one record with multiple attachments.
Filtering and sorting in gallery view
Filtering and sorting gallery cards works much like it does in grid view. To filter and sort records, click on the add filters and apply sort buttons in the view bar as necessary.