Skip to content

Commit 929ba5f

Browse files
committed
Chore: release v3.6.0
1 parent 80d9ef0 commit 929ba5f

File tree

5 files changed

+52
-27
lines changed

5 files changed

+52
-27
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ Types of changes:
2727
-------------
2828

2929
-------------
30+
## 3.6.0 - 2022-04-25
31+
### Fixed
32+
- Update documentations
33+
3034
## 3.6.0-beta.20 - 2022-04-18
3135
### Added
3236
- possibility to render unwrapped image using `disableAnimation` prop

README.md

Lines changed: 36 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
[![Release](https://img.shields.io/badge/release-v3.5.1-blue.svg)](https://github.com/scaleflex/react-cloudimage-responsive/releases)
1+
[![Release](https://img.shields.io/badge/release-v3.6.0-blue.svg)](https://github.com/scaleflex/js-cloudimage-responsive/releases)
22
[![Free plan](https://img.shields.io/badge/price-includes%20free%20plan-green.svg)](https://www.cloudimage.io/en/home#b38181a6-b9c8-4015-9742-7b1a1ad382d5)
33
[![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)](#contributing)
44
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
55
[![Scaleflex team](https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-the%20Scaleflex%20team-6986fa.svg)](https://www.scaleflex.com/en/home)
6-
7-
[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Responsive%20images,%20now%20easier%20than%20ever&url=https://scaleflex.github.io/react-cloudimage-responsive/&via=cloudimage&hashtags=react,images,cloudimage,responsive_images,lazy_loading,web_acceleration,image_optimization,image_CDN,image_CDNwebp,jpeg_xr,jpg_optimization,image_resizing_and_CDN,cropresize)
6+
[![Cloudimage](https://img.shields.io/badge/Powered%20by-cloudimage-blue)](https://www.cloudimage.io/en/home)
87

98
## VERSIONS
109

@@ -39,7 +38,7 @@
3938
4039
<a href="https://scaleflex.github.io/react-cloudimage-responsive/" target="_blank">Demo</a>
4140
42-
<a href="https://codesandbox.io/s/1840nl707j" target="_blank">Code Sandbox</a>
41+
<a href="https://codesandbox.io/s/react-cloudimage-responsive-example-forked-9yq9tm" target="_blank">Code Sandbox</a>
4342
4443
<a href="https://medium.com/@dmitry_82269/responsive-images-in-2019-now-easier-than-ever-b76e5a43c074" target="_blank">Why?</a>
4544
</strong>
@@ -64,15 +63,13 @@ Cloudimage, contact us at
6463
<p align="center">
6564
<img
6665
alt="The Lounge"
67-
src="https://demo.cloudimg.io/width/1400/n/https://scaleflex.airstore.io/filerobot/cloudimage-process.jpg?sanitize=true">
66+
src="https://cdn.scaleflex.it/filerobot/cloudimage-process.jpg">
6867
</p>
6968

70-
powered by [Cloudimage](https://www.cloudimage.io/)
71-
([Watch the video here](https://www.youtube.com/watch?time_continue=2&v=JFZSE1vYb0k))
72-
7369
## Table of contents
7470

7571
* [Demo](#demo)
72+
* [Responsive plugins family](#plugin_family)
7673
* [Requirements](#requirements)
7774
* [Step 1: Installation](#installation)
7875
* [Step 2: Initialize](#initialize)
@@ -95,6 +92,28 @@ Inspector's Network tab to see how Cloudimage delivers the optimal
9592
image size to your browser, hence accelerating the overall page
9693
loading time.
9794

95+
## <a name="plugin_family"></a> Responsive plugins family
96+
In order to use Cloudimage responsive plugins on your single-page application, please check out Cloudimage responsive plugins for vanilla Javascript and the most popular Javascript frameworks.
97+
98+
<details>
99+
<summary>Javascript</summary>
100+
<a href="https://github.com/scaleflex/js-cloudimage-responsive">Js Cloudimage Responsive (Low Quality Preview)</a><br/>
101+
<a href="https://github.com/scaleflex/js-cloudimage-responsive/blob/master/README-BLUR-HASH.md">Js Cloudimage Responsive (Blur-hash)</a><br/>
102+
<a href="https://github.com/scaleflex/js-cloudimage-responsive/blob/master/README-PLAIN.md">Js Cloudimage Responsive (Plain)</a>
103+
</details>
104+
105+
<details>
106+
<summary>Vue.js</summary>
107+
<a href="https://github.com/scaleflex/vue-cloudimage-responsive">Vue Cloudimage Responsive (Low Quality Preview)</a><br/>
108+
<a href="https://github.com/scaleflex/vue-cloudimage-responsive-blur-hash">Vue Cloudimage Responsive (Blur-hash)</a><br/>
109+
<a href="https://github.com/scaleflex/vue-cloudimage-responsive-plain">Vue Cloudimage Responsive (Plain)</a>
110+
</details>
111+
112+
<details>
113+
<summary>Angular</summary>
114+
<a href="https://github.com/scaleflex/ng-cloudimage-responsive">Angular Cloudimage Responsive (Low Quality Preview)</a><br/>
115+
</details>
116+
98117
## <a name="requirements"/> Requirements
99118

100119
To use the Cloudimage Responsive plugin, you will need a
@@ -124,7 +143,7 @@ import Img, { CloudimageProvider } from 'react-cloudimage-responsive';
124143

125144
const cloudimageConfig = {
126145
token: 'demo',
127-
baseURL: 'https://jolipage.airstore.io/'
146+
baseURL: 'https://cdn.scaleflex.it/demo/'
128147
};
129148

130149
const App = () => {
@@ -150,7 +169,7 @@ render(<App />, document.body);
150169
NOTE: "ratio" is recommended to prevent page layout jumping. The parameter is used to calculate image height to hold
151170
the image position while image is loading.
152171

153-
<a href="https://codesandbox.io/s/1840nl707j"><img src="https://codesandbox.io/static/img/play-codesandbox.svg" alt="edeit in codesandbox"/></a>
172+
<a href="https://codesandbox.io/s/react-cloudimage-responsive-example-forked-b8zebi"><img src="https://codesandbox.io/static/img/play-codesandbox.svg" alt="edit in codesandbox"/></a>
154173

155174
### BackgroundImg component:
156175

@@ -160,7 +179,7 @@ the image position while image is loading.
160179
</BackgroundImg>
161180
```
162181

163-
<a href="https://codesandbox.io/s/react-cloudimage-responsive-background-1nin8"><img src="https://codesandbox.io/static/img/play-codesandbox.svg" alt="edeit in codesandbox"/></a>
182+
<a href="https://codesandbox.io/s/react-cloudimage-responsive-example-kvep0t"><img src="https://codesandbox.io/static/img/play-codesandbox.svg" alt="edeit in codesandbox"/></a>
164183

165184
## <a name="configuration"></a> Config
166185

@@ -197,15 +216,15 @@ Allow to use a specific version of API.
197216
```javascript
198217
const cloudimageConfig = {
199218
token: 'demo',
200-
baseURL: 'https://jolipage.airstore.io/',
219+
baseURL: 'https://cdn.scaleflex.it/demo/',
201220
apiVersion: 'v7' // optional
202221
};
203222
```
204223
- disable API version
205224
```javascript
206225
const cloudimageConfig = {
207226
token: 'demo',
208-
baseURL: 'https://jolipage.airstore.io/',
227+
baseURL: 'https://cdn.scaleflex.it/demo/',
209228
apiVersion: null // optional
210229
};
211230
```
@@ -266,7 +285,7 @@ Placeholder coloured background while the image is loading or use it to set your
266285

267286
for example
268287

269-
```placeholderBackground: "url('https://scaleflex.airstore.io/filerobot/red-loader.gif') 50% 50% no-repeat"```
288+
```placeholderBackground: "url('https:/https://cdn.scaleflex.it/filerobot/red-loader.gif') 50% 50% no-repeat"```
270289

271290
### lowQualityPreview
272291

@@ -291,7 +310,7 @@ Default:
291310
```javascript
292311
const cloudimageConfig = {
293312
token: 'demo',
294-
baseUrl: 'https://jolipage.airstore.io/',
313+
baseUrl: 'https://cdn.scaleflex.it/demo/',
295314
...
296315
presets: {
297316
xs: '(max-width: 575px)', // up to 575 PHONE
@@ -377,6 +396,8 @@ A function to be executed after the image is loaded
377396

378397
If set to true, the plugin will only add query parameters to the provided image source URL.
379398

399+
<a href="https://codesandbox.io/s/react-cloudimage-responsive-example-jtf2e4"><img src="https://codesandbox.io/static/img/play-codesandbox.svg" alt="edeit in codesandbox"/></a>
400+
380401
### disableAnimation
381402

382403
###### Type: **Boolean** | Default: **false** | _optional_

examples/src/components/app.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ function App() {
505505
<i>{image.original_size}</i>
506506
{' '}
507507
<a
508-
href={`https://cloudimage.public.airstore.io/demo/${image.src}`}
508+
href={`https://cdn.scaleflex.it/demo/${image.src}`}
509509
target="_blank"
510510
rel="noreferrer"
511511
>
@@ -536,7 +536,7 @@ function App() {
536536
<i>{images[17].original_size}</i>
537537
{' '}
538538
<a
539-
href={`https://cloudimage.public.airstore.io/demo/${images[17].src}`}
539+
href={`https://cdn.scaleflex.it/demo/${images[17].src}`}
540540
target="_blank"
541541
rel="noreferrer"
542542
>
@@ -590,7 +590,7 @@ sizes="
590590
display: 'inline-block', width: 200, height: 200, position: 'relative',
591591
}}
592592
>
593-
<img src="https://doc.cloudimg.io/sample.li/boat.jpg" />
593+
<img src="https://doc.cloudimg.io/sample.li/boat.jpg" alt="boat" />
594594
<div className="border-box" />
595595
</div>
596596
</div>
@@ -767,13 +767,13 @@ import Img, { CloudimageProvider } from 'react-cloudimage-responsive';
767767
768768
const cloudimageConfig = {
769769
token: 'demo',
770-
baseURL: 'https://jolipage.airstore.io/'
770+
baseURL: 'https://cdn.scaleflex.it/demo/'
771771
};
772772
773773
const cloudimageConfigWithCustomCNAMEDomain = {
774774
token: 'demo',
775-
baseURL: 'https://jolipage.airstore.io/',
776-
customDomain: 'images.airstore.io'
775+
baseURL: 'https://cdn.scaleflex.it/demo/',
776+
customDomain: 'https://cdn.scaleflex.it/demo/'
777777
};
778778
779779
const App = () => {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-cloudimage-responsive",
3-
"version": "3.6.0-beta.20",
3+
"version": "3.6.0",
44
"main": "dist/index.js",
55
"description": "Cloudimage Responsive will smartly resize, compress and accelerate images across the World in your site for all devices. The plugin supports lazy loading technique with fancy animation on image load.",
66
"author": "scaleflex",
@@ -40,7 +40,7 @@
4040
"publish-demo": "npm run build-demo && npm run deploy"
4141
},
4242
"dependencies": {
43-
"cloudimage-responsive-utils": "^2.4.6",
43+
"cloudimage-responsive-utils": "^2.4.7",
4444
"core-js": "^3.15.2",
4545
"prop-types": "^15.8.1",
4646
"react-lazyload": "^3.2.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2005,10 +2005,10 @@
20052005
"strip-ansi" "^5.2.0"
20062006
"wrap-ansi" "^5.1.0"
20072007

2008-
"cloudimage-responsive-utils@^2.4.6":
2009-
"integrity" "sha512-KMtPdlKXsfSAaXXmajlrSNYQBhoQb/VFZ9R2cqe+TqLTwLL9kkGpQNmGdy4HXXvopxNLLJIYCUqhsAnvE9P90w=="
2010-
"resolved" "https://registry.npmjs.org/cloudimage-responsive-utils/-/cloudimage-responsive-utils-2.4.6.tgz"
2011-
"version" "2.4.6"
2008+
"cloudimage-responsive-utils@^2.4.7":
2009+
"integrity" "sha512-bR/4opfax1qF+lnb63e+jUToRFL4/cX1ZNlZemWuqa8j8OiToS7nI5IS9u4YhyhBnKeBQV1vw8W2+m/X/CI+xQ=="
2010+
"resolved" "https://registry.npmjs.org/cloudimage-responsive-utils/-/cloudimage-responsive-utils-2.4.7.tgz"
2011+
"version" "2.4.7"
20122012

20132013
"collection-visit@^1.0.0":
20142014
"integrity" "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA="

0 commit comments

Comments
 (0)