1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-14 01:54:46 +02:00

Version 1.4.0

This commit is contained in:
trendschau
2020-10-03 21:28:20 +02:00
parent 5a0ad33e19
commit c1c40924db
91 changed files with 2420 additions and 1146 deletions

View File

@@ -38,7 +38,7 @@ class Assets
$resize = '-';
if(ctype_digit($width) && $width < 10000)
if(is_int($width) && $width < 10000)
{
$resize .= $width;
$desiredSizes['custom']['width'] = $width;
@@ -46,7 +46,7 @@ class Assets
$resize .= 'x';
if(ctype_digit($height) && $height < 10000)
if(is_int($height) && $height < 10000)
{
$resize .= $height;
$desiredSizes['custom']['height'] = $height;
@@ -125,7 +125,7 @@ class Assets
public function src()
{
return $this->imageUrl;
return $this->baseUrl . '/' . $this->imageUrl;
}
public function addCSS($CSS)