From 5bb455e7ac4eeee26c65cbae3c161d6d18694ba5 Mon Sep 17 00:00:00 2001 From: trendschau Date: Wed, 21 Jul 2021 21:21:43 +0200 Subject: [PATCH] Version 1.4.7: Fixes noresize for images --- content/index.md | 2 +- system/Models/ProcessAssets.php | 4 ++-- system/author/css/style.css | 6 ------ system/author/js/vue-blox.js | 2 +- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/content/index.md b/content/index.md index 2decae3..90ad5cd 100644 --- a/content/index.md +++ b/content/index.md @@ -2,5 +2,5 @@ The open-source flat-file cms for text-driven websites. Create handbooks, documentations, manuals, web-novels, traditional websites, and more. -![](media/live/youtube-6i2-uv88gke.jpeg){.center} +![youtube-video](media/live/youtube-6i2-uv88gke.jpeg "click to load video"){#6i2-uv88gke .youtube} diff --git a/system/Models/ProcessAssets.php b/system/Models/ProcessAssets.php index 466a13f..631d7c2 100644 --- a/system/Models/ProcessAssets.php +++ b/system/Models/ProcessAssets.php @@ -31,6 +31,8 @@ class ProcessAssets public function __construct($desiredSizes = NULL) { + ini_set('memory_limit', '512M'); + $this->baseFolder = getcwd() . DIRECTORY_SEPARATOR; $this->mediaFolder = $this->baseFolder . 'media' . DIRECTORY_SEPARATOR; @@ -48,8 +50,6 @@ class ProcessAssets $this->fileFolder = $this->mediaFolder . 'files' . DIRECTORY_SEPARATOR; $this->desiredSizes = $desiredSizes; - - ini_set('memory_limit', '1024M'); } public function checkFolders($forassets = null) diff --git a/system/author/css/style.css b/system/author/css/style.css index cc1b725..2be886d 100644 --- a/system/author/css/style.css +++ b/system/author/css/style.css @@ -1594,12 +1594,6 @@ select{ padding-left: 0; font-size: .9em; } -.control-group.imgcheckmark input{ - width: 0; - margin: 0; - left: 100%; - z-index: 9; -} .imgcheckmark .checkmark{ left: 100%; } diff --git a/system/author/js/vue-blox.js b/system/author/js/vue-blox.js index 66729d4..ad73202 100644 --- a/system/author/js/vue-blox.js +++ b/system/author/js/vue-blox.js @@ -1463,7 +1463,7 @@ const imageComponent = Vue.component('image-component', { '' + '' + '' + - '' + + '' + '' + '', data: function(){