[Koha] Images quality reduction
Coehoorn, Joel
jcoehoorn at york.edu
Thu Jul 25 05:14:07 NZST 2024
In my experience, the reduction process in koha works fine and gives
results that are appropriate for the display size (important on the web,
especially when poeple may download these images over mobile data)...
... as long as the original is in the correct aspect ratio. If the original
ratio is off relative to the display area in koha, the result may end up
stretched or skewed at the new lower quality, and that can look kinda bad.
*Joel Coehoorn*
Director of Information Technology
*York University*
Office: 402-363-5603 | jcoehoorn at york.edu | york.edu
On Wed, Jul 24, 2024 at 10:48 AM Fridolin SOMERS <
fridolin.somers at biblibre.com> wrote:
> 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
> _______________________________________________
>
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>
More information about the Koha
mailing list