|
|
|
|
|
by aaronds
3173 days ago
|
|
Something to the effect of my_app/profile_images/org_id/user_id/uuid_thumb.png uuid_large.png uuid_original.png can work. Then in your app, you can have a way of specifying which version of the file you'd like to reference, for example: `user.avatar.large -> '<path>/uuid_large.png'` Not sure if that helps? |
|
I could shorten the key by moving the sha512sum from the url to a CHECKSUM file.
org/file_uuid/original/original_filename.png CHECKSUM org/file_uuid/thumb/160x90.png 48x48.png org/file_uuid/poster/1k.png 2k.png org/file_uuid/other/