develodesign/module-cloudinaryimageproductoption
Composer 安装命令:
composer require develodesign/module-cloudinaryimageproductoption
包简介
Adds new product option that uses Cloudinary to upload image.
README 文档
README
Demo Video
Main Functionalities
This module adds a new product option for Cloudinary image uploads, site visitors can upload images to Cloudinary storage, or select images from a range of Social networks.
Installation via Composer
composer require develodesign/module-cloudinaryimageproductoption
- Set up the module by running the following commands
php bin/magento module:enable Develo_CloudinaryImageProductOption
php bin/magento setup:upgrade
php bin/magento cache:flush
- If you are running Magento in production mode, you will also have to compile and deploy static content with
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
Uninstalling
To uninstall the module run the following commands in terminal in your Magento directory
php bin/magento module:disable Develo_CloudinaryImageProductOption
composer remove develodesign/module-cloudinaryimageproductoption
rm -rf app/code/Develo/CloudinaryImageProductOption
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush
Configuration
To set system config variables go to Stores -> Configuration -> Develo -> Cloudinary Image
Backend Configuration
There are three variables necessary for the configuration. To get your cloudName, apiKey and upload preset log in to the Cloudinary’s dashboard. The cloud name and api key are visible in Account Details after you log in. To get your upload preset go to Settings -> Upload -> Upload preset and Add new upload preset where you can make some basic configuration.
Frontend Configuration
- Show Advanced Options - enable/disable Advanced options for users in Cloudinary widget.
- Allow Cropping - enable/disable cropping of uploaded images.
- Styles - you can customize the feel and look of the widget by editing this JSON setting. For examples of the styles see https://demo.cloudinary.com/uw/#/ , but use the provided template.
- Sources - select sources available to your customers. Hold ‘ctrl’ to select multiple sources.
Sources API Keys
- dropboxAppKey - Your DropBox App key. Required if adding the dropbox source.
- facebookAppId - The App ID of your own Facebook application. Defaults to using the Cloudinary Media Upload app to access their Facebook accounts if not provided.
- googleApiKey - Your API key needed to access Google APIs. Required if adding the image_search source.
- instagramClientId - The App ID of your own Instagram application for accessing your users Instagram accounts. Defaults to using the Cloudinary Media Upload app to access their Instagram accounts if not provided.
- instagramClientId - The Client ID of your own Google Drive application for accessing your users Google Drive accounts. Defaults to using the Cloudinary Google Drive app to access their accounts if not provided.
Links
develodesign/module-cloudinaryimageproductoption 适用场景与选型建议
develodesign/module-cloudinaryimageproductoption 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 4, 最近一次更新时间为 2022 年 04 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 develodesign/module-cloudinaryimageproductoption 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 develodesign/module-cloudinaryimageproductoption 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2022-04-06