!
Hubzilla Support Forum Hi,
after upgrading Hubzilla to 4.6, photo uploads are no longer working - both at my test hub as well as my public hub:
When I try to attach a photo via Attach/Upload file, the file it self is uploaded just fine (you can see it in the files app), however, it's not usuable as a photo/image. Older images (via embed existing...) are fine, the latest upload is just not visible.
Using my test hub and activtating the, I discovered the following problem:
2019-12-04T15:23:03Z:LOG_INFO:6a1057c514:attach.php:1640:find_folder_hash_by_attach_hash: attach_hash: ef18d002-9bf7-441e-958c-88e199ace122
2019-12-04T15:23:03Z:LOG_INFO:6a1057c514:PhotoImagick.php:37:load: Imagick readImageBlob() exception:ImagickException Object
(
[message:protected] => no decode delegate for this image format `PNG' @ error/blob.c/BlobToImage/458
[string:Exception:private] =>
[code:protected] => 420
[file:protected] => /var/www/hub.midworld.de/htdocs/hubzilla/Zotlabs/Photo/PhotoImagick.php
[line:protected] => 35
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/hub.midworld.de/htdocs/hubzilla/Zotlabs/Photo/PhotoImagick.php
[line] => 35
[function] => readimageblob
[class] => Imagick
[type] => ->
Yet imagemagick is able to read png:
convert --version
Version: ImageMagick 7.0.9-7 Q16 x86_64 2019-12-03 https://imagemagick.org
Copyright: © 1999-2020 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC Modules
Delegates (built-in): bzlib cairo freetype jng jpeg ltdl png rsvg tiff zlib
Using convert (as test: convert Screenshot_20190129_141221.png test.jpg) works fine on the CLI.
Any ideas?