craft3-cloudinary icon indicating copy to clipboard operation
craft3-cloudinary copied to clipboard

Folder Support

Open Taylorsuk opened this issue 6 years ago • 1 comments

I'm happy to code this and provide a PR, however a pointer in the right direction would be really approached.

How would I be able to upload to a specific folder in Cloudinary?

Many thanks

Taylorsuk avatar Oct 22 '18 18:10 Taylorsuk

@Taylorsuk Sorry I can't be more help, I haphazardly threw this together and haven't revisited since.

See notes about folders here: https://github.com/enl/flysystem-cloudinary#cloudinary-features

If you want to save your files using folder you should set public_ids like 'test/test.jpg' and allow automated folders creation in your account settings in Cloudinary dashboard.

Cloudinary API: https://cloudinary.com/documentation/image_upload_api_reference

timkelty avatar Oct 23 '18 14:10 timkelty