Fix cover zoom in HTML catalog
This commit is contained in:
parent
4e87bf7804
commit
9b94da72ac
3
data.php
3
data.php
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue