或客户端视图小将属性应用图像为唯一元素时,父容器即为视图港设置
对象适配:内含
保留图像原创维ss再大小到全图像可见点
实例大小图像适配父容器可用空间
Ing{高度:100%宽度百分百对象适配:内存}
表示想调整背景图像以更好地匹配元素或页面上头后台尺寸
物业会派上用场见下文示例
相似于标准图像重定大小,绝对重定背景维度以匹配你指定的高度宽度记住人工设置值也会改变侧比
调整背景大小,先指定宽度再高度仿高默认汽车
.三个代码线下产生相同的图像大小, 假设图像开始为200px乘200px
后台尺寸:100px100px后台尺寸: 100px后台尺寸:100px自动机
相对裁剪工作与绝对重裁相同方式,如上描述,但在此指定值后台尺寸
取物值高度显示
并宽度
.例举 :
背景尺寸:50%自动机
自动调整背景最大量父元素可屏蔽,指定内装
值-正像你所为对象适配
.后台自动打瓦填充剩余空间
停止行为添加background-repeat
属性容留空格无法填充单图像空白
举个例子
后台尺寸:内存后台重录:无重录
应用类似效果内装
带空格指定覆盖
值填充后台容器元件,但裁剪容器外任何超映像,如:
后台尺寸:覆盖
更多方式变换图像CSS,见我们的文章ss图像特效并滤波.
云端服务管理图片视频自由永续订阅计划.贝斯特2200娱乐平台上可上传图像,应用内置效果、滤波和修改也可以自动调整图像大小,用AI聚焦最重要的元素或按网站设计调整图像,而无需人工裁剪或缩放
此外,你还可以编程转换图像SDKs或简单URL参数云化应用动态修改,保留原创图像原封不动表示你可以修改飞图以适应设计变化-巨大的方便时间保存程序
下方有三种方法调整元素或后台图像的大小并附云性URL参数下方每一段连接到云化库页面更多细节
面向限制大小图像到某些维度修改裁剪
高山市C级
内URLs)值限值
.
下图850x565px70x70px带限值
.因保留侧比,显示器为70x47px
<\/Image>","codeSnippet":"
\n\t
\n<\/Image>","status":0,"statusText":"Ok","displayName":"React","packageName":"cloudinary-react","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue_2","framework":"vue_2","language":"vue","rawCodeSnippet":"new CloudinaryImage(\"cashew_chicken.jpg\").resize(\n limitFit().width(70).height(70)\n);","codeSnippet":"new CloudinaryImage(\"cashew_chicken.jpg\").resize(\n limitFit().width(70).height(70)\n);","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"@cloudinary\/vue","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue","framework":"vue","language":"vue","rawCodeSnippet":"
<\/cld-image>","codeSnippet":"
\n\t
\n<\/cld-image>","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"cloudinary-vue","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"angular_2","framework":"angular_2","language":"angular","rawCodeSnippet":"new CloudinaryImage(\"cashew_chicken.jpg\").resize(\n limitFit().width(70).height(70)\n);","codeSnippet":"new CloudinaryImage(\"cashew_chicken.jpg\").resize(\n limitFit().width(70).height(70)\n);","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/ng","packageStatus":"","packageVersion":"1.x"},{"sdkId":"angular","framework":"angular","language":"angular","rawCodeSnippet":"
<\/cl-transformation> <\/cl-image>","codeSnippet":"
\n\t
\n\t<\/cl-transformation>\n<\/cl-image>","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/angular-5.x","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"js_2","framework":"js_2","language":"js","rawCodeSnippet":"new CloudinaryImage(\"cashew_chicken.jpg\").resize(\n limitFit().width(70).height(70)\n);","codeSnippet":"new CloudinaryImage(\"cashew_chicken.jpg\").resize(\n limitFit().width(70).height(70)\n);","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('cashew_chicken.jpg', {width: 70, height: 70, crop: \"limit\"}).toHtml();","codeSnippet":"cloudinary.imageTag('cashew_chicken.jpg', {width: 70, height: 70, crop: \"limit\"}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"cashew_chicken.jpg\").image(width=70, height=70, crop=\"limit\")","codeSnippet":"CloudinaryImage(\"cashew_chicken.jpg\").image(width=70, height=70, crop=\"limit\")","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('cashew_chicken.jpg'))\n\t->resize(Resize::limitFit()->width(70)\n->height(70));","codeSnippet":"(new ImageTag('cashew_chicken.jpg'))\n\t->resize(Resize::limitFit()->width(70)\n->height(70));","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"cashew_chicken.jpg\", array(\"width\"=>70, \"height\"=>70, \"crop\"=>\"limit\"))","codeSnippet":"cl_image_tag(\"cashew_chicken.jpg\", array(\"width\"=>70, \"height\"=>70, \"crop\"=>\"limit\"))","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"java","framework":"java","language":"java","rawCodeSnippet":"cloudinary.url().transformation(new Transformation().width(70).height(70).crop(\"limit\")).imageTag(\"cashew_chicken.jpg\");","codeSnippet":"cloudinary.url().transformation(new Transformation().width(70).height(70).crop(\"limit\")).imageTag(\"cashew_chicken.jpg\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"cashew_chicken.jpg\", :width=>70, :height=>70, :crop=>\"limit\")","codeSnippet":"cl_image_tag(\"cashew_chicken.jpg\", :width=>70, :height=>70, :crop=>\"limit\")","status":0,"statusText":"Ok","displayName":"Ruby","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"csharp","framework":"csharp","language":"csharp","rawCodeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Width(70).Height(70).Crop(\"limit\")).BuildImageTag(\"cashew_chicken.jpg\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Width(70).Height(70).Crop(\"limit\")).BuildImageTag(\"cashew_chicken.jpg\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('cashew_chicken.jpg').transformation(Transformation()\n\t.resize(Resize.limitFit().width(70)\n.height(70)));","codeSnippet":"cloudinary.image('cashew_chicken.jpg').transformation(Transformation()\n\t.resize(Resize.limitFit().width(70)\n.height(70)));","status":0,"statusText":"Ok","displayName":"Dart","packageName":"cloudinary_dart","packageStatus":"","packageVersion":"0.x"},{"sdkId":"swift","framework":"swift","language":"swift","rawCodeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setWidth(70).setHeight(70).setCrop(\"limit\")).generate(\"cashew_chicken.jpg\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setWidth(70).setHeight(70).setCrop(\"limit\")).generate(\"cashew_chicken.jpg\")!, cloudinary: cloudinary)","status":0,"statusText":"Ok","displayName":"iOS","packageName":"cloudinary","packageStatus":"","packageVersion":"3.x"},{"sdkId":"android","framework":"android","language":"android","rawCodeSnippet":"MediaManager.get().url().transformation(new Transformation().width(70).height(70).crop(\"limit\")).generate(\"cashew_chicken.jpg\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation().width(70).height(70).crop(\"limit\")).generate(\"cashew_chicken.jpg\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('cashew_chicken.jpg').transformation(Transformation()\n\t.resize(Resize.limitFit().width(70)\n.height(70)));","codeSnippet":"cloudinary.image('cashew_chicken.jpg').transformation(Transformation()\n\t.resize(Resize.limitFit().width(70)\n.height(70)));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"cashew_chicken.jpg\")\n\t resize(Resize.limitFit() { width(70)\n height(70) }) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"cashew_chicken.jpg\")\n\t resize(Resize.limitFit() { width(70)\n height(70) }) \n}.generate()","status":0,"statusText":"Ok","displayName":"Kotlin","packageName":"kotlin-url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"jquery","framework":"jquery","language":"jquery","rawCodeSnippet":"$.cloudinary.image(\"cashew_chicken.jpg\", {width: 70, height: 70, crop: \"limit\"})","codeSnippet":"$.cloudinary.image(\"cashew_chicken.jpg\", {width: 70, height: 70, crop: \"limit\"})","status":0,"statusText":"Ok","displayName":"jQuery","packageName":"cloudinary-jquery","packageStatus":"","packageVersion":"2.x"},{"sdkId":"react_native","framework":"react_native","language":"react_native","rawCodeSnippet":"new CloudinaryImage(\"cashew_chicken.jpg\").resize(\n limitFit().width(70).height(70)\n);","codeSnippet":"new CloudinaryImage(\"cashew_chicken.jpg\").resize(\n limitFit().width(70).height(70)\n);","status":0,"statusText":"Ok","displayName":"React Native","packageName":"cloudinary-react-native","packageStatus":"","packageVersion":"0.x"}]" parsed-url="{"url":"https:\/\/res.www.aaaalireno.com\/demo\/image\/upload\/w_70,h_70,c_limit\/cashew_chicken.jpg","cloud_name":"demo","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"width":"70","height":"70","crop_mode":"limit"}],"transformation_string":"w_70,h_70,c_limit","url_suffix":"","version":"","secure":true,"public_id":"cashew_chicken.jpg","extension":"jpg","format":"jpg","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" >
加载代码示例
聚焦某些细节-表情、对象、颜色对比-同时重构图像,用云化图像裁剪图像智能自重力特征.参数集重力
g in URLs提供汽车
智能裁剪值视图像内容
云化自动作物图像具备内容认知性、AI特征,选择面孔、个体特征或感兴趣领域触发任务应用重力
滤波器g级
特征保存
例子例子带g_aut
设置最趣味区
另一例:避免无关对象而不是产品图片居中心阶段,将产品定义为焦点右下图有背包聚焦
<\/Image>","codeSnippet":"
\n\t
\n<\/Image>","status":0,"statusText":"Ok","displayName":"React","packageName":"cloudinary-react","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue_2","framework":"vue_2","language":"vue","rawCodeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"classic\")))\n )\n .setVersion(1551428220);","codeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"classic\")))\n )\n .setVersion(1551428220);","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"@cloudinary\/vue","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue","framework":"vue","language":"vue","rawCodeSnippet":"
<\/cld-image>","codeSnippet":"
\n\t
\n<\/cld-image>","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"cloudinary-vue","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"angular_2","framework":"angular_2","language":"angular","rawCodeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"classic\")))\n )\n .setVersion(1551428220);","codeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"classic\")))\n )\n .setVersion(1551428220);","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/ng","packageStatus":"","packageVersion":"1.x"},{"sdkId":"angular","framework":"angular","language":"angular","rawCodeSnippet":"
<\/cl-transformation> <\/cl-image>","codeSnippet":"
\n\t
\n\t<\/cl-transformation>\n<\/cl-image>","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/angular-5.x","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"js_2","framework":"js_2","language":"js","rawCodeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"classic\")))\n )\n .setVersion(1551428220);","codeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"classic\")))\n )\n .setVersion(1551428220);","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('veducate\/spencer-backman-482079-unsplash.jpg', {gravity: \"auto:classic\", height: 175, width: 175, crop: \"thumb\"}).toHtml();","codeSnippet":"cloudinary.imageTag('veducate\/spencer-backman-482079-unsplash.jpg', {gravity: \"auto:classic\", height: 175, width: 175, crop: \"thumb\"}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\").image(gravity=\"auto:classic\", height=175, width=175, crop=\"thumb\")","codeSnippet":"CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\").image(gravity=\"auto:classic\", height=175, width=175, crop=\"thumb\")","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('veducate\/spencer-backman-482079-unsplash.jpg'))\n\t->resize(Resize::thumbnail()->width(175)\n->height(175)\n\t->gravity(\n\tGravity::autoGravity()\n\t->autoFocus(\n\tAutoFocus::focusOn(\"classic\"))\n\t)\n\t)\n\t->version(1551428220);","codeSnippet":"(new ImageTag('veducate\/spencer-backman-482079-unsplash.jpg'))\n\t->resize(Resize::thumbnail()->width(175)\n->height(175)\n\t->gravity(\n\tGravity::autoGravity()\n\t->autoFocus(\n\tAutoFocus::focusOn(\"classic\"))\n\t)\n\t)\n\t->version(1551428220);","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"veducate\/spencer-backman-482079-unsplash.jpg\", array(\"gravity\"=>\"auto:classic\", \"height\"=>175, \"width\"=>175, \"crop\"=>\"thumb\"))","codeSnippet":"cl_image_tag(\"veducate\/spencer-backman-482079-unsplash.jpg\", array(\"gravity\"=>\"auto:classic\", \"height\"=>175, \"width\"=>175, \"crop\"=>\"thumb\"))","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"java","framework":"java","language":"java","rawCodeSnippet":"cloudinary.url().transformation(new Transformation().gravity(\"auto:classic\").height(175).width(175).crop(\"thumb\")).imageTag(\"veducate\/spencer-backman-482079-unsplash.jpg\");","codeSnippet":"cloudinary.url().transformation(new Transformation().gravity(\"auto:classic\").height(175).width(175).crop(\"thumb\")).imageTag(\"veducate\/spencer-backman-482079-unsplash.jpg\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"veducate\/spencer-backman-482079-unsplash.jpg\", :gravity=>\"auto:classic\", :height=>175, :width=>175, :crop=>\"thumb\")","codeSnippet":"cl_image_tag(\"veducate\/spencer-backman-482079-unsplash.jpg\", :gravity=>\"auto:classic\", :height=>175, :width=>175, :crop=>\"thumb\")","status":0,"statusText":"Ok","displayName":"Ruby","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"csharp","framework":"csharp","language":"csharp","rawCodeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Gravity(\"auto:classic\").Height(175).Width(175).Crop(\"thumb\")).BuildImageTag(\"veducate\/spencer-backman-482079-unsplash.jpg\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Gravity(\"auto:classic\").Height(175).Width(175).Crop(\"thumb\")).BuildImageTag(\"veducate\/spencer-backman-482079-unsplash.jpg\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('veducate\/spencer-backman-482079-unsplash.jpg').transformation(Transformation()\n\t.resize(Resize.thumbnail().width(175)\n.height(175)\n\t.gravity(\n\tGravity.autoGravity()\n\t.autoFocus(\n\tAutoFocus.focusOn(\"classic\"))\n\t)\n\t)\n\t.version(1551428220));","codeSnippet":"cloudinary.image('veducate\/spencer-backman-482079-unsplash.jpg').transformation(Transformation()\n\t.resize(Resize.thumbnail().width(175)\n.height(175)\n\t.gravity(\n\tGravity.autoGravity()\n\t.autoFocus(\n\tAutoFocus.focusOn(\"classic\"))\n\t)\n\t)\n\t.version(1551428220));","status":0,"statusText":"Ok","displayName":"Dart","packageName":"cloudinary_dart","packageStatus":"","packageVersion":"0.x"},{"sdkId":"swift","framework":"swift","language":"swift","rawCodeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setGravity(\"auto:classic\").setHeight(175).setWidth(175).setCrop(\"thumb\")).generate(\"veducate\/spencer-backman-482079-unsplash.jpg\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setGravity(\"auto:classic\").setHeight(175).setWidth(175).setCrop(\"thumb\")).generate(\"veducate\/spencer-backman-482079-unsplash.jpg\")!, cloudinary: cloudinary)","status":0,"statusText":"Ok","displayName":"iOS","packageName":"cloudinary","packageStatus":"","packageVersion":"3.x"},{"sdkId":"android","framework":"android","language":"android","rawCodeSnippet":"MediaManager.get().url().transformation(new Transformation().gravity(\"auto:classic\").height(175).width(175).crop(\"thumb\")).generate(\"veducate\/spencer-backman-482079-unsplash.jpg\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation().gravity(\"auto:classic\").height(175).width(175).crop(\"thumb\")).generate(\"veducate\/spencer-backman-482079-unsplash.jpg\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('veducate\/spencer-backman-482079-unsplash.jpg').transformation(Transformation()\n\t.resize(Resize.thumbnail().width(175)\n.height(175)\n\t.gravity(\n\tGravity.autoGravity()\n\t.autoFocus(\n\tAutoFocus.focusOn(\"classic\"))\n\t)\n\t)\n\t.version(1551428220));","codeSnippet":"cloudinary.image('veducate\/spencer-backman-482079-unsplash.jpg').transformation(Transformation()\n\t.resize(Resize.thumbnail().width(175)\n.height(175)\n\t.gravity(\n\tGravity.autoGravity()\n\t.autoFocus(\n\tAutoFocus.focusOn(\"classic\"))\n\t)\n\t)\n\t.version(1551428220));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n\t resize(Resize.thumbnail() { width(175)\n height(175)\n\t gravity(\n\tGravity.autoGravity() {\n\t autoFocus(\n\tAutoFocus.focusOn(\"classic\"))\n\t })\n\t })\n\t version(1551428220) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n\t resize(Resize.thumbnail() { width(175)\n height(175)\n\t gravity(\n\tGravity.autoGravity() {\n\t autoFocus(\n\tAutoFocus.focusOn(\"classic\"))\n\t })\n\t })\n\t version(1551428220) \n}.generate()","status":0,"statusText":"Ok","displayName":"Kotlin","packageName":"kotlin-url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"jquery","framework":"jquery","language":"jquery","rawCodeSnippet":"$.cloudinary.image(\"veducate\/spencer-backman-482079-unsplash.jpg\", {gravity: \"auto:classic\", height: 175, width: 175, crop: \"thumb\"})","codeSnippet":"$.cloudinary.image(\"veducate\/spencer-backman-482079-unsplash.jpg\", {gravity: \"auto:classic\", height: 175, width: 175, crop: \"thumb\"})","status":0,"statusText":"Ok","displayName":"jQuery","packageName":"cloudinary-jquery","packageStatus":"","packageVersion":"2.x"},{"sdkId":"react_native","framework":"react_native","language":"react_native","rawCodeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"classic\")))\n )\n .setVersion(1551428220);","codeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"classic\")))\n )\n .setVersion(1551428220);","status":0,"statusText":"Ok","displayName":"React Native","packageName":"cloudinary-react-native","packageStatus":"","packageVersion":"0.x"}]" parsed-url="{"url":"https:\/\/res.www.aaaalireno.com\/demo\/image\/upload\/c_thumb,g_auto:classic,h_175,w_175\/v1551428220\/veducate\/spencer-backman-482079-unsplash.jpg","cloud_name":"demo","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"crop_mode":"thumb","gravity":"auto:classic","height":"175","width":"175"}],"transformation_string":"c_thumb,g_auto:classic,h_175,w_175","url_suffix":"","version":"1551428220","secure":true,"public_id":"veducate\/spencer-backman-482079-unsplash.jpg","extension":"jpg","format":"jpg","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" >
加载代码示例
g_auto:经典
<\/Image>","codeSnippet":"
\n\t
\n<\/Image>","status":0,"statusText":"Ok","displayName":"React","packageName":"cloudinary-react","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue_2","framework":"vue_2","language":"vue","rawCodeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"backpack\")))\n )\n .setVersion(1551428220);","codeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"backpack\")))\n )\n .setVersion(1551428220);","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"@cloudinary\/vue","packageStatus":"","packageVersion":"1.x"},{"sdkId":"vue","framework":"vue","language":"vue","rawCodeSnippet":"
<\/cld-image>","codeSnippet":"
\n\t
\n<\/cld-image>","status":0,"statusText":"Ok","displayName":"Vue.js","packageName":"cloudinary-vue","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"angular_2","framework":"angular_2","language":"angular","rawCodeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"backpack\")))\n )\n .setVersion(1551428220);","codeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"backpack\")))\n )\n .setVersion(1551428220);","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/ng","packageStatus":"","packageVersion":"1.x"},{"sdkId":"angular","framework":"angular","language":"angular","rawCodeSnippet":"
<\/cl-transformation> <\/cl-image>","codeSnippet":"
\n\t
\n\t<\/cl-transformation>\n<\/cl-image>","status":0,"statusText":"Ok","displayName":"Angular","packageName":"@cloudinary\/angular-5.x","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"js_2","framework":"js_2","language":"js","rawCodeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"backpack\")))\n )\n .setVersion(1551428220);","codeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"backpack\")))\n )\n .setVersion(1551428220);","status":0,"statusText":"Ok","displayName":"JS","packageName":"@cloudinary\/url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"js","framework":"js","language":"js","rawCodeSnippet":"cloudinary.imageTag('veducate\/spencer-backman-482079-unsplash.jpg', {gravity: \"auto:backpack\", height: 175, width: 175, crop: \"thumb\"}).toHtml();","codeSnippet":"cloudinary.imageTag('veducate\/spencer-backman-482079-unsplash.jpg', {gravity: \"auto:backpack\", height: 175, width: 175, crop: \"thumb\"}).toHtml();","status":0,"statusText":"Ok","displayName":"JS","packageName":"cloudinary-core","packageStatus":"legacy","packageVersion":"2.x"},{"sdkId":"python","framework":"python","language":"python","rawCodeSnippet":"CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\").image(gravity=\"auto:backpack\", height=175, width=175, crop=\"thumb\")","codeSnippet":"CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\").image(gravity=\"auto:backpack\", height=175, width=175, crop=\"thumb\")","status":0,"statusText":"Ok","displayName":"Python","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"php_2","framework":"php_2","language":"php","rawCodeSnippet":"(new ImageTag('veducate\/spencer-backman-482079-unsplash.jpg'))\n\t->resize(Resize::thumbnail()->width(175)\n->height(175)\n\t->gravity(\n\tGravity::autoGravity()\n\t->autoFocus(\n\tAutoFocus::focusOn(\"backpack\"))\n\t)\n\t)\n\t->version(1551428220);","codeSnippet":"(new ImageTag('veducate\/spencer-backman-482079-unsplash.jpg'))\n\t->resize(Resize::thumbnail()->width(175)\n->height(175)\n\t->gravity(\n\tGravity::autoGravity()\n\t->autoFocus(\n\tAutoFocus::focusOn(\"backpack\"))\n\t)\n\t)\n\t->version(1551428220);","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"","packageVersion":"2.x"},{"sdkId":"php","framework":"php","language":"php","rawCodeSnippet":"cl_image_tag(\"veducate\/spencer-backman-482079-unsplash.jpg\", array(\"gravity\"=>\"auto:backpack\", \"height\"=>175, \"width\"=>175, \"crop\"=>\"thumb\"))","codeSnippet":"cl_image_tag(\"veducate\/spencer-backman-482079-unsplash.jpg\", array(\"gravity\"=>\"auto:backpack\", \"height\"=>175, \"width\"=>175, \"crop\"=>\"thumb\"))","status":0,"statusText":"Ok","displayName":"PHP","packageName":"cloudinary_php","packageStatus":"legacy","packageVersion":"1.x"},{"sdkId":"java","framework":"java","language":"java","rawCodeSnippet":"cloudinary.url().transformation(new Transformation().gravity(\"auto:backpack\").height(175).width(175).crop(\"thumb\")).imageTag(\"veducate\/spencer-backman-482079-unsplash.jpg\");","codeSnippet":"cloudinary.url().transformation(new Transformation().gravity(\"auto:backpack\").height(175).width(175).crop(\"thumb\")).imageTag(\"veducate\/spencer-backman-482079-unsplash.jpg\");","status":0,"statusText":"Ok","displayName":"Java","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"ruby","framework":"ruby","language":"ruby","rawCodeSnippet":"cl_image_tag(\"veducate\/spencer-backman-482079-unsplash.jpg\", :gravity=>\"auto:backpack\", :height=>175, :width=>175, :crop=>\"thumb\")","codeSnippet":"cl_image_tag(\"veducate\/spencer-backman-482079-unsplash.jpg\", :gravity=>\"auto:backpack\", :height=>175, :width=>175, :crop=>\"thumb\")","status":0,"statusText":"Ok","displayName":"Ruby","packageName":"cloudinary","packageStatus":"","packageVersion":"1.x"},{"sdkId":"csharp","framework":"csharp","language":"csharp","rawCodeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Gravity(\"auto:backpack\").Height(175).Width(175).Crop(\"thumb\")).BuildImageTag(\"veducate\/spencer-backman-482079-unsplash.jpg\")","codeSnippet":"cloudinary.Api.UrlImgUp.Transform(new Transformation().Gravity(\"auto:backpack\").Height(175).Width(175).Crop(\"thumb\")).BuildImageTag(\"veducate\/spencer-backman-482079-unsplash.jpg\")","status":0,"statusText":"Ok","displayName":".NET","packageName":"CloudinaryDotNet","packageStatus":"","packageVersion":"1.x"},{"sdkId":"dart","framework":"dart","language":"dart","rawCodeSnippet":"cloudinary.image('veducate\/spencer-backman-482079-unsplash.jpg').transformation(Transformation()\n\t.resize(Resize.thumbnail().width(175)\n.height(175)\n\t.gravity(\n\tGravity.autoGravity()\n\t.autoFocus(\n\tAutoFocus.focusOn(\"backpack\"))\n\t)\n\t)\n\t.version(1551428220));","codeSnippet":"cloudinary.image('veducate\/spencer-backman-482079-unsplash.jpg').transformation(Transformation()\n\t.resize(Resize.thumbnail().width(175)\n.height(175)\n\t.gravity(\n\tGravity.autoGravity()\n\t.autoFocus(\n\tAutoFocus.focusOn(\"backpack\"))\n\t)\n\t)\n\t.version(1551428220));","status":0,"statusText":"Ok","displayName":"Dart","packageName":"cloudinary_dart","packageStatus":"","packageVersion":"0.x"},{"sdkId":"swift","framework":"swift","language":"swift","rawCodeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setGravity(\"auto:backpack\").setHeight(175).setWidth(175).setCrop(\"thumb\")).generate(\"veducate\/spencer-backman-482079-unsplash.jpg\")!, cloudinary: cloudinary)","codeSnippet":"imageView.cldSetImage(cloudinary.createUrl().setTransformation(CLDTransformation().setGravity(\"auto:backpack\").setHeight(175).setWidth(175).setCrop(\"thumb\")).generate(\"veducate\/spencer-backman-482079-unsplash.jpg\")!, cloudinary: cloudinary)","status":0,"statusText":"Ok","displayName":"iOS","packageName":"cloudinary","packageStatus":"","packageVersion":"3.x"},{"sdkId":"android","framework":"android","language":"android","rawCodeSnippet":"MediaManager.get().url().transformation(new Transformation().gravity(\"auto:backpack\").height(175).width(175).crop(\"thumb\")).generate(\"veducate\/spencer-backman-482079-unsplash.jpg\");","codeSnippet":"MediaManager.get().url().transformation(new Transformation().gravity(\"auto:backpack\").height(175).width(175).crop(\"thumb\")).generate(\"veducate\/spencer-backman-482079-unsplash.jpg\");","status":0,"statusText":"Ok","displayName":"Android","packageName":"cloudinary-android","packageStatus":"","packageVersion":"1.x"},{"sdkId":"flutter","framework":"flutter","language":"flutter","rawCodeSnippet":"cloudinary.image('veducate\/spencer-backman-482079-unsplash.jpg').transformation(Transformation()\n\t.resize(Resize.thumbnail().width(175)\n.height(175)\n\t.gravity(\n\tGravity.autoGravity()\n\t.autoFocus(\n\tAutoFocus.focusOn(\"backpack\"))\n\t)\n\t)\n\t.version(1551428220));","codeSnippet":"cloudinary.image('veducate\/spencer-backman-482079-unsplash.jpg').transformation(Transformation()\n\t.resize(Resize.thumbnail().width(175)\n.height(175)\n\t.gravity(\n\tGravity.autoGravity()\n\t.autoFocus(\n\tAutoFocus.focusOn(\"backpack\"))\n\t)\n\t)\n\t.version(1551428220));","status":0,"statusText":"Ok","displayName":"Flutter","packageName":"cloudinary_flutter","packageStatus":"","packageVersion":"0.x"},{"sdkId":"kotlin","framework":"kotlin","language":"kotlin","rawCodeSnippet":"cloudinary.image {\n\tpublicId(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n\t resize(Resize.thumbnail() { width(175)\n height(175)\n\t gravity(\n\tGravity.autoGravity() {\n\t autoFocus(\n\tAutoFocus.focusOn(\"backpack\"))\n\t })\n\t })\n\t version(1551428220) \n}.generate()","codeSnippet":"cloudinary.image {\n\tpublicId(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n\t resize(Resize.thumbnail() { width(175)\n height(175)\n\t gravity(\n\tGravity.autoGravity() {\n\t autoFocus(\n\tAutoFocus.focusOn(\"backpack\"))\n\t })\n\t })\n\t version(1551428220) \n}.generate()","status":0,"statusText":"Ok","displayName":"Kotlin","packageName":"kotlin-url-gen","packageStatus":"","packageVersion":"1.x"},{"sdkId":"jquery","framework":"jquery","language":"jquery","rawCodeSnippet":"$.cloudinary.image(\"veducate\/spencer-backman-482079-unsplash.jpg\", {gravity: \"auto:backpack\", height: 175, width: 175, crop: \"thumb\"})","codeSnippet":"$.cloudinary.image(\"veducate\/spencer-backman-482079-unsplash.jpg\", {gravity: \"auto:backpack\", height: 175, width: 175, crop: \"thumb\"})","status":0,"statusText":"Ok","displayName":"jQuery","packageName":"cloudinary-jquery","packageStatus":"","packageVersion":"2.x"},{"sdkId":"react_native","framework":"react_native","language":"react_native","rawCodeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"backpack\")))\n )\n .setVersion(1551428220);","codeSnippet":"new CloudinaryImage(\"veducate\/spencer-backman-482079-unsplash.jpg\")\n .resize(\n thumbnail()\n .width(175)\n .height(175)\n .gravity(autoGravity().autoFocus(focusOn(\"backpack\")))\n )\n .setVersion(1551428220);","status":0,"statusText":"Ok","displayName":"React Native","packageName":"cloudinary-react-native","packageStatus":"","packageVersion":"0.x"}]" parsed-url="{"url":"https:\/\/res.www.aaaalireno.com\/demo\/image\/upload\/c_thumb,g_auto:backpack,h_175,w_175\/v1551428220\/veducate\/spencer-backman-482079-unsplash.jpg","cloud_name":"demo","host":"res.www.aaaalireno.com","type":"upload","resource_type":"image","transformation":[{"crop_mode":"thumb","gravity":"auto:backpack","height":"175","width":"175"}],"transformation_string":"c_thumb,g_auto:backpack,h_175,w_175","url_suffix":"","version":"1551428220","secure":true,"public_id":"veducate\/spencer-backman-482079-unsplash.jpg","extension":"jpg","format":"jpg","format_code":true,"signature":"","private_cdn":false,"result_asset_type":"image"}" with-url="true" >
加载代码示例
g_auto:背包
除图像恢复能力外,云形为网络开发者提供多种强健工具,包括:
- 自动图像上传可大规模从浏览器、移动应用或应用后端直接上传图像云
- 宽宏图像存储云化可达25GB免费管理安全云存储空间并配有多区备份、修改历史和灾难恢复
- 无缝资产管理可高效管理云形图像库,执行查找、整理和标签文件等任务控制访问并监控用法和性能
- 有效图像变换可变换、增强、转码、裁剪、尺度并增强图片使用基于 URLAPI或SDKs支持所有广受欢迎的编程语言
- 自动化图像优化云性自动选择图像最优质量和编码设置,使设置适应任何分辨率或像素密度,并标度或作物图像聚焦于重要区域
- 响应图像云式自动缩放图像以艺术引导方式裁剪以适应不同分辨率和视图
- 可靠快速图像传送云端传送图像网络-Akamai快速和云端-不归并或管理
给云形试一试起步前注册免费帐户
想要多学CSS图像吗?文章极佳资源