There are two icons used here. Depends on your Discourse settings.
when you leave it at the default of only allowing images (jpg, png, gif)
when you have added other file types as allowed uploads (csv, txt, pdf)
On mobile there is an explicit “upload” link since there is no editing toolbar on mobile.