statamic / ideas

💡Discussions on ideas and feature requests for Statamic
https://statamic.dev
31 stars 1 forks source link

Uploading assets with the same filename #945

Open stuartcusackie opened 1 year ago

stuartcusackie commented 1 year ago

I'm just looking at the asset container for one of my sites which was only built about 1 year ago. I'm seeing multiple copies of a lot of images, ten copies for a single image in some cases. It doesn't look good.

I assume this is happening because the content managers are re-uploading the same image from their local machine every time they replace an asset.

Can this be improved? I shudder to think what the asset container will look like in another couple of years.

I'm thinking something like:

Thanks!

jasonvarga commented 1 year ago

You should instruct your client to use "Replace Asset" instead of just uploading the same thing over and over.

Although I'm not sure why they would be uploading the exact same file multiple times.

stuartcusackie commented 1 year ago

You should instruct your client to use "Replace Asset" instead of just uploading the same thing over and over.

Although I'm not sure why they would be uploading the exact same file multiple times.

Sorry I said 'replace' but I don't think they are 'replacing' images, but rather uploading the same image to multiple entries. In this case we have a "locations" collection and the same image is being uploaded for multiple locations, when it already exists in the container. The client doesn't understand that they can re-use the same asset and the interface isn't making it clear for whatever reason. They don't bother searching for existing assets, they just keep re-uploading it. They don't get it so I'm looking for an interface improvement and fool-proof solution.

Unfortunately I don't have the resources to train my clients and it's happening on almost every Statamic site I run. I doubt I am the only one with the problem...

jasonvarga commented 1 year ago

Gotcha, that makes more sense.