# How to display uploaded filename instead of full path?

**URL:** <https://community.gravityforms.com/t/how-to-display-uploaded-filename-instead-of-full-path/15451>\
**Category:** Get Help\
**Tags:** gf-download, file-uploads, filename, full-path\
**Created:** [July 1, 2023, 10:40am UTC](https://community.gravityforms.com/t/how-to-display-uploaded-filename-instead-of-full-path/15451 "2023-07-01T10:40:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ducmans](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@ducmans](https://community.gravityforms.com/u/ducmans)\
**Post date:** [July 1, 2023, 10:40am UTC](https://community.gravityforms.com/t/how-to-display-uploaded-filename-instead-of-full-path/15451/1 "2023-07-01T10:40:55Z")

</div>

When sending an ‘{all\_fields}’ mail message, an uploaded photo is displayed as:

‘ **MyUploadedPhoto.jpg** ’

However, when sending a mail message where the actual upload field is listed, for instance  
' **{Uploaded photo:78}** , the same photo is shown as:

‘[https://www.xxxxx.yyl/system/index.php?gf-download=2023%2F07%2FMyUploadedPhotto&form-id=21&field-id=62&hash=3d7a4a2aee752d0e9ce2d1d997118d905fefaeb28afc0801c57f4f8f32b55d3f](https://www.xxxxx.yyl/system/index.php?gf-download=2023%2F07%2FMyUploadedPhotto&form-id=21&field-id=62&hash=3d7a4a2aee752d0e9ce2d1d997118d905fefaeb28afc0801c57f4f8f32b55d3f)’

How can I limit that to also only show the filename '‘MyUploadedPhoto.jpg’ ?

Regards, Duc

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [July 31, 2023, 10:41am UTC](https://community.gravityforms.com/t/how-to-display-uploaded-filename-instead-of-full-path/15451/2 "2023-07-31T10:41:14Z")

</div>

Closed on July 31, 2023, 10:41am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
