# Attachment File name and Path

**URL:** <https://talk.octobercms.com/t/attachment-file-name-and-path/1104>\
**Category:** Need Help\
**Created:** [March 6, 2023, 10:49am UTC](https://talk.octobercms.com/t/attachment-file-name-and-path/1104 "2023-03-06T10:49:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibrarartisan](https://talk.octobercms.com/user_avatar/talk.octobercms.com/ibrarartisan/32/475_2.png) [@ibrarartisan](https://talk.octobercms.com/u/ibrarartisan)\
**Post date:** [March 6, 2023, 10:49am UTC](https://talk.octobercms.com/t/attachment-file-name-and-path/1104/1 "2023-03-06T10:49:39Z")

</div>

Hello,

I am using the FileUpload image:mode but when i upload a files its giving me this weired url

```auto
storage/app/uploads/public/640/5c0/1ab/6405c01ab1422115205458.svg

```

How can i change it to some meaningful url like with the original name of the image

```auto
storage/app/uploads/public/assets/logo.svg

```

thanks in advance

---

<div class="post-metadata">

**Author:** ![ibrarartisan](https://talk.octobercms.com/user_avatar/talk.octobercms.com/ibrarartisan/32/475_2.png) [@ibrarartisan](https://talk.octobercms.com/u/ibrarartisan)\
**Post date:** [March 6, 2023, 10:53am UTC](https://talk.octobercms.com/t/attachment-file-name-and-path/1104/2 "2023-03-06T10:53:16Z")

</div>

I find a nice tutorial here

> **[Use the original filename as thumbnail name](https://octobertricks.com/tricks/use-original-filename-thumbnail-name)**
>
> If you want to replace the generated thumb\_6\_800\_0\_0\_0\_auto.jpg filenames with more SEO-friendly variants like the-original-file-name\_6\_800\_0\_0\_0\_auto.jpg then follow the steps below:
> Add the following class to your plugin:
> Now simply use this model...
