[Koha] Images quality reduction

Fridolin SOMERS fridolin.somers at biblibre.com
Thu Jul 25 03:29:29 NZST 2024


Hi,

Cover images are reduced with uploaded in Koha.
See this code :

https://git.koha-community.org/Koha-community/Koha/src/commit/9d6d641d1f8b77271800f43bc027b651f9aea52b/Koha/CoverImage.pm#L64

Best regards

Le 23/07/2024 à 13:33, Russel G. P. Shihepo a écrit :
> Dear Community
> 
> Whenever I upload a local cover image, the quality of the image gets
> reduced by Koha. This happens when you try to preview a record cover image
> or cover image in a large view by clicking on it either on OPAC or the
> Staff interface.
> 
> For example if the original image is 300dpi, the quality is reduced and
> renders content too blurry to see any details in the photo.
> 
> Is there a possible way to change parameters in order to increase the image
> quality for both OPAC and Staff interfaces ? Make all the cover pictures
> 300 dpi for instance?
> 
> I tried with no avail with some CSS tags:
> .cover-image img
> .chocolat-image-wrapper .chocolat-img
> 
> Regards,
> Russel Shihepo
> _______________________________________________
> 
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

-- 
Fridolin SOMERS <fridolin.somers at biblibre.com>
Software and system maintainer 🦄
BibLibre, France


More information about the Koha mailing list