Get cover art from mp3 files via PHP and show it

So, I am creating a podcast site, I would like to be able to download songs and create a cover next to the play button. I have jPlayer setup and the music part is done, but how can I use - preferably PHP, but if not, javascript or jQuery - to grab the cover art embedded in the mp3 file and show it?

Thank!

+5
source share
1 answer

The album cover is a data frame designated as an β€œattached image” due to the ID3v2 specification, and getID3 () is now just one way to write all possible data frames to ID3v2 with pure PHP.

: http://getid3.sourceforge.net/source/write.id3v2.phps

:

// 4.14  APIC Attached picture

, .

, , , , PHP, , PHP script. , , .

( ) PHP exec() . eyeD3.

+2

All Articles