Extending Upload to have nested folders #1961
Replies: 11 comments 3 replies
-
Yes this would indeed be very nice feature to have. I'm in need of oraganizing the files to folders scoped to collection item. So when a Page is deleted I could just iterate the filenames in folder |
Beta Was this translation helpful? Give feedback.
-
Would also really appreciate is this became a feature, right now I have way too many media files which I'm not able to view in an organised manner. |
Beta Was this translation helpful? Give feedback.
-
Looking for this feature |
Beta Was this translation helpful? Give feedback.
-
Has anybody found a workaround for this feature? Would be nice to have for sure. |
Beta Was this translation helpful? Give feedback.
-
Yeah, Only way to do it to give up and try to save all your files into S3. You can freely define your path as you want. I also have so so many images, saving all of them into ONE media folder is too silly and not logically organised as well. I've spent a whole day to look into it, but failed. |
Beta Was this translation helpful? Give feedback.
-
Any progress on this feature? This should be a priority 1 feature. |
Beta Was this translation helpful? Give feedback.
-
I create a work-around...
if (!fs.existsSync(mediaDir + '/' + catId)) { |
Beta Was this translation helpful? Give feedback.
-
so, I've been searching for a while how can I do it natively, nothing yet? |
Beta Was this translation helpful? Give feedback.
-
It'd be great to have this feature supported natively |
Beta Was this translation helpful? Give feedback.
-
I think this might overlap with: #5664 |
Beta Was this translation helpful? Give feedback.
-
Update on this? |
Beta Was this translation helpful? Give feedback.
-
I have a media collection which I use to save all media files. I want to organize the files into subfolders. Currently, all files are saved in folder: media
How can I save files from collection-1 to media/collection-1 when using media relationship.
Strapi provides media gallery out of the box in which you can create folders to structure your media gallery such as media/products or media/posts. Maybe we can define the folder inside the relationship such as below.
{ name: 'products', type: 'upload', relationTo: 'media', DESTINATION_FOLDER: '../../media/products' // Example },
Beta Was this translation helpful? Give feedback.
All reactions