You need to make a mysql-script that would get covers (for example last added) from your database and then a php-script that woud show them in a way you need. But actually that would be one big mysql+php script
And now I’ve got the same problem with styling. I can’t actually add the button correctly. Where I can see a result reader.php and body_page.php? I didn’t understood where exactly to put list($width, $height, $type, $attr) = getimagesize($theimage);