Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit ef7d49d

Browse files
committed
Release! 🎉
1 parent 4f65ccb commit ef7d49d

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

changelog.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# ImageSet Changelog
22

3-
- `1.0.0-rc1`
3+
- `1.0.0` (2017/03/16)
4+
- Fix alt attribute not added under certain conditions.
5+
6+
- `1.0.0-rc1` (2017/03/11)
47
- **Leaner CSS classes:** I decided to switch from full-blown BEM syntax to a leaner scheme for ImageKit’s class names. As ImageSet already produces a lot of CSS classes and those will become possibly more as new features are added, BEM seems to be to verbose to keep the generated HTML source readable. The new scheme uses shorter classes for modifiers and state.
58
- **CSS:** Fix collisions with responsive image rules from inuit.css (and possibly other frameworks).
69
- **Fix some errors in Opera Mini** regarding distorted images and JavaScript errors.
710
- **Improved noscript-fallback:** Removed `noscript.priority`, because due to better CSS positioning of the placeholder, it is not needed any more.
811
- **SASS:** Adjusted SASS file by removing nested selectors for better readibility.
912

10-
- `1.0.0-beta2`
13+
- `1.0.0-beta2` (2017/01/27)
1114
- **Caching** ImageSets are now cached, so existance checks on load can be skipped after the first page load, resulting in major speed bumps. Can be disabled in options.
1215
- **Improved Transparency Detection** now also works for 8-bit palette GIF or PNG images.
1316
- **Better Image IDs** Some ImageSet require custom CSS rules and thus need a unique ID to target them. IDs now have more entropy and are less likely to collide.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "A flexible, responsive image component for Kirby CMS, featuring lazy loading, fancy placeholders and more.",
44
"author": "Fabian Michael <[email protected]>",
55
"license": "SEE LICENSE IN license.md",
6-
"version": "1.0.0-rc1",
6+
"version": "1.0.0",
77
"type": "kirby-plugin",
88
"repository": {
99
"type": "git",

readme.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ A flexible, responsive image component for [Kirby CMS](http://getkirby.com), fea
1010

1111
**NOTE:** This is a commercial plugin. In order to use it on a production server, you need to buy a license. For details on ImageSet’s license model, scroll down to the [License](#10-license) section of this document.
1212

13-
<table><tr><td>🚧 <em>The plugin is currently available as a pre-release. Licenses will be available, once version 1.0.0 final has been released. Feel free to test it on public servers, as long as this plugin is still in beta.</em></td></tr></table>
14-
1513
![Placeholder styles available in ImageSet](https://fabianmichael.de/shared/imageset-animation.gif)
1614

1715
***
@@ -167,7 +165,7 @@ The settings listed below are meant to be defined in your `config.php` and chang
167165

168166
| Option | Default value | Possible values | Description |
169167
|:--------------------|:--------------|:--------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
170-
| `imageset.license` | `''` ||Enter your license code here, once your site goes live.<br><br>🚧 *Licenses will be evailable, once version 1.0.0 final has been released.* |
168+
| `imageset.license` | `''` ||Enter your license code here, once your site goes live.<br>[<img src="https://img.shields.io/badge/%E2%80%BA-Buy%20a%20license-green.svg" alt="Buy a license">](http://sites.fastspring.com/fabianmichael/product/imageset) * |
171169
| `imageset.styles.consolidate` | `false` | `true`, `false` | If you use image sets with multiple aspect-ratios, the plugin needs an inline `<style>` element for each of those. This is common practice in web design and works in every browser, but throws a validation error as this is not officially part of the HTML5 spec. Enabling this setting will consolidate all inline style decorations and move them to head `<head>` of your document.<br><br>⚠️ *You should only enable this feature, if passing the validator is really important for your project and if you don’t use AJAX to load markup containing image sets dynamically.* |
172170
| `imageset.tags.image` | `true` | `true`, `false` | If enabled, ImageSet will replace Kirby’s built-in *image* Kirbytag with one that will generate image sets instead of plain image tags. |
173171
| `imageset.tags.image.sizes.default` | `''` | any defined preset name | Set the default size of image sets generated via the *image* Kirbytag. If this option is set, ImageSet will always generate image sets whenever the image Kirbytag is used, and no size parameter was given. |
@@ -216,7 +214,7 @@ The markup generated by the plugin is wrapped in a `<span>` tag which has the cl
216214

217215
#### 4.2.1 Single Aspect-Ratio
218216

219-
As thumbnail sizes are usually defined by their width, ImageKit provides a convenient syntax for this.
217+
As thumbnail sizes are usually defined by their width, ImageSet provides a convenient syntax for this.
220218

221219
**List of widths**
222220

@@ -233,7 +231,7 @@ This will generate 3 thumbnails with a width of 200, 400 and 600 pixels. You can
233231
echo $image->imageset('200-600');
234232
```
235233

236-
When you specifiy a range, ImageKit will calculate the intermediate sizes automatically. By default, the plugin will generate 2 intermediate sizes, so the example above will create a total of 4 thumbnails at widths of 200, 333, 467 and 600 pixels.
234+
When you specifiy a range, ImageSet will calculate the intermediate sizes automatically. By default, the plugin will generate 2 intermediate sizes, so the example above will create a total of 4 thumbnails at widths of 200, 333, 467 and 600 pixels.
237235

238236
```php
239237
echo $image->imageset('200-600,3');
@@ -467,7 +465,7 @@ If you do so, every image tag without the size attribute will be resized accordi
467465

468466
## 6 Plain Output for RSS Feeds
469467

470-
If your site generates RSS-feeds, including full-blown image sets into the markup might not work with most RSS readers due to their lack of JavaScript and CSS support. You can force ImageKit to generate plain, RSS/XHTML-compatible markup by setting the `output` option.
468+
If your site generates RSS-feeds, including full-blown image sets into the markup might not work with most RSS readers due to their lack of JavaScript and CSS support. You can force ImageSet to generate plain, RSS/XHTML-compatible markup by setting the `output` option.
471469

472470
```php
473471
# site/templates/feed.rss.php
@@ -556,9 +554,9 @@ window.lazySizesConfig.preloadAfterLoad = true;
556554

557555
## 10 License
558556

559-
ImageKit can be evaluated as long as you want on how many private servers you want. To deploy ImageKit on any public server, you need to buy a license. See `license.md` for terms and conditions.
557+
ImageSet can be evaluated as long as you want on how many private servers you want. To deploy ImageSet on any public server, you need to buy a license. See `license.md` for terms and conditions.
560558

561-
<table><tr><td>🚧 <em>Licenses will be evailable, once version 1.0.0 final has been released.</em></td></tr></table>
559+
[<img src="https://img.shields.io/badge/%E2%80%BA-Buy%20a%20license-green.svg" alt="Buy a license">](http://sites.fastspring.com/fabianmichael/product/imageset). The plugin is also available as a [bundle](http://sites.fastspring.com/fabianmichael/product/imgbundle1) with [ImageKit](https://github.com/fabianmichael/kirby-imagekit), a plugin for bringing responsive images with superpowers to you Kirby-driven site.
562560

563561
However, even with a valid license code, it is discouraged to use it in any project, that promotes racism, sexism, homophobia, animal abuse or any other form of hate-speech.
564562

0 commit comments

Comments
 (0)