Frame on images?
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!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Frame on images?
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:
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 (138.25 KiB) Viewed 1982 times
Re: Frame on images?
Hi
thats most likely because of the use of GD. With \Aimeos\MW\Media\Image\Imagick that should not be the case.
Config:
The PHP Imagick module has to be available though.
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
}
Re: Frame on images?
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:
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.
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();
You can search for imagick in the returned content to check if the module is already installed.