• Resolved vishalflora

    (@vishalflora)


    Hello,
    This plugin works fine but when it crops the image the quality of image little blurry,

    is there a way to keep quality of image same or increase quality in plugin code file?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    The plugin only uses the wordpress internal image quality, which itself is dependent on your server settings.

    In short to change image compression use the following code:

    `
    add_filter(‘jpeg_quality’, ‘jpeg_quality_callback’);
    function jpeg_quality_callback($arg) {
    return (int)95;
    }
    `

    Thread Starter vishalflora

    (@vishalflora)

    Hello Volkmar,

    Thanks for the response,

    So how does it process crops via vue.js or PHP?

    Few crops when I see on mobile they look blurry then the actual big version of the image, any reason? or any way to improve them?

    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    Thats may be your browser – try “open image in new tab” – is it still blurry?

    Hi Volkmar,

    I am facing the same issue.

    While the uncropped images are rendering sharp and clear even in bigger sizes, after using the plugin to crop images into smaller square sizes for thumbnails on desktop and mobile, the crop looks extremely blurry.

    Can you please help?

    Thanks,
    – Shefali.

    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    Please provide a link to the original and the cropped image.

    mrkoq

    (@mrkoq)

    Hey, i have the same problem.

    Link: https://mhmodelmanagement.com/test/

    They Pictures are cropped via the plugin, the Gallerys picture preview output is set to the same size / ratio and they display correctly, but the image quality is bad.

    any way to improve it ?

    Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    @mrkoq
    On that page you crop the images to a width of 267px but render them on a size of 349px. So your theme essentialy scale them up – no wonder they are blurry.

    Here is a link to the cropped image: https://mhmodelmanagement.com/wp-content/uploads/2019/11/aa-267×400.jpg – is this still blurry?

    mrkoq

    (@mrkoq)

    Hm, it looks weird. I have to
    Double check because the picture size to be displayed is set to 267×400 inside that gallery grid, but you are right its being upscaled. I might need to select a different crop
    Size

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Image quality’ is closed to new replies.