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:
Sébastien Lucas 2013-07-04 22:37:27 +02:00
parent 2d0449e1d2
commit e840d4cf70
5 changed files with 38 additions and 14 deletions

View file

@ -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 ();