Change the way images are shown. re #77
Jpeg quality is lowered but resolution is two times higher. The image is then reduced with CSS. The default value is changed.
This commit is contained in:
parent
2d0449e1d2
commit
e840d4cf70
5 changed files with 38 additions and 14 deletions
2
book.php
2
book.php
|
@ -144,7 +144,7 @@ class Book extends Base {
|
|||
$out = $this->getContentArray ();
|
||||
|
||||
$out ["coverurl"] = Data::getLink ($this, "jpg", "image/jpeg", Link::OPDS_IMAGE_TYPE, "cover.jpg", NULL)->hrefXhtml ();
|
||||
$out ["thumbnailurl"] = Data::getLink ($this, "jpg", "image/jpeg", Link::OPDS_THUMBNAIL_TYPE, "cover.jpg", NULL, NULL, 150)->hrefXhtml ();
|
||||
$out ["thumbnailurl"] = Data::getLink ($this, "jpg", "image/jpeg", Link::OPDS_THUMBNAIL_TYPE, "cover.jpg", NULL, NULL, $config['cops_html_thumbnail_height'] * 2)->hrefXhtml ();
|
||||
$out ["content"] = $this->getComment (false);
|
||||
$out ["datas"] = array ();
|
||||
$dataKindle = $this->GetMostInterestingDataToSendToKindle ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue