承接 voidagency/cloudinary 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

voidagency/cloudinary

Composer 安装命令:

composer require voidagency/cloudinary

包简介

The module provides a library and stream wrapper of Cloudinary service.

README 文档

README

The module provides a library and stream wrapper of Cloudinary service.

It can help user easily to use Cloudinary image transformation in Drupal, and it can convert all drupal default image effects into Cloudinary transformations.

Modules

This module include several sub-modules, some modules can be used alone as other modules.

cloudinary

Provides image transformations of Cloudinary, implements hook_image_effect_info().

Provides image style feature with Cloudinary image transformations.

Auto convert image effects (Crop, Desaturate, Resize, Rotate, Scale, Scale and crop) of drupal's image style into Cloudinary image transformations, without patch.

cloudinary_streamwrapper

Provides stream wrappers to access Cloudinary files (images, raw files). Support read and write with "cloudinary[.folder]".

So you can easily upload your images to Cloudinary with default drupal method based on streamwrapper "cloudinary://".

And this module has a hook let user can easily convert other image effects to Cloudinary transformation, cloudinary module has been use this hook to implemnt Cloudinary transformation for drupal default image effects.

cloudinary_storage

Provides storage file structure of Cloudinary to local, it will be load file structure from storage to reduce network requests and improve loading speed for uploaded Cloudinary files.

Also it has several sub-modules to implement storage based on db, filesystem, mongodb, redis.

cloudinary_sdk

Support library of Cloudinary SDK for the other modules. Implements hook_libraries_info().

Requirements

Usage

Drush make file

On github repository(git@github.com:everright/cloudinary_drush_make.git), it include a drush make file for you to test cloudinary module quickly.

You just need to clone the make files, then drush make it and install your drupal site.

cloudinary_sdk

All modules dependency cloudinary_sdk.

  • Log in cloudinary console 'https://cloudinary.com/console' to get API account.
  • Install and enable module 'cloudinary_sdk' as usual.
  • Go to cloudinary settings page 'admin/config/media/cloudinary'.
  • On settings page, type your Cloud name, API key and API secret.
  • Click 'Save configuration' button to save API account. In order to check the validity of the API, system will be auto ping your Cloudinary account after change API settings.
  • If there has no error messages, it means connect to cloudinary_sdk successfully.

cloudinary_stream_wrapper

  • Install and enable module 'cloudinary_sdk' as usual.
  • After module installed, you will be see cloudinary stream wrapper option on file or image field setting form.
  • You also can use cloudinary stream wrapper "cloudinary://" to save images with your code, like "file_save_data(your image data here, cloudinary://sample.jpg))".
  • In cloudinary settings page, you can enable more stream wrappers for Cloudinary with folder name under root folder, after enable it, you can use "cloudinary.folder_name://" to save your images into this folder as root.

cloudinary_storage

  • Install and enable module 'cloudinary_storage' and it's sub-modules as usual, you can just choose one sub-module to cache the file structure.
  • After module installed, in cloudinary settings page, you can enable one of cloudinary storage settings.
  • If you enabled cloudinary storage for file structure, it will be reduce network requests and improve loading speed for uploaded Cloudinary files.

cloudinary

  • Install and enable module 'cloudinary' as usual.
  • After module installed, it will auto convert image effects (Crop, Desaturate, Resize, Rotate, Scale, Scale and crop) of drupal's image style into Cloudinary image transformations, without patch.
  • Also it will be provides a new image effect "cloudinary_crop" on image style manage page, you can easy to create cloudinary transformation directly.

Bugs

Please report bugs and issues on drupal.org in the issue queue: http://drupal.org/project/issues/cloudinary

Remember to first search the issue queue and help others where you can!

Credits

The module was built by everright in Ci&T (http://www.ciandt.com).

voidagency/cloudinary 适用场景与选型建议

voidagency/cloudinary 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 12.05k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 01 月 15 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 voidagency/cloudinary 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 voidagency/cloudinary 我们能提供哪些服务?
定制开发 / 二次开发

基于 voidagency/cloudinary 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 12.05k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 17
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-01-15