开发者

Are there any examples/instructions on how to use AWS S3 with CKFinder?

I want to use AWS's S3 service to host files and images for my site, but I also want to use CKEditor & CKFinder for the editor. Are the开发者_JAVA百科re any examples of integrating AWS & CKFinder?


If you're looking for a Windows-based solution there are a few products available that will allow you to map a drive to an S3 bucket. We use a product called TnTDrive for this purpose. (Note that we are in no way affiliated with the creators of this product) File uploads via CKEditor will pass through the mapped drive whereas client browsers will download those files directly from S3. No matter which product you use the config is straightforward:

  1. Create the drive mapping
  2. Add a read-only policy to the bucket
  3. Change the config.baseUrl and config.baseDir parameters in your CKFinder config file to point to the bucket and new drive.

Hope this proves useful.


I'm in a similar situation, and despite both CKEditor/CKFinder and S3 being popular, the web still hasn't provided a good solution that I can find. The best lead I've found is this comment on a corefive blog post where someone claims to have written one using codeigniter.

If you do find or create a solution for this, please post it here!


follow link https://github.com/colonelchlorine/ckfinder-amazon-s3 and https://github.com/colonelchlorine/ckfinder-amazon-s3/issues/7. this code is very useful who looking for editor, finder and aws s3 all to gather. Hope it helps someone.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜