Coming soon
This is now live (beta), feel free to test and share your thoughts so we can ensure its working as expected.
Eventually all File and Image fields will be converted to this. For now you must create a new âFilesâ field to utilize the drag and drop and multi file upload.
We intend to remove the âFileâ and âImageâ fields and use only this new field for all uploads in the coming weeks.
This is really cool! How does this work with emailing the file links?
Yeah !!! ⌠I was using a work-around to do this - child table with many to many relationship !!
Perfect solution Moe.
Thank you
Weâre still going through it all and adding the common functionality everywhere. It will ultimately work in emails as well. At this time, it will not display in emails correctly.
Hey @moe,
I see that the files are now available in emails, currently they all just say Download, are you guys able to have it use the file names in the email?
Yes, thereâs a few more updates coming to this, weâll add this soon after as well.
Shortly, youâll be able to define additional options in the file field like:
- Custom text
- Auto open camera/video/microphone when on mobile device
- Define allowed file extensions
- Max number of files
- etc.
You can test this on your phone and see how it works: https://localtest.tadabase.io/file-field#!/new-files-field
I believe on iPhones theyâre a bit more opinionated, but on Android it should open the camera or video right on click.
Any other thoughts about this field let me know. Again, our goal is to consolidate the other 2 (file and Image) into one field. Any feature or option that works in those weâll ensure works here as well.
It will be a great feature, I have a few questions:
-
will the photographs appear as a single group or as independent files? currently I have a table where I enable the view of some photographs and disable it for others, could I do it with the photos in multi upload?
-
the files instead are stored in DropBox, what will change?
thank you
Hey @DanioA
-
If you upload multiple files at once, they will be saved as a group in a single record. You will still have the option to upload 1 image at a time as individual records.
-
When using Dropbox as your file storage, you should not see any differences.
Just checkingâŚ
In my builder I donât see a âfilesâ field type - is mine missing or is the âfileâ type the new version?
Weâve renamed it to Attachments and its been taken out of Beta. In the coming weeks we will be getting rid of Fields an Image fields and converting all those existing fields to the new Attachments field.
If youâre used to using raw values in emails and HTML for File field, this might be helpful:
Working with Raw Values with the new Files field.
The new Files field has the ability to upload multiple files and therefore has some unique charteristics that need to be addressed.
-
{!!Files!!}
- This will output a comma seperated list of all the files formatted as HTML links. -
{!!Files.url!!}
- This will output only the first file url. -
{!!Files.name!!}
- This will output only the first file name. -
{!!Files.urls!!}
- This will output a comma seperated list of the urls for all the files -
{!!Files.names!!}
- This will output a comma seperated list of the file names for all the files
To target a specific image URL or name, you can use the following:
-
{!!field_36.0.name!!}
- This will output the file name for the first file. -
{!!field_36.0.url!!}
- This will output the url for the first file.
To view the second image, simple change the 0 to a 1, 3rd image, change it to a 2 etcâŚ
Please be sure youâre using the field_id and not the field name when targeting a specific image. If your field name is called âFilesâ and the field id is field_36, ensure you use field_36 and not âFiles.â
I have added an attachment field, alongside the image field I had created before.
The image field show a thumbnail, but the attachment one doesnât - it shows a broken image.
The image link is https://www.dropbox.com/s/l483df4cqcmh6ls/1620918828-1-16208979243557055509155303436070-d7chit.jpg?dl=0
If I change the download link to the filename - it works as expected.
- Is related to using dropbox as my file repository?
- Is there perhaps a way to increase the size of the file thumbnails? I am using one of Timâs âhacksâ on some of our PDF documents to display them in an HTML at full browser width, but they are of the old kind with one filed per field.
Thanks in advance for the assistance.
Iâm experiencing the same thing. If you have the attachments field set to âFormat Link as an Imageâ and you are using Dropbox as a files storage solution the image links are broken. Even on a details page the photos will not display.
The temporary fix would be to switch back to the Tadabase default file storage but than all the other file attachments will start saving there which is not ideal, especially if you are trying to keep all your documents in one location.
@SuiteUpstairs and @brettlewis, if I remember correctly this was fixed before soft launching the Attachments field.
Could you please reach out to us via support chat or via email at support@tadabase.io, so we can take a closer look?
Hi @moe,
Just tested this out and it is awesome! works really well. I do have one question and maybe there is a work around solution.
If you are composing an email to include multiple images, how would you go about doing that if you donât know how many images are going to be uploaded to the multifile field?
For example, I compose an email that gets sent when the form is submitted and in the email I include the above code to show the first three photos. There are two challenges with this;
- if the user only uploads two photos, then the third image just displays the code â{!!field_36.0.name!!}â and a broken image link
- If the user uploads four photos, the fourth will not show because it hasnât been hard coded in the email.
I realize you can add the multifile field to the email and it will show all the files however it names them all like this: âDownload,Download,Downloadâ and they are only links. Just trying to figure out the best way to email multiple photos.
Sorry to be a pain Moe!
Thatâs a great point about not knowing the total number of images.
In the future weâre going to be adding more complex coding options like in our upcoming custom component. Youâll be able write some basic custom code to loop through attachments. A bit beyond this thread.
For now, youâd prefer to output it in the email as the same format as the selection in the field?
If thatâs what youâre looking for, Iâm sure we can do this.
Yes, that is what Iâm looking for.
@moe Do I need to do anything to convert if I currently have an Image field in my program? Will it convert automatically? And is there a projected conversion date?
Thanks
Henry