Help

Image previews not showing for attachments

Solved
Jump to Solution
2563 4
cancel
Showing results for 
Search instead for 
Did you mean: 
JLindem
6 - Interface Innovator
6 - Interface Innovator

Hello! 

I am trying to automate the following process: when a file is uploaded to a specific Dropbox folder, a new record is created in Airtable with the file attached. This works fine, but there is no preview in Airtable. I have created the following automation in Make (formerly Integromat):

Screenshot 2023-03-24 at 11.04.55.png

Here are the details of each step:  

Screenshot 2023-03-24 at 11.05.20.png

Screenshot 2023-03-24 at 11.05.15.png

Screenshot 2023-03-24 at 11.05.08.png

Below is what is seen in Airtable. As you can see, no preview is shown.

Screenshot 2023-03-24 at 11.05.33.png

I have already done some troubleshooting myself:

  • I have tried uploading manually. This works fine and a preview shows up.
  • I checked the limitations in Airtable's documentation: the image is not more than 1 million pixels. 
  • The image is uploaded to Airtable as .png, and not as a .zip file. 
  • I currently use Chrome, and I have tried using Safari as well.
  • I have added another contributor to the Workspace, and they cannot see the preview either. 

The error message I see is: "Previews for this filetype are not available".

Does anyone know a solution to this? If I cannot get the previews to work, or find a work-around/bodge, then we cannot use Airtable for this.

1 Solution

Accepted Solutions
JLindem
6 - Interface Innovator
6 - Interface Innovator

Solved thanks to this answer by @Jacob_Wheeler in a separate thread:

 


@Jacob_Wheeler wrote:

‎Jan 28, 2020 10:36 PM

Fixed. You can’t upload with query strings normally, so you have to use Integromat and add ?raw=1 to the end of the URL (remove ?dl=0 or =1 if it’s there). What I did is a find and replace. replace(URL,?dl=0,?raw=1).



I added the following to the automation:

JLindem_0-1679664271097.png

The following function fix the issue; now image previews are displayed:
replace(2.downloadURL;?dl=0;?raw=1)and replace(2.downloadURL;?dl=1;?raw=1).

 

See Solution in Thread

4 Replies 4
JLindem
6 - Interface Innovator
6 - Interface Innovator

Solved thanks to this answer by @Jacob_Wheeler in a separate thread:

 


@Jacob_Wheeler wrote:

‎Jan 28, 2020 10:36 PM

Fixed. You can’t upload with query strings normally, so you have to use Integromat and add ?raw=1 to the end of the URL (remove ?dl=0 or =1 if it’s there). What I did is a find and replace. replace(URL,?dl=0,?raw=1).



I added the following to the automation:

JLindem_0-1679664271097.png

The following function fix the issue; now image previews are displayed:
replace(2.downloadURL;?dl=0;?raw=1)and replace(2.downloadURL;?dl=1;?raw=1).

 

Anyone having issues with this again? As of the 8/8/23 this fix doesn't seem to be working anymore for me in multiple scenarios. Will keep troubleshooting it and post if I find a solution.

Looks like the ? need to be replaced with & now. 

replace(13.downloadUrl;&dl=1; &raw=1) instead of replace(13.downloadURL;?dl=1;?raw=1).

Thanks Guys, same problem and all working after the modification Joseph noticed.