As of Version 8 thumbnail urls contain the private_hash.
For website SEO purposes it would be better to be able to have the original filename (filename_disk or filename_download) in the url .
Can this be added back in?
@benhaynes - Are we supposed to add this feature?
It's a request for an enhancement.
This is something we'll need to discuss. There are benefits to both directions, but it will likely need to be an option. @rijkvanzanten thoughts?
@rijkvanzanten - 馃敂
I have no objection to adding a setting to directus_settings that lets you toggle between private_hash and filename_download 馃憤
We have already file_naming setting but it's used for the original filename. So is there any need to add a different variable for thumbnails?
IMO, we should use the same variable for both.
file_naming controls how files are stored on disk (and filename_disk). This would be to control how you're accessing files in /assets. They're similar, but definitely not the same.
Awesome to see an commit for this.
private_hash or filename_disk without making any other settings, or is it one or the other as defined by the Files and Thumbnails -> File Naming setting in the app?@blob100
I was previously accessing thumbnails using:
https://<domain>.com/<project>/assets/<private_hash>?key=<asset_whitelist_value>
Now I set the app - Settings - File Naming = File Name, and expect to be able to access by:
https://<domain>.com/<project>/assets/<filename_disk>?key=<asset_whitelist_value>
But I get Code 203, Item not found.
And with setting to File Name I am still able to get the file using the private_hash
How do I configure the url to get the file using File Name?
@bjgajjar