From c6a70e42c52d7b731b1b093f0a5a0aba9e5599f2 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Wed, 16 Dec 2015 19:14:09 +0000 Subject: [PATCH] Currect the image preview urls. Fixes 48. --- build/index.php | 4 ++-- module_index.json | 2 +- modules/feature-upload.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/index.php b/build/index.php index 55611c3..967bbdb 100644 --- a/build/index.php +++ b/build/index.php @@ -2240,14 +2240,14 @@ register_module([ $mime_type = $pageindex->{$env->page}->uploadedfilemime; $dimensions = getimagesize($env->storage_prefix . $filepath); - $preview_sizes = [ 256, 512, 768, 1024, 1536 ]; + $preview_sizes = [ 256, 512, 768, 1024, 1440 ]; $preview_html = "

File Information

diff --git a/module_index.json b/module_index.json index 03cb556..367ca6d 100644 --- a/module_index.json +++ b/module_index.json @@ -59,7 +59,7 @@ "author": "Starbeamrainbowlabs", "description": "Adds the ability to upload files to Pepperminty Wiki. Uploaded files act as pages and have the special 'File:' prefix.", "id": "feature-upload", - "lastupdate": 1447053880, + "lastupdate": 1450293208, "optional": false }, { diff --git a/modules/feature-upload.php b/modules/feature-upload.php index b685831..0d804ae 100644 --- a/modules/feature-upload.php +++ b/modules/feature-upload.php @@ -235,14 +235,14 @@ register_module([ $mime_type = $pageindex->{$env->page}->uploadedfilemime; $dimensions = getimagesize($env->storage_prefix . $filepath); - $preview_sizes = [ 256, 512, 768, 1024, 1536 ]; + $preview_sizes = [ 256, 512, 768, 1024, 1440 ]; $preview_html = "

File Information