Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Cloudinary Angular client library

License

NotificationsYou must be signed in to change notification settings

cloudinary/cloudinary_angular

Repository files navigation

About

NOTE-IMPORTANT: This is a legacy package, please find latest athttps://github.com/cloudinary/frontend-frameworks/tree/master/packages/angular

The Cloudinary Angular SDK allows you to quickly and easily integrate your application with Cloudinary.Effortlessly optimize, transform, and manage your cloud's assets.

Note

This Readme provides basic installation and usage information.For the complete documentation, see theAngular SDK Guide.

Table of Contents

Key Features

Version Support

SDK Versionng 2ng 4ng >=5.0.0
5.xXXV
4.xXVX
2.xVXX

Installation

npm install @cloudinary/angular-5.x cloudinary-core --save

Usage

Setup

import{NgModule}from'@angular/core';// ...import{CloudinaryModule,CloudinaryConfiguration}from'@cloudinary/angular-5.x';import{Cloudinary}from'cloudinary-core';@NgModule({imports:[CloudinaryModule.forRoot({Cloudinary},{cloud_name:'your_cloud_name'}asCloudinaryConfiguration),],bootstrap:[/* ... */]})exportclassAppModule{}

Transform and Optimize Assets

<cl-imagepublic-id="readme"class="thumbnail inline"angle="20"format="jpg"><cl-transformationheight="150"width="150"crop="fill"effect="sepia"radius="20"></cl-transformation><cl-transformationoverlay="text:arial_60:readme"gravity="north"y="20"></cl-transformation></cl-image>

Generate Image and Video HTML Tags

- Use <cl-image> to generate image tags- Use <cl-video> to generate video tags

File upload

This SDK does not provide file upload functionality, however there areseveral methods of uploading from the client side.

Contributions

  • Ensure tests run locally (npm run test)
  • Open a PR and ensure Travis tests pass

Get Help

If you run into an issue or have a question, you can either:

About Cloudinary

Cloudinary is a powerful media API for websites and mobile apps alike, Cloudinary enables developers to efficiently manage, transform, optimize, and deliver images and videos through multiple CDNs. Ultimately, viewers enjoy responsive and personalized visual-media experiences—irrespective of the viewing device.

Additional Resources

Licence

Released under the MIT license.


[8]ページ先頭

©2009-2025 Movatter.jp