Problems with loading product images

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
stiller
Posts: 83
Joined: 05 Mar 2016, 15:59

Problems with loading product images

Post by stiller » 08 Dec 2018, 14:21

hi there,

when trying to upload a product image I'm receiving the following error.
NoDecodeDelegateForThisImageFormat `JPEG' @ error/blob.c/BlobToImage/351, /html/typo3/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/lib/mwlib/src/MW/Media/Image/Imagick.php:49

GFX/processor is ImageMagick
All TYPO3 image tests work fine

I migrated the system to a different server but did adapt all necessary paths correctly.

TYPO3 8.7.18
Aimeos 18.10.2

any clues?
cheers

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Problems with loading product images

Post by aimeos » 10 Dec 2018, 19:45

Maybe that leads you to the source of the problem:
https://stackoverflow.com/questions/375 ... e#46540703

TYPO3 uses the "convert" CLI tool while Aimeos relies on the Imagick PHP integration, so probably the php imagick extension is missing.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

stiller
Posts: 83
Joined: 05 Mar 2016, 15:59

Re: Problems with loading product images

Post by stiller » 12 Dec 2018, 00:53

Imagemagick is installed.
convert -list format returns that jpg is read- and writeable.
do I have to tell Aimeos where to look for the Imagemagick installation?
as said. we did transfer the system to another environment.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Problems with loading product images

Post by aimeos » 12 Dec 2018, 09:25

Can you check

Code: Select all

php -m
or have a look into

Code: Select all

phpinfo();
if the PHP "imagick" module is installed?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

stiller
Posts: 83
Joined: 05 Mar 2016, 15:59

Re: Problems with imagick

Post by stiller » 04 Jan 2019, 13:52

well you were right. it is not.
the TYPO3 Hoster Mittwald is not offering the "imagick" module together with PHP FPM.
we would need to install PHP CGI but then we can't use APCu Caching.
is there a particular reason aimeos is not using the imagemagick software?

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Problems with loading product images

Post by aimeos » 07 Jan 2019, 12:29

A library is much simpler to use in terms of error handling than a binary. You should ask your hoster to install the PHP imagick library as well if they already has the ImageMagick binary installed.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

stiller
Posts: 83
Joined: 05 Mar 2016, 15:59

Re: Problems with imagick

Post by stiller » 17 Jan 2019, 22:10

well
I did ask them but they can't provide imagick together with PHP FPM 7.x
Mittwald is the number one business typo3 hoster und usually has a pretty cooperative support

Post Reply