02-11-2021, 08:55 PM
The cover art code in moOde can extract a single embedded over, the first one it finds in the file, or it can use a cover file if it finds one in the album directory. The file names it looks for are below.
If it can't find any of those files then it looks for any file with the following extensions.
Code:
$covers = array(
'Cover.jpg', 'cover.jpg', 'Cover.jpeg', 'cover.jpeg', 'Cover.png', 'cover.png', 'Cover.tif', 'cover.tif', 'Cover.tiff', 'cover.tiff',
'Folder.jpg', 'folder.jpg', 'Folder.jpeg', 'folder.jpeg', 'Folder.png', 'folder.png', 'Folder.tif', 'folder.tif', 'Folder.tiff', 'folder.tiff'
);
If it can't find any of those files then it looks for any file with the following extensions.
Code:
$extensions = array('jpg', 'jpeg', 'png', 'tif', 'tiff');