summaryrefslogtreecommitdiff
path: root/includes/assets.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-03-03 07:04:02 +0100
committerMinteck <contact@minteck.org>2023-03-03 07:04:02 +0100
commit29928887e733f3bc2c2baaf06dafd495a006753b (patch)
tree90f5fa4c5273f201cc2d26086298ad094d9dadda /includes/assets.inc
parent3d77712a9ab014635c75a33ea0f491bbda6aead3 (diff)
downloadpluralconnect-29928887e733f3bc2c2baaf06dafd495a006753b.tar.gz
pluralconnect-29928887e733f3bc2c2baaf06dafd495a006753b.tar.bz2
pluralconnect-29928887e733f3bc2c2baaf06dafd495a006753b.zip
Updated 18 files and added 10 files (automated)
Diffstat (limited to 'includes/assets.inc')
-rw-r--r--includes/assets.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/assets.inc b/includes/assets.inc
index b64c821..3f2d652 100644
--- a/includes/assets.inc
+++ b/includes/assets.inc
@@ -68,12 +68,12 @@ function downloadAssets($system, $path = null) {
} else {
$url = "../assets/uploads/pt.png";
}
- echo(" /heads/$id.webp\n");
- exec("convert -resize 64x64 \"" . $url . "\" ../assets/heads/" . $id . ".webp");
+ echo(" /heads/$id.png\n");
+ exec("convert \"" . $url . "\" ../assets/heads/" . $id . ".png");
if (file_exists("../assets/ponies/" . $member["id"] . ".png")) {
- echo(" /bodies/$id.webp\n");
- exec("convert -resize 128x128 \"" . "../assets/ponies/" . $member["id"] . ".png" . "\" ../assets/bodies/" . $id . ".webp");
+ echo(" /bodies/$id.png\n");
+ exec("convert \"" . "../assets/ponies/" . $member["id"] . ".png" . "\" ../assets/bodies/" . $id . ".png");
}
}
}