If you want to take advantage of the automatic extraction of a covr art image from your audio files and its subsequent association with the audio file it was extractd from, there are two pre-requisites that your configuration must meet.
imagick PHP extension
Your PHP configuration should include the imagick
extension. This extension is generally already pre-installed
by most of web hosting providers. In some cases, the
extension might not be active by default and you need to
activate it.
First of all, you want to determine whether imagick
is active on your server or not. You can do that by creating
a new .php file in the root of your website
and including the following function:
<?php
phpinfo();
?>
If imagick is not active, you can activate it by creating a
php.ini in the root of your website.
The php.ini is going to be added to the
default one used by your server. For that reason, it can
simply contain the directives that you want to add to your
default PHP configuration.
If activating the imagick extension is the only change
you want to add to your default PHP configuration, the
php.ini file in the root of your website
can simply contain the following line:
extension=imagick.so