You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just wondering if anyone has used this extension to allow the fields to upload files into a nested folder structure on the bucket? As I understand, this field currently uploads all files into the root of the bucket.
My client requires that images go into an /images folder on the same bucket as files (which would live in /files folder). It seems to be a simple file naming convention which allows the files to be displayed a traditional folder structure via the AWS console, the file just needs to be uploaded with the 'folder' prefixed to the filename.
I'm thinking of enabling this just by having an additional setting on the field which prepends the value to the file upon upload, eg. '/images' would be added to beach.jpg to allow it to live in http://s3.amazonaws.com/{bucket}/images/beach.jpg
Has anyone does this before (happy to merge rather than develop from scratch) :)
The text was updated successfully, but these errors were encountered:
@andrewminton had something to upload in different folders, but it was not based on S3 (it was based on the regular upload field). I have not seen anything like that anywhere else.
I hacked together #24 for this but I don't really know what I'm doing so I'm sure it's broken in many ways. If someone has a chance to take a look at it that might be handy.
I'm just wondering if anyone has used this extension to allow the fields to upload files into a nested folder structure on the bucket? As I understand, this field currently uploads all files into the root of the bucket.
My client requires that images go into an
/images
folder on the same bucket as files (which would live in/files
folder). It seems to be a simple file naming convention which allows the files to be displayed a traditional folder structure via the AWS console, the file just needs to be uploaded with the 'folder' prefixed to the filename.I'm thinking of enabling this just by having an additional setting on the field which prepends the value to the file upon upload, eg. '/images' would be added to
beach.jpg
to allow it to live inhttp://s3.amazonaws.com/{bucket}/images/beach.jpg
Has anyone does this before (happy to merge rather than develop from scratch) :)
The text was updated successfully, but these errors were encountered: