summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-08-15 16:32:18 +0300
committerAndrew Dolgov <[email protected]>2019-08-15 16:32:18 +0300
commit1937049b8e51b49e5e2665eab779454480e3b70b (patch)
tree9058f31a9c7dba60074e15c9e01111b513fd472b
parent84e9420ad1b14c5bdf26b4fe9b374aa8f0933ff9 (diff)
af_api_resize -> api_resize_media
-rw-r--r--README.md2
-rw-r--r--init.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2dc529b..1a34506 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ Images are saved in a WEBP format.
Plugin assumes your tt-rss image cache (``cache/images``) is writable
and GD library is available to PHP.
-1. git clone to ``plugins.local/af_api_resize`` and enable the plugin (preferences - plugins)
+1. git clone to ``plugins.local/api_resize_media`` and enable the plugin (preferences - plugins)
2. Enable "downsample images" option in the API client (for example, tt-rss-android)
## License
diff --git a/init.php b/init.php
index e04e88d..38b0785 100644
--- a/init.php
+++ b/init.php
@@ -1,5 +1,5 @@
<?php
-class Af_Api_Resize extends Plugin {
+class Api_Resize_Media extends Plugin {
const MAX_WIDTH = 1024;