Fix cover zoom in HTML catalog

This commit is contained in:
Sébastien Lucas 2012-07-21 14:45:17 +02:00
parent 4e87bf7804
commit 9b94da72ac

View file

@ -94,7 +94,8 @@ class Data extends Base {
if (preg_match ('/^\//', $config['calibre_directory']))
{
return new Link ("fetch.php?id=$book->id" . $textData . "&type=" . $type, $mime, $rel, $title);
if ($type != "jpg") $textData .= "&type=" . $type;
return new Link ("fetch.php?id=$book->id" . $textData, $mime, $rel, $title);
}
else
{