You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: changelog.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,16 @@
1
1
# ImageSet Changelog
2
2
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)
4
7
-**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.
5
8
-**CSS:** Fix collisions with responsive image rules from inuit.css (and possibly other frameworks).
6
9
-**Fix some errors in Opera Mini** regarding distorted images and JavaScript errors.
7
10
-**Improved noscript-fallback:** Removed `noscript.priority`, because due to better CSS positioning of the placeholder, it is not needed any more.
8
11
-**SASS:** Adjusted SASS file by removing nested selectors for better readibility.
9
12
10
-
-`1.0.0-beta2`
13
+
-`1.0.0-beta2` (2017/01/27)
11
14
-**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.
12
15
-**Improved Transparency Detection** now also works for 8-bit palette GIF or PNG images.
13
16
-**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.
Copy file name to clipboardExpand all lines: readme.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,6 @@ A flexible, responsive image component for [Kirby CMS](http://getkirby.com), fea
10
10
11
11
**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.
12
12
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
-
15
13

16
14
17
15
***
@@ -167,7 +165,7 @@ The settings listed below are meant to be defined in your `config.php` and chang
167
165
168
166
| Option | Default value | Possible values | Description |
|`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>[<imgsrc="https://img.shields.io/badge/%E2%80%BA-Buy%20a%20license-green.svg"alt="Buy a license">](http://sites.fastspring.com/fabianmichael/product/imageset)* |
171
169
|`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.*|
172
170
|`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. |
173
171
|`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
216
214
217
215
#### 4.2.1 Single Aspect-Ratio
218
216
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.
220
218
221
219
**List of widths**
222
220
@@ -233,7 +231,7 @@ This will generate 3 thumbnails with a width of 200, 400 and 600 pixels. You can
233
231
echo $image->imageset('200-600');
234
232
```
235
233
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.
237
235
238
236
```php
239
237
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
467
465
468
466
## 6 Plain Output for RSS Feeds
469
467
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.
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.
560
558
561
-
<table><tr><td>🚧 <em>Licenses will be evailable, once version 1.0.0 final has been released.</em></td></tr></table>
559
+
[<imgsrc="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.
562
560
563
561
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.
0 commit comments