Frame on 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!
einmaku
Posts: 38
Joined: 26 Sep 2019, 13:29

Frame on images?

Post by einmaku » 08 Jan 2020, 07:36

Hi
We have an issue with the images displayed: The images in product overview and also on the product detail page have a black frame on the right and on the bottom side. How to get rid of them? We did not find out.
I add screenshot of both:
Attachments
overview.JPG
overview.JPG (138.25 KiB) Viewed 1952 times

boettner
Advanced
Posts: 136
Joined: 09 Feb 2015, 17:49

Re: Frame on images?

Post by boettner » 08 Jan 2020, 07:46

Hi

thats most likely because of the use of GD. With \Aimeos\MW\Media\Image\Imagick that should not be the case.

Config:

Code: Select all

controller.common.media.standard.options.image {
    name = Imagick
    quality = 80
}
The PHP Imagick module has to be available though.

einmaku
Posts: 38
Joined: 26 Sep 2019, 13:29

Re: Frame on images?

Post by einmaku » 09 Jan 2020, 07:31

what means GD ?

boettner
Advanced
Posts: 136
Joined: 09 Feb 2015, 17:49

Re: Frame on images?

Post by boettner » 09 Jan 2020, 07:46

GD is library for server side image manipulation and is compiled into PHP. It´s also a PHP module like imagick but is most likely the cause for the borders on your images.

If php-imagick is not available php-gd is used as this is available in almost any OS distribution. The availability of php-imagick depends on your hoster. Ask them if it´s available or possible to add into your environment.

If it´s already available you should be able to solve your issue with the configuration offered above.

You can check your PHP configuration with a PHP file with this content:

Code: Select all

<?php
phpinfo();
Save it as info.php to the root of your website and simply call it via https://yourdomain.com/info.php (replace yourdomain.com with your actual domain name)

You can search for imagick in the returned content to check if the module is already installed.

Post Reply