Skip to content

Commit

Permalink
Update for Txp 4.7.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloke committed Jun 26, 2019
1 parent 5352a06 commit c70f99d
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 9 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.textile
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
h1. Changelog

h2. 0.4.0 - UPCOMING
h2. 0.5.0 - 2019-06-26

* For Textpattern 4.7.0+.
* Added @description@ field.
* Fall back on fullsize image if thumb doesn't exist.
* Try to create profile directories with the same permissions as the
images directory.
* Fix greedy thumb profile panel gobbling list options (thanks, phiw13).
* Fix toggle state recall (thanks, phiw13).
* Fix undefined variable warnings (thanks, philwareham).
* Fix search_method array-to-string conversion warning.
* Fix errors if tables not created when no images are in the database.
* Update documentation and code consistency (thanks, philwareham)

h2. 0.4.0 - 2017-07-18

* Added Composer/Packagist support.
* Removed SWF support.
* Tidied layout for 4.6/4.7 (thanks, philwareham)
Expand Down
2 changes: 1 addition & 1 deletion README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ h2. Features

h2. Installing

*Requires Textpattern 4.6.0+*
*Requires Textpattern 4.7.0+*

Download the plugin from either "GitHub":https://github.com/Bloke/smd_thumbnail/releases, or the "software page":https://stefdawson.com/sw/plugins/smd_thumbnail, paste the code into the Plugins administration panel, install and enable the plugin. Visit the "forum thread":https://forum.textpattern.io/viewtopic.php?id=34367 for more info or to report on the success or otherwise of the plugin.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"source": "https://github.com/bloke/smd_thumbnail"
},
"require": {
"textpattern/lock": ">=4.6.0",
"textpattern/lock": ">=4.7.0",
"textpattern/installer": "*"
}
}
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "smd_thumbnail",
"description": "Multiple image thumbnails of arbitrary dimensions",
"version": "0.4.0",
"version": "0.5.0",
"type": 5,
"author": "Stef Dawson",
"author_uri": "https://stefdawson.com/",
Expand Down
11 changes: 6 additions & 5 deletions smd_thumbnail.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// 1 = Plugin help is in raw HTML. Not recommended.
# $plugin['allow_html_help'] = 1;

$plugin['version'] = '0.4.0';
$plugin['version'] = '0.5.0';
$plugin['author'] = 'Stef Dawson';
$plugin['author_uri'] = 'https://stefdawson.com/';
$plugin['description'] = 'Multiple image thumbnails of arbitrary dimensions';
Expand Down Expand Up @@ -56,6 +56,7 @@

$plugin['textpack'] = <<<EOT
#@smd_thumb
#@language en, en-gb, en-us
smd_thumb_actions => Actions
smd_thumb_all_sizes => All sizes
smd_thumb_all_thumbs => Create
Expand All @@ -69,9 +70,9 @@
smd_thumb_create_group_confirm => Really create thumbnails for ALL active profiles? Any existing thumbs will be overwritten.
smd_thumb_delete => Deletion
smd_thumb_delete_confirm => Really delete profile {name}? It will delete ALL thumbnails of this type.
smd_thumb_image => Image =
smd_thumb_image => Image =
smd_thumb_new => New profile
smd_thumb_profile => Profile =
smd_thumb_profile => Profile =
smd_thumb_profile_deleted => Profile <strong>{name}</strong> deleted
smd_thumb_profile_exists => Profile <strong>{name}</strong> already exists
smd_thumb_profile_heading => Thumbnail profiles
Expand All @@ -87,7 +88,7 @@
smd_thumb_txp_default_sync => Keep thumbnails in sync with default profile on:
smd_thumb_upload => Replace selected thumbnail
#@smd_thumb
#@language fr-fr
#@language fr
smd_thumb_actions => Actions
smd_thumb_all_sizes => Toutes les tailles
smd_thumb_all_thumbs => Créer
Expand Down Expand Up @@ -1939,7 +1940,7 @@ function smd_thumbnail_info($atts, $thing = NULL)

h2(#install). Installing

*Requires Textpattern 4.6.0+*
*Requires Textpattern 4.7.0+*

Download the plugin from either "GitHub":https://github.com/Bloke/smd_thumbnail/releases, or the "software page":https://stefdawson.com/sw/plugins/smd_thumbnail, paste the code into the Plugins administration panel, install and enable the plugin. Visit the "forum thread":https://forum.textpattern.io/viewtopic.php?id=34367 for more info or to report on the success or otherwise of the plugin.

Expand Down

0 comments on commit c70f99d

Please sign in to comment.